<?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: Facing issues with passing memory checkpointer in lanngraph agents in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/facing-issues-with-passing-memory-checkpointer-in-lanngraph/m-p/109897#M3961</link>
    <description>&lt;P&gt;Hi all. I have the same issue, could you deploy the graph with the MemorySaver?&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2025 20:25:38 GMT</pubDate>
    <dc:creator>sebascardonal</dc:creator>
    <dc:date>2025-02-11T20:25:38Z</dc:date>
    <item>
      <title>Facing issues with passing memory checkpointer in lanngraph agents</title>
      <link>https://community.databricks.com/t5/machine-learning/facing-issues-with-passing-memory-checkpointer-in-lanngraph/m-p/96384#M3793</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to create a simple langgraph agent in Databricks, the agent also uses lanngraph memory checkpoint which enables to store the state of the graph. This is working fine when I am trying it in Databricks notebook, but when I tried to log this as Mlfow model, I couldn't find any documentation on where to pass the memory checkpoint&lt;/P&gt;&lt;P&gt;I want to know if there is way we can pass memory checkpoint when logging langgraph agent in Mlflow&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 06:57:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/facing-issues-with-passing-memory-checkpointer-in-lanngraph/m-p/96384#M3793</guid>
      <dc:creator>kishan_</dc:creator>
      <dc:date>2024-10-28T06:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issues with passing memory checkpointer in lanngraph agents</title>
      <link>https://community.databricks.com/t5/machine-learning/facing-issues-with-passing-memory-checkpointer-in-lanngraph/m-p/98367#M3794</link>
      <description>&lt;P&gt;Facing the same issue here.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 19:04:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/facing-issues-with-passing-memory-checkpointer-in-lanngraph/m-p/98367#M3794</guid>
      <dc:creator>morenoj11</dc:creator>
      <dc:date>2024-11-11T19:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issues with passing memory checkpointer in lanngraph agents</title>
      <link>https://community.databricks.com/t5/machine-learning/facing-issues-with-passing-memory-checkpointer-in-lanngraph/m-p/98369#M3795</link>
      <description>&lt;P&gt;I saw that you can compile the model without checkpointer, register it in MLflow, and then, after loading, assign it after compilation.&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;mlflow&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;mlflow&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;models&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;set_model&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;build_graph(&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;with&lt;/SPAN&gt; &lt;SPAN&gt;mlflow&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;start_run&lt;/SPAN&gt;&lt;SPAN&gt;() &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;run_id&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;model_info&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;mlflow&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;langchain&lt;/SPAN&gt;&lt;SPAN&gt;.log_model(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;lc_model&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"build_graph.py"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;# Path to our model Python file&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;artifact_path&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"langgraph"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;model_uri&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;model_info&lt;/SPAN&gt;&lt;SPAN&gt;.model_uri&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[...]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;loaded_model&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;mlflow&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;langchain&lt;/SPAN&gt;&lt;SPAN&gt;.load_model(&lt;/SPAN&gt;&lt;SPAN&gt;model_uri&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;loaded_model&lt;/SPAN&gt;&lt;SPAN&gt;.checkpointer &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;checkpointer&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;loaded_model.invoke(input_state, config)&amp;nbsp; ##&amp;nbsp;config has the thread_id&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;It's not elegant or future-proof, but it might do the trick while we wait for a better solution.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 19:32:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/facing-issues-with-passing-memory-checkpointer-in-lanngraph/m-p/98369#M3795</guid>
      <dc:creator>morenoj11</dc:creator>
      <dc:date>2024-11-11T19:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issues with passing memory checkpointer in lanngraph agents</title>
      <link>https://community.databricks.com/t5/machine-learning/facing-issues-with-passing-memory-checkpointer-in-lanngraph/m-p/105317#M3898</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/132002"&gt;@morenoj11&lt;/a&gt;&amp;nbsp;The solution which you have mentioned, Have you tried to deploy the same in Databricks model serving ?&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jan 2025 08:05:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/facing-issues-with-passing-memory-checkpointer-in-lanngraph/m-p/105317#M3898</guid>
      <dc:creator>kishan_</dc:creator>
      <dc:date>2025-01-12T08:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issues with passing memory checkpointer in lanngraph agents</title>
      <link>https://community.databricks.com/t5/machine-learning/facing-issues-with-passing-memory-checkpointer-in-lanngraph/m-p/109897#M3961</link>
      <description>&lt;P&gt;Hi all. I have the same issue, could you deploy the graph with the MemorySaver?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 20:25:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/facing-issues-with-passing-memory-checkpointer-in-lanngraph/m-p/109897#M3961</guid>
      <dc:creator>sebascardonal</dc:creator>
      <dc:date>2025-02-11T20:25:38Z</dc:date>
    </item>
  </channel>
</rss>

