0

I installed the tensorflow-gpu version, and tried to test the GPU setup as suggested

import tensorflow as tf
print("Num GPUs Available: ", len(tf.config.experimental.list_physical_devices('GPU')))

However, I got the following information

Num GPUs Available:  0

My machine does have GPU card, shown as follows, why it is not picked by Tensorflow

enter image description here

user297850
  • 7,705
  • 17
  • 54
  • 76

1 Answers1

0

It is likely that you do not have the right combination of the following:

  1. CUDA
  2. CuDNN
  3. TensorFlow

Please check my answer here, for a correct combination of the aforementioned : Tensorflow 2.0 can't use GPU, something wrong in cuDNN? :Failed to get convolution algorithm. This is probably because cuDNN failed to initialize

Timbus Calin
  • 13,809
  • 5
  • 41
  • 59