<?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: Training models on big or small clusters in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/training-models-on-big-or-small-clusters/m-p/5003#M1545</link>
    <description>&lt;P&gt;Does increasing or decreasing size of cluster helps for this process ? &lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2023 01:44:35 GMT</pubDate>
    <dc:creator>Priyag1</dc:creator>
    <dc:date>2023-05-03T01:44:35Z</dc:date>
    <item>
      <title>Training models on big or small clusters</title>
      <link>https://community.databricks.com/t5/data-engineering/training-models-on-big-or-small-clusters/m-p/5002#M1544</link>
      <description>&lt;P&gt;I have a workflow with a model which trains every sunday in Azure Databricks. Sometimes the workflow fails as the max wait time is exceeded (currently I am using 1200 seconds). To solve the problem I was thinking of either increasing the wait time or increasing the size of the cluster used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This made me wonder, which is better (and cheaper) of the two options below:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Train the model on a bigger and more expensive cluster which will hopefully reduce the time used&lt;/LI&gt;&lt;LI&gt;Train the model on a smaller and cheaper cluster and then simply increase the wait time&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there a third and better solution?&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 07:21:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/training-models-on-big-or-small-clusters/m-p/5002#M1544</guid>
      <dc:creator>akc</dc:creator>
      <dc:date>2023-05-01T07:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Training models on big or small clusters</title>
      <link>https://community.databricks.com/t5/data-engineering/training-models-on-big-or-small-clusters/m-p/5003#M1545</link>
      <description>&lt;P&gt;Does increasing or decreasing size of cluster helps for this process ? &lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 01:44:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/training-models-on-big-or-small-clusters/m-p/5003#M1545</guid>
      <dc:creator>Priyag1</dc:creator>
      <dc:date>2023-05-03T01:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Training models on big or small clusters</title>
      <link>https://community.databricks.com/t5/data-engineering/training-models-on-big-or-small-clusters/m-p/5004#M1546</link>
      <description>&lt;P&gt;You´ll need to play with those two options, but, since initial iterations of training a machine learning model are often experimental, a smaller cluster is a good choice. A smaller cluster will also reduce the impact of shuffles. Recommended worker types are storage optimized with Delta Caching enabled to account for repeated reads of the same data and to enable caching of training data. If the compute and storage options provided by storage-optimized nodes are not sufficient, consider GPU-optimized nodes. A possible downside is the lack of Delta Caching support with these nodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you are talking about training deep learning models, check best practices, and if you are using PyTorch, the new. TorchDistributor. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/machine-learning/train-model/dl-best-practices" target="test_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/machine-learning/train-model/dl-best-practices&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS; Check #DAIS2023 talks, the creator of PyTorch is giving a keynote&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 12:04:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/training-models-on-big-or-small-clusters/m-p/5004#M1546</guid>
      <dc:creator>luis_herrera</dc:creator>
      <dc:date>2023-05-03T12:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Training models on big or small clusters</title>
      <link>https://community.databricks.com/t5/data-engineering/training-models-on-big-or-small-clusters/m-p/5005#M1547</link>
      <description>&lt;P&gt;Hi @Andreas Kaae​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 09:30:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/training-models-on-big-or-small-clusters/m-p/5005#M1547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-18T09:30:09Z</dc:date>
    </item>
  </channel>
</rss>

