<?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: Nested experiments and UC in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/nested-experiments-and-uc/m-p/136227#M4372</link>
    <description>&lt;P class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/64555"&gt;@Henrik_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;There are a few things that could be happening here, if you share the error message/stack trace you get when it doesn’t work, I can help figure out which of these could be biting you and tailor the fix.&lt;/P&gt;
&lt;P class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;In the meantime, here's a quick debug checklist:&lt;/P&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Print the exact run_id and artifact_path used to register the winner; confirm they point to the child run that logged that candidate.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Inspect the model’s signature in UC (Catalog Explorer → Model → Version → Signature) and ensure the input you pass at inference matches names and types. If missing, re-log with input_example or autologging.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;If you see module import errors at inference, install the recorded dependencies with mlflow.pyfunc.get_model_dependencies() before loading, or use env_manager="virtualenv" for Spark UDFs.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Confirm the client and code are pointed to UC (mlflow.set_registry_uri("databricks-uc")) and that you’re using the 3-level UC name when registering and loading.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="qt3gz91 paragraph"&gt;Could you paste the exact error text you see when calling predict, as well as how you’re building the model URI you register (the run_id and artifact_path)?&lt;/P&gt;</description>
    <pubDate>Mon, 27 Oct 2025 15:40:47 GMT</pubDate>
    <dc:creator>stbjelcevic</dc:creator>
    <dc:date>2025-10-27T15:40:47Z</dc:date>
    <item>
      <title>Nested experiments and UC</title>
      <link>https://community.databricks.com/t5/machine-learning/nested-experiments-and-uc/m-p/115718#M4024</link>
      <description>&lt;P&gt;Í have a general problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run a nested experiment in ML FLow, training and logging several models in a loop.&amp;nbsp; Then I want to register the best in UC. No problem so far. But when I load the model I register and run prediction it dosen't work.&amp;nbsp;If I only run one model, then everything works as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody have a hunch about why this is the case?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 06:59:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/nested-experiments-and-uc/m-p/115718#M4024</guid>
      <dc:creator>Henrik_</dc:creator>
      <dc:date>2025-04-17T06:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Nested experiments and UC</title>
      <link>https://community.databricks.com/t5/machine-learning/nested-experiments-and-uc/m-p/136227#M4372</link>
      <description>&lt;P class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/64555"&gt;@Henrik_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;There are a few things that could be happening here, if you share the error message/stack trace you get when it doesn’t work, I can help figure out which of these could be biting you and tailor the fix.&lt;/P&gt;
&lt;P class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;In the meantime, here's a quick debug checklist:&lt;/P&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Print the exact run_id and artifact_path used to register the winner; confirm they point to the child run that logged that candidate.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Inspect the model’s signature in UC (Catalog Explorer → Model → Version → Signature) and ensure the input you pass at inference matches names and types. If missing, re-log with input_example or autologging.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;If you see module import errors at inference, install the recorded dependencies with mlflow.pyfunc.get_model_dependencies() before loading, or use env_manager="virtualenv" for Spark UDFs.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Confirm the client and code are pointed to UC (mlflow.set_registry_uri("databricks-uc")) and that you’re using the 3-level UC name when registering and loading.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="qt3gz91 paragraph"&gt;Could you paste the exact error text you see when calling predict, as well as how you’re building the model URI you register (the run_id and artifact_path)?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 15:40:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/nested-experiments-and-uc/m-p/136227#M4372</guid>
      <dc:creator>stbjelcevic</dc:creator>
      <dc:date>2025-10-27T15:40:47Z</dc:date>
    </item>
  </channel>
</rss>

