Skip to content Skip to sidebar Skip to footer

How To Enable Gpu Visible For Ml Runtime Environment On Databricks?

I am trying to run some TensorFlow (2.2) example code on databricks/GPU (p2.xlarge) with environment as: 6.6 ML, spark 2.4.5, GPU, Scala 2.11 Keras version : 2.2.5 nvidia-smi NV

Solution 1:

Install tensorflow-gpu instead of tensorflow, as that will run primarily on gpu while tensorflow will run primarily on cpu. You won't need to edit the code as it still imports by the alias tensorflow


Post a Comment for "How To Enable Gpu Visible For Ml Runtime Environment On Databricks?"