<?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 Re: Got No such file or directory error while serving the endpoint in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/got-no-such-file-or-directory-error-while-serving-the-endpoint/m-p/133515#M10766</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/188152"&gt;@sevin91580&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Actually, the thing is, I know the exact issue, I have been trying for the past 3 days, but unable to solve it.&lt;/P&gt;&lt;P&gt;I’m following one of the popular course on YouTube, “MLOps with Databricks” (&lt;A href="https://www.youtube.com/watch?v=Rt8qtjskuSs&amp;amp;t=754s" target="_blank"&gt;https://www.youtube.com/watch?v=Rt8qtjskuSs&amp;amp;t=754s&lt;/A&gt;&lt;BR /&gt;).&lt;BR /&gt;Currently, I’m on Lecture 6. I haven’t modified any part of the code that the instructors uploaded to their GitHub. In the tutorial, they were able to successfully serve the endpoint, but with the exact same code, I’m encountering a directory issue, which is quite strange.&lt;/P&gt;&lt;P&gt;To give you a quick recap, I’ve consolidated the code into a single file for clarity. Using the Iris dataset as an example, I first create a basic model with the scikit-learn flavor. Then, I create a PyFunc wrapper from the registered model and, finally, attempt to serve the wrapper model as an endpoint.&lt;BR /&gt;&lt;A href="https://github.com/musabanees/marvel-characters_mlops/blob/main/notebooks/demo_project.py" target="_blank"&gt;https://github.com/musabanees/marvel-characters_mlops/blob/main/notebooks/demo_project.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I would appreciate it if you look at this.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Oct 2025 02:38:17 GMT</pubDate>
    <dc:creator>masab019</dc:creator>
    <dc:date>2025-10-02T02:38:17Z</dc:date>
    <item>
      <title>Got No such file or directory error while serving the endpoint</title>
      <link>https://community.databricks.com/t5/get-started-discussions/got-no-such-file-or-directory-error-while-serving-the-endpoint/m-p/133411#M10760</link>
      <description>&lt;P&gt;Hello Everyone!&lt;/P&gt;&lt;P&gt;I'm using Databricks for my MLOps learning, and I'm following the tutorial, and I got an error while serving the endpoint. I need help in this.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Problem Overview:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I have created a basic LightGBM model and logged it in the Unity Catalog. Then, I created a custom PyFunc wrapper for the model. Now, I need to serve an endpoint for my PyFunc wrapper model, which in this case is my custom model.&lt;/P&gt;&lt;P&gt;Unfortunately, I’m encountering the following error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OSError: No such file or directory: '/model/artifacts'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need help resolving this issue. I have double-checked everything, including the artifacts, and everything seems normal to me.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code Files&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/musabanees/marvel-characters_mlops/blob/main/notebooks/lecture6.deploy_model_serving_endpoint.py" target="_blank"&gt;https://github.com/musabanees/marvel-characters_mlops/blob/main/notebooks/lecture6.deploy_model_serving_endpoint.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/musabanees/marvel-characters_mlops/blob/main/src/marvel_characters/serving/model_serving.py" target="_blank"&gt;https://github.com/musabanees/marvel-characters_mlops/blob/main/src/marvel_characters/serving/model_serving.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 22:47:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/got-no-such-file-or-directory-error-while-serving-the-endpoint/m-p/133411#M10760</guid>
      <dc:creator>masab019</dc:creator>
      <dc:date>2025-09-30T22:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Got No such file or directory error while serving the endpoint</title>
      <link>https://community.databricks.com/t5/get-started-discussions/got-no-such-file-or-directory-error-while-serving-the-endpoint/m-p/133425#M10764</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;The error OSError: No such file or directory: '/model/artifacts' usually means your PyFunc model is missing required files during deployment. Make sure you’ve logged the model correctly with all necessary artifacts, and that your custom wrapper references them properly. If using Unity Catalog, verify the model URI and version are accurate. You may need to re-log the model with explicit artifact paths using mlflow.pyfunc.log_model() to ensure everything is included.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 09:54:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/got-no-such-file-or-directory-error-while-serving-the-endpoint/m-p/133425#M10764</guid>
      <dc:creator>sevin91580</dc:creator>
      <dc:date>2025-10-01T09:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Got No such file or directory error while serving the endpoint</title>
      <link>https://community.databricks.com/t5/get-started-discussions/got-no-such-file-or-directory-error-while-serving-the-endpoint/m-p/133515#M10766</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/188152"&gt;@sevin91580&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Actually, the thing is, I know the exact issue, I have been trying for the past 3 days, but unable to solve it.&lt;/P&gt;&lt;P&gt;I’m following one of the popular course on YouTube, “MLOps with Databricks” (&lt;A href="https://www.youtube.com/watch?v=Rt8qtjskuSs&amp;amp;t=754s" target="_blank"&gt;https://www.youtube.com/watch?v=Rt8qtjskuSs&amp;amp;t=754s&lt;/A&gt;&lt;BR /&gt;).&lt;BR /&gt;Currently, I’m on Lecture 6. I haven’t modified any part of the code that the instructors uploaded to their GitHub. In the tutorial, they were able to successfully serve the endpoint, but with the exact same code, I’m encountering a directory issue, which is quite strange.&lt;/P&gt;&lt;P&gt;To give you a quick recap, I’ve consolidated the code into a single file for clarity. Using the Iris dataset as an example, I first create a basic model with the scikit-learn flavor. Then, I create a PyFunc wrapper from the registered model and, finally, attempt to serve the wrapper model as an endpoint.&lt;BR /&gt;&lt;A href="https://github.com/musabanees/marvel-characters_mlops/blob/main/notebooks/demo_project.py" target="_blank"&gt;https://github.com/musabanees/marvel-characters_mlops/blob/main/notebooks/demo_project.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I would appreciate it if you look at this.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 02:38:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/got-no-such-file-or-directory-error-while-serving-the-endpoint/m-p/133515#M10766</guid>
      <dc:creator>masab019</dc:creator>
      <dc:date>2025-10-02T02:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Got No such file or directory error while serving the endpoint</title>
      <link>https://community.databricks.com/t5/get-started-discussions/got-no-such-file-or-directory-error-while-serving-the-endpoint/m-p/133516#M10767</link>
      <description>&lt;P&gt;&lt;SPAN&gt;To give you a quick recap, I’ve consolidated the code into a single file for clarity. Using the Iris dataset as an example, I first create a basic model with the scikit-learn flavor. Then, I create a PyFunc wrapper from the registered model and, finally, attempt to serve the wrapper model as an endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/musabanees/marvel-characters_mlops/blob/main/notebooks/demo_project.py" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/musabanees/marvel-characters_mlops/blob/main/notebooks/demo_project.py&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 02:39:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/got-no-such-file-or-directory-error-while-serving-the-endpoint/m-p/133516#M10767</guid>
      <dc:creator>masab019</dc:creator>
      <dc:date>2025-10-02T02:39:00Z</dc:date>
    </item>
  </channel>
</rss>

