Jupyter instance does not detect GPU
I am working on a gpu instance and the code in jupyter notebook does not detect GPU, I have the below message -
2021-10-12 21:59:43.884215: E tensorflow/stream_executor/cuda/cuda_driver.cc:271] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
All the drivers and dependencies were correctly installed and verified, but in the notebook instance this does not show up.
Can anyone help here?
thanks.
1 Reply
Hi @Prachi12 - There's a number of reasons for this error, and I found a StackOverflow post that suggests a few solutions:
https://stackoverflow.com/questions/48658204/tensorflow-failed-call-to-cuinit-cuda-error-no-device
Also, make sure you're running things with 'sudo' or similar so that there's all the proper permissions in place.