<?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>article Unable to load the xgboost model after logging via mlflow. You get a &amp;quot;ModuleNotFoundError: No module named 'ml'&amp;quot; error message. in Support FAQs</title>
    <link>https://community.databricks.com/t5/support-faqs/unable-to-load-the-xgboost-model-after-logging-via-mlflow-you/ta-p/56719</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;When using MLflow to log a model, be aware of warnings like the one below:&lt;/P&gt;
&lt;PRE&gt;WARNING mlflow.utils.requirements_utils: The following packages were not found in the public PyPI package index as of 2022-12-21; if these packages are not present in the public PyPI index, you must install them manually before loading your model: {'spark-xgboost'}&lt;/PRE&gt;
&lt;P&gt;This warning indicates that if certain package artifacts, such as &lt;FONT face="courier new,courier"&gt;spark-xgboost&lt;/FONT&gt;, are not available in PyPI, they won't be logged in the requirements.txt file. To recreate the model environment, these dependencies must be installed explicitly.&lt;/P&gt;
&lt;P&gt;Here's an example:&lt;/P&gt;
&lt;PRE&gt;%sh&lt;BR /&gt;git clone https://github.com/sllynn/spark-xgboost.git;&lt;BR /&gt;cd spark-xgboost;&lt;BR /&gt;pip install -e .&lt;/PRE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 11 Jan 2024 01:00:00 GMT</pubDate>
    <dc:creator>Adam_Pavlacka</dc:creator>
    <dc:date>2024-01-11T01:00:00Z</dc:date>
    <item>
      <title>Unable to load the xgboost model after logging via mlflow. You get a "ModuleNotFoundError: No module named 'ml'" error message.</title>
      <link>https://community.databricks.com/t5/support-faqs/unable-to-load-the-xgboost-model-after-logging-via-mlflow-you/ta-p/56719</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;When using MLflow to log a model, be aware of warnings like the one below:&lt;/P&gt;
&lt;PRE&gt;WARNING mlflow.utils.requirements_utils: The following packages were not found in the public PyPI package index as of 2022-12-21; if these packages are not present in the public PyPI index, you must install them manually before loading your model: {'spark-xgboost'}&lt;/PRE&gt;
&lt;P&gt;This warning indicates that if certain package artifacts, such as &lt;FONT face="courier new,courier"&gt;spark-xgboost&lt;/FONT&gt;, are not available in PyPI, they won't be logged in the requirements.txt file. To recreate the model environment, these dependencies must be installed explicitly.&lt;/P&gt;
&lt;P&gt;Here's an example:&lt;/P&gt;
&lt;PRE&gt;%sh&lt;BR /&gt;git clone https://github.com/sllynn/spark-xgboost.git;&lt;BR /&gt;cd spark-xgboost;&lt;BR /&gt;pip install -e .&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Jan 2024 01:00:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/support-faqs/unable-to-load-the-xgboost-model-after-logging-via-mlflow-you/ta-p/56719</guid>
      <dc:creator>Adam_Pavlacka</dc:creator>
      <dc:date>2024-01-11T01:00:00Z</dc:date>
    </item>
  </channel>
</rss>

