<?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: Performance Issues with Advanced Notebook with GPU? in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/performance-issues-with-advanced-notebook-with-gpu/m-p/605491#M178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, &lt;A href="https://community.esri.com/migrated-users/405782"&gt;Dan Patterson&lt;/A&gt;‌.&amp;nbsp;model.fit()&amp;nbsp;helpfully updates&amp;nbsp;status information in the output cell every couple of seconds, so you can tell it is actively running... right up until you hit the 48-hour cap on ArcGIS Notebook run times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Oct 2020 16:23:32 GMT</pubDate>
    <dc:creator>PeterKnoop</dc:creator>
    <dc:date>2020-10-21T16:23:32Z</dc:date>
    <item>
      <title>Performance Issues with Advanced Notebook with GPU?</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/performance-issues-with-advanced-notebook-with-gpu/m-p/605489#M176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS Notebooks seem like a great way to deliver a uniform environment to a large group of users, particular&amp;nbsp;in higher-education, where you often have students bringing a wide variety of hardware and operating system combinations to the table. Our initial experience, however, is that the performance is terrible, particular with the&amp;nbsp;"Advanced with GPU support - 4.0 runtime" kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, we have a lot of students and researchers interested in training AI models for automated plant species identification for use with Survey123, as&amp;nbsp;exemplified in this Esri-provided Notebook: &lt;A href="https://developers.arcgis.com/python/sample-notebooks/train-a-tensorflow-lite-model-for-identifying-plant-species/"&gt;Plant species identification using a TensorFlow-Lite model within mobile devices&lt;/A&gt;. To help them get started,&amp;nbsp;I envisioned offering a workshop where each user could work through this example using an ArcGIS Notebook, so that we don't have to spend time in the workshop configuring each users' local environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attempting to run this particular Esri example&amp;nbsp;Notebook&amp;nbsp;as an ArcGIS Notebook on&amp;nbsp;ArcGIS Online, however,&amp;nbsp;appears to require&amp;nbsp;~5.2 days to complete the training step! (Which means it will never finish, given what appears to be a 48-hour or 2-day limit on for how long a Notebook can run.) The example output&amp;nbsp;provided in the&amp;nbsp;Notebook suggests&amp;nbsp;that step took&amp;nbsp;~12.5 hours&amp;nbsp;for the Notebook author, and we see similar&amp;nbsp;10-18 hour runtimes for the training step when&amp;nbsp;done&amp;nbsp;on&amp;nbsp;a typical, on-premise GIS workstation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Training AI models can certainly take time, however, it feels like the "Advanced with GPU kernel" is significantly under-resourced (or over-priced), or we missed something in the documentation for how we are supposed to use it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, at a cost of&amp;nbsp;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;0.5-credits per minute, the ~5.2 day run would cost 3,744 credits. And, if you&amp;nbsp;use the &lt;A href="https://developers.arcgis.com/pricing/credits/"&gt;pay as you go pricing for developers&lt;/A&gt; to convert this to an approximate cost, the result is ~$375!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;If&amp;nbsp;I spin up my own AWS g4dn.xlarge instance, which includes a&amp;nbsp;NVIDIA T4 GPU, and run the example Notebook,&amp;nbsp;the training step takes just under 19 hours. The cost of an On-Demand g4dn.xlarge instance is $0.71/hour, which translates to a total cost of ~$13.50 to train the model (plus a few more cents for network, storage, etc.) That is quite a price difference: $375 vs. $13.50, not to mention the time difference of days versus hours!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;I've looked around for information about what hardware is backing the "Advanced with GPU support - 4.0 runtime" kernel, but was unable to find any.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Whatever the configuration is, however, it is not providing the sort of performance boost for tasks like AI model training that I would've expected for a GPU-backed environment.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Is there some trick to getting better performance out of the&amp;nbsp;&lt;SPAN&gt;"Advanced with GPU" kernel&amp;nbsp;on&amp;nbsp;ArcGIS Online?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2020 20:44:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/performance-issues-with-advanced-notebook-with-gpu/m-p/605489#M176</guid>
      <dc:creator>PeterKnoop</dc:creator>
      <dc:date>2020-10-17T20:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issues with Advanced Notebook with GPU?</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/performance-issues-with-advanced-notebook-with-gpu/m-p/605490#M177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from...&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/arcgis-online/announcements/the-arcgis-notebooks-beta-in-arcgis-online-comes-to-a-close/" title="https://www.esri.com/arcgis-blog/products/arcgis-online/announcements/the-arcgis-notebooks-beta-in-arcgis-online-comes-to-a-close/"&gt;ArcGIS Notebooks for ArcGIS Online is available&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it isn't a timeout/idle issue I assume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/213482"&gt;Shannon Kalisky&lt;/A&gt;‌ might comment or put you in contact with others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2020 00:25:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/performance-issues-with-advanced-notebook-with-gpu/m-p/605490#M177</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-10-21T00:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issues with Advanced Notebook with GPU?</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/performance-issues-with-advanced-notebook-with-gpu/m-p/605491#M178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, &lt;A href="https://community.esri.com/migrated-users/405782"&gt;Dan Patterson&lt;/A&gt;‌.&amp;nbsp;model.fit()&amp;nbsp;helpfully updates&amp;nbsp;status information in the output cell every couple of seconds, so you can tell it is actively running... right up until you hit the 48-hour cap on ArcGIS Notebook run times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2020 16:23:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/performance-issues-with-advanced-notebook-with-gpu/m-p/605491#M178</guid>
      <dc:creator>PeterKnoop</dc:creator>
      <dc:date>2020-10-21T16:23:32Z</dc:date>
    </item>
  </channel>
</rss>

