<?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>question Re: GPU in CML Spark in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/GPU-in-CML-Spark/m-p/413489#M254084</link>
    <description>&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114383"&gt;@vafs&lt;/a&gt;&amp;nbsp; ; I can't be sure that was the definite answer though, because it is combining answers from two different sources:&lt;BR /&gt;- first one is about supporting spark (nothing about gpu mentioned).&lt;BR /&gt;- second one is about gpu (nothing about spark mentioned).&lt;BR /&gt;&lt;BR /&gt;And when I tried a Spark code that works in YARN+GPU,&amp;nbsp; with slight modification to fit into CML, it just didnt go well. Not sure if I've done something wrong, that's why I am looking for a definite answer, probably with some github example like what Cloudera have provided for pytorch and tensorflow for CML. Hence, me raising this question.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Somehow, I kind of remembering seeing somewhere that in CDE, it is only Technical Preview, but in CML it is not yet;&amp;nbsp; but can't seem to be able to find where was that page :).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2026 00:56:56 GMT</pubDate>
    <dc:creator>backtohome</dc:creator>
    <dc:date>2026-02-03T00:56:56Z</dc:date>
    <item>
      <title>GPU in CML Spark</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GPU-in-CML-Spark/m-p/413473#M254074</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;Just want to check as of latest CML version, has there been any support for using GPU for Spark in CML ?&lt;/P&gt;&lt;P&gt;I have seen:&lt;/P&gt;&lt;P&gt;1. GPU used for Spark in CDE, or&lt;/P&gt;&lt;P&gt;2. GPU used in general Python project ( using torch, tensorflow, rapids' cudf/cuml) in CML,&lt;/P&gt;&lt;P&gt;but can't find any for Spark in CML.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is no such support; is there any specific reason why it cannot be done while it can be done for general Spark on k8s.&lt;/P&gt;&lt;P&gt;Thanks for any info...&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:10:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GPU-in-CML-Spark/m-p/413473#M254074</guid>
      <dc:creator>backtohome</dc:creator>
      <dc:date>2026-04-21T06:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: GPU in CML Spark</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GPU-in-CML-Spark/m-p/413482#M254079</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/143441"&gt;@backtohome&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far I know, we do support GPUs for Spark workloads on CML.&amp;nbsp;&lt;BR /&gt;The documentation talks about that:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;Autoscaling:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="ph"&gt;Cloudera AI&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;also supports native cloud autoscaling via Kubernetes. When clusters do not have the required capacity to run workloads, they can automatically scale up additional nodes. Administrators can configure auto-scaling upper limits, which determine how large a compute cluster can grow. Since compute costs increase as cluster size increases, having a way to configure upper limits gives administrators a method to stay within a budget. Autoscaling policies can also account for heterogeneous node types such as GPU nodes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/machine-learning/1.5.5/spark/topics/ml-apache-spark-overview.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/machine-learning/1.5.5/spark/topics/ml-apache-spark-overview.html&lt;/A&gt; &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;You have to configure them by following this doc:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/machine-learning/1.5.5/gpu/topics/ml-gpu.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/machine-learning/1.5.5/gpu/topics/ml-gpu.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you do not have the GPUs configured on CML, the UI will not show you the options, such like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ml-starting-new-session-gpu-heterog.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/46609i0D44640A6414FDE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ml-starting-new-session-gpu-heterog.png" alt="ml-starting-new-session-gpu-heterog.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 16:54:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GPU-in-CML-Spark/m-p/413482#M254079</guid>
      <dc:creator>vafs</dc:creator>
      <dc:date>2026-02-02T16:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: GPU in CML Spark</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GPU-in-CML-Spark/m-p/413489#M254084</link>
      <description>&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114383"&gt;@vafs&lt;/a&gt;&amp;nbsp; ; I can't be sure that was the definite answer though, because it is combining answers from two different sources:&lt;BR /&gt;- first one is about supporting spark (nothing about gpu mentioned).&lt;BR /&gt;- second one is about gpu (nothing about spark mentioned).&lt;BR /&gt;&lt;BR /&gt;And when I tried a Spark code that works in YARN+GPU,&amp;nbsp; with slight modification to fit into CML, it just didnt go well. Not sure if I've done something wrong, that's why I am looking for a definite answer, probably with some github example like what Cloudera have provided for pytorch and tensorflow for CML. Hence, me raising this question.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Somehow, I kind of remembering seeing somewhere that in CDE, it is only Technical Preview, but in CML it is not yet;&amp;nbsp; but can't seem to be able to find where was that page :).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 00:56:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GPU-in-CML-Spark/m-p/413489#M254084</guid>
      <dc:creator>backtohome</dc:creator>
      <dc:date>2026-02-03T00:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: GPU in CML Spark</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GPU-in-CML-Spark/m-p/413490#M254085</link>
      <description>&lt;P&gt;Seems like the message was there all along when we choose the runtime, e.g. Jupyterlab -&amp;gt; Python xx -&amp;gt; Edition: Nvidia GPU,&amp;nbsp; and enable Spark;&amp;nbsp; &amp;nbsp;the message will appear:&lt;/P&gt;&lt;P&gt;"Spark is not compatible with the selected Edition. If you enable Spark for the session, it can be used independently but it will not be accelerated"&lt;/P&gt;&lt;P&gt;I didnt see the warning message before because have only allowed our own customized runtime, which didn't display this warning message.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 03:14:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GPU-in-CML-Spark/m-p/413490#M254085</guid>
      <dc:creator>backtohome</dc:creator>
      <dc:date>2026-02-03T03:14:50Z</dc:date>
    </item>
  </channel>
</rss>

