GPU not detected by tensorflow in SM Studio

0

I'm currently using SageMaker Studio with kernel "Python 3 (TensorFlow 2.3 Python 3.7 GPU Optimized)".
Tensorflow doesn't detect the GPU on both ml.g4dn.xlarge and ml.g4dn.2xlarge instances (with 1 GPU).
I would appreciate any advice.

import tensorflow as tf
tf.config.list_physical_devices('GPU')
: []

Edited by: haganHL on Jul 29, 2021 11:55 PM

haganHL
質問済み 3年前785ビュー
3回答
0

Downgrading to the Python 3 (TensorFlow 2.1 Python 3.6 GPU Optimized) kernel allowed the GPU to be recognized. However, I had to recode my notebook to support that kernel. What a shame. What a pain.

Edited by: jmlineb on Aug 18, 2021 8:00 AM

jmlineb
回答済み 3年前
0

I am having the very same problem with the very same kernel using the very same instance types. It worked perfectly a month ago. Attempting to downgrade my kernel to see if my notebook will still work.

Edited by: jmlineb on Aug 18, 2021 7:47 AM

Edited by: jmlineb on Aug 18, 2021 8:11 AM

jmlineb
回答済み 3年前
0

Hi, I'm having the same problem here. I can't believe that Amazon hasn't fixed this - we could really use support for GPUs on new Tensorflow versions!

TerjeKW
回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ