<?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: Pytorch DDP on Databricks in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/pytorch-ddp-on-databricks/m-p/21814#M1226</link>
    <description>&lt;P&gt;Hi @Marco Capusso​&amp;nbsp;, I am facing the similar issue could you find some fix. It would be great if you share some details around it. &lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2022 06:11:20 GMT</pubDate>
    <dc:creator>Chakra03</dc:creator>
    <dc:date>2022-05-19T06:11:20Z</dc:date>
    <item>
      <title>Pytorch DDP on Databricks</title>
      <link>https://community.databricks.com/t5/machine-learning/pytorch-ddp-on-databricks/m-p/21813#M1225</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am currently trying to use Pytorch Lightning inside Databricks and I am currently using a cluster with 2 gpus. Whenever I try to train my Transformer model with 1 gpu in DP strategy everything works fine, but when I try to use both the 2 gpus with a DDP strategy I get the following error:&lt;/P&gt;&lt;P&gt;&lt;I&gt;MisconfigurationException: `Trainer(strategy='ddp_spawn')` or `Trainer(accelerator='ddp_spawn')` is not compatible with an interactive environment. Run your code as a script, or choose one of the compatible strategies: Trainer(strategy=None|dp|tpu_spawn). In case you are spawning processes yourself, make sure to include the Trainer creation inside the worker function.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 13:42:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/pytorch-ddp-on-databricks/m-p/21813#M1225</guid>
      <dc:creator>Marco98</dc:creator>
      <dc:date>2022-04-29T13:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pytorch DDP on Databricks</title>
      <link>https://community.databricks.com/t5/machine-learning/pytorch-ddp-on-databricks/m-p/21814#M1226</link>
      <description>&lt;P&gt;Hi @Marco Capusso​&amp;nbsp;, I am facing the similar issue could you find some fix. It would be great if you share some details around it. &lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 06:11:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/pytorch-ddp-on-databricks/m-p/21814#M1226</guid>
      <dc:creator>Chakra03</dc:creator>
      <dc:date>2022-05-19T06:11:20Z</dc:date>
    </item>
  </channel>
</rss>

