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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠