<?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: Custom transformers with mlflow in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/custom-transformers-with-mlflow/m-p/72040#M34475</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;, Can you please guide me what are the additional steps I'll need to handle&amp;nbsp;&lt;SPAN&gt;serialization of Custom transformers so I can use it in my model pipeline via feature stores.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2024 13:37:14 GMT</pubDate>
    <dc:creator>NaeemS</dc:creator>
    <dc:date>2024-06-07T13:37:14Z</dc:date>
    <item>
      <title>Custom transformers with mlflow</title>
      <link>https://community.databricks.com/t5/data-engineering/custom-transformers-with-mlflow/m-p/71960#M34449</link>
      <description>&lt;P&gt;Hi Everyone,&lt;BR /&gt;&lt;BR /&gt;I have created a spark pipeline in which I have a stage which is a Custom Transformer. Now I am using feature stores to log my model. But the issue is that the custom Transformer stage is not serialized properly and is not logged along with the whole pipeline. I have logged the pipeline using MLFLOW along with logging the custom transformer as an artifact. Then in inference environment I loaded the model's artifact first and saved it in a temporary path and added that path to the sys paths making that custom code available for the model to do inference successfully. But I can not do this when I log my model using feature stores. Also, this method of logging the custom code as an artifact and loading it before the inference is not reliable and kills the overall idea of end to end pipeline.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help in this regard would be highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 22:27:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/custom-transformers-with-mlflow/m-p/71960#M34449</guid>
      <dc:creator>NaeemS</dc:creator>
      <dc:date>2024-06-06T22:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom transformers with mlflow</title>
      <link>https://community.databricks.com/t5/data-engineering/custom-transformers-with-mlflow/m-p/72040#M34475</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;, Can you please guide me what are the additional steps I'll need to handle&amp;nbsp;&lt;SPAN&gt;serialization of Custom transformers so I can use it in my model pipeline via feature stores.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 13:37:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/custom-transformers-with-mlflow/m-p/72040#M34475</guid>
      <dc:creator>NaeemS</dc:creator>
      <dc:date>2024-06-07T13:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom transformers with mlflow</title>
      <link>https://community.databricks.com/t5/data-engineering/custom-transformers-with-mlflow/m-p/111934#M44047</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/101172"&gt;@NaeemS&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did you ever get a solution to this problem? I've now encountered this myself. When I save the pipeline using ML Flow log_model, I am able to load the model fine. When I log it with Databricks Feature Engineering package, it throws an error stating that the custom class does not exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 18:45:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/custom-transformers-with-mlflow/m-p/111934#M44047</guid>
      <dc:creator>WarrenO</dc:creator>
      <dc:date>2025-03-06T18:45:09Z</dc:date>
    </item>
  </channel>
</rss>

