0

I am trying to test that my Jupyter notebook is using the GPU or not but when I check with this code, It shows me '0' GPU's available. But, My system is i7 10th Generation and GEFORCE RTX 2060. I have downloaded cuda and NVIDIA CNN added to the system variables and in anaconda downlaoded tensorflow GPU but I don't know why its not recognizing my GPU.

'''
    print("Num GPUs Available: ", len(tf.config.experimental.list_physical_devices('GPU')))
'''
>>>>Num GPUs Available:  0

1 Answers1

0

try use gputil:

import GPUtil
GPUtil.showUtilization()

try also look here - How to get current available GPUs in tensorflow?

Tal Folkman
  • 2,368
  • 1
  • 7
  • 21