简体   繁体   中英

GPU availability check

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

try use gputil :

import GPUtil
GPUtil.showUtilization()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM