<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error accessing file from dbfs inside mlflow serve endpoint in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/error-accessing-file-from-dbfs-inside-mlflow-serve-endpoint/m-p/56583#M9554</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have mlflow model served using serverless GPU which takes audio file name as input and then file will be passed as parameter to huggiung face model inside predict method. But I am getting following error&lt;/P&gt;&lt;P&gt;HFValidationError(\nhuggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/dbfs/tmp'. Use `repo_type` argument if needed.\n"}&lt;/P&gt;&lt;P&gt;Appreciate any help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jan 2024 13:29:56 GMT</pubDate>
    <dc:creator>sanjay</dc:creator>
    <dc:date>2024-01-07T13:29:56Z</dc:date>
    <item>
      <title>Error accessing file from dbfs inside mlflow serve endpoint</title>
      <link>https://community.databricks.com/t5/get-started-discussions/error-accessing-file-from-dbfs-inside-mlflow-serve-endpoint/m-p/56583#M9554</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have mlflow model served using serverless GPU which takes audio file name as input and then file will be passed as parameter to huggiung face model inside predict method. But I am getting following error&lt;/P&gt;&lt;P&gt;HFValidationError(\nhuggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/dbfs/tmp'. Use `repo_type` argument if needed.\n"}&lt;/P&gt;&lt;P&gt;Appreciate any help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2024 13:29:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/error-accessing-file-from-dbfs-inside-mlflow-serve-endpoint/m-p/56583#M9554</guid>
      <dc:creator>sanjay</dc:creator>
      <dc:date>2024-01-07T13:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing file from dbfs inside mlflow serve endpoint</title>
      <link>https://community.databricks.com/t5/get-started-discussions/error-accessing-file-from-dbfs-inside-mlflow-serve-endpoint/m-p/56720#M9557</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;for prompt response. I am able to load the model from Huggingface correctly. The issue is with loading input audio file which is stored in local directory in databrick dbfs. This error is coming only after creating serverless endpoint. Without serverless endpoint, I am able to load model from registry and read incoming audio file from same location and process it.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 06:56:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/error-accessing-file-from-dbfs-inside-mlflow-serve-endpoint/m-p/56720#M9557</guid>
      <dc:creator>sanjay</dc:creator>
      <dc:date>2024-01-09T06:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing file from dbfs inside mlflow serve endpoint</title>
      <link>https://community.databricks.com/t5/get-started-discussions/error-accessing-file-from-dbfs-inside-mlflow-serve-endpoint/m-p/106125#M9559</link>
      <description>&lt;P&gt;I have the same issue.&lt;BR /&gt;I have a large file that I cannot access from an MLFlow service.&lt;BR /&gt;Things I have tried (none of these work):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Read-only from DBFS&lt;UL&gt;&lt;LI&gt;`dbfs:/myfolder/myfile.chroma` does not work&lt;/LI&gt;&lt;LI&gt;`/dbfs/myfolder/myfile.chroma` does not work&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Read-only from Unity Catalog Volume&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;`/Volumes/mycatalog/mydb/myfolder/myfile.chroma` does not work&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Read-only from S3 storage&lt;UL&gt;&lt;LI&gt;`s3://mybucket/mydb/myfolder/myfile.chroma` does not work&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So far, the only thing that works is parking the huge file as MLFlow artifact and accessing it locally in the service (awful).&lt;BR /&gt;&lt;BR /&gt;The errors are all similar to:&lt;BR /&gt;&lt;BR /&gt;`ValueError: Dataset at path Volumes/non_prod/metrics/files/recommender/embed-db.chroma was not found`&lt;BR /&gt;&lt;BR /&gt;Notice that the path strips the leading `/` from `/Volumes/` and does the same with `s3://` protocol, etc.&lt;BR /&gt;&lt;BR /&gt;I can't use MLFlow endpoints without this very basic functionality.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 17:37:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/error-accessing-file-from-dbfs-inside-mlflow-serve-endpoint/m-p/106125#M9559</guid>
      <dc:creator>txti</dc:creator>
      <dc:date>2025-01-17T17:37:09Z</dc:date>
    </item>
  </channel>
</rss>

