<?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 Save ML model in the registry fails in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/save-ml-model-in-the-registry-fails/m-p/56437#M2819</link>
    <description>&lt;P&gt;Using `&lt;SPAN&gt;mlflow&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;pyfunc&lt;/SPAN&gt;&lt;SPAN&gt;.log_model` to save a model in the model registry fails with the following error: `&lt;/SPAN&gt;&lt;SPAN class=""&gt;PicklingError&lt;/SPAN&gt;&lt;SPAN&gt;: Can't pickle &amp;lt;built-in function input&amp;gt;: it's not the same object as builtins.input`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I've reproduced it locally and got to the conclusion that it comes because I am using `&lt;SPAN&gt;boto3&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;resource&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"dynamodb")` - this is because DynamoDB provides features at inference time. Using the online feature store (also with DynamoDB) may work but it's not my preferred solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Do you know any workaround?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2024 15:09:15 GMT</pubDate>
    <dc:creator>pablobd</dc:creator>
    <dc:date>2024-01-04T15:09:15Z</dc:date>
    <item>
      <title>Save ML model in the registry fails</title>
      <link>https://community.databricks.com/t5/machine-learning/save-ml-model-in-the-registry-fails/m-p/56437#M2819</link>
      <description>&lt;P&gt;Using `&lt;SPAN&gt;mlflow&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;pyfunc&lt;/SPAN&gt;&lt;SPAN&gt;.log_model` to save a model in the model registry fails with the following error: `&lt;/SPAN&gt;&lt;SPAN class=""&gt;PicklingError&lt;/SPAN&gt;&lt;SPAN&gt;: Can't pickle &amp;lt;built-in function input&amp;gt;: it's not the same object as builtins.input`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I've reproduced it locally and got to the conclusion that it comes because I am using `&lt;SPAN&gt;boto3&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;resource&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"dynamodb")` - this is because DynamoDB provides features at inference time. Using the online feature store (also with DynamoDB) may work but it's not my preferred solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Do you know any workaround?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 15:09:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/save-ml-model-in-the-registry-fails/m-p/56437#M2819</guid>
      <dc:creator>pablobd</dc:creator>
      <dc:date>2024-01-04T15:09:15Z</dc:date>
    </item>
  </channel>
</rss>

