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?


1 Reply

Hi @Prachi12 - There's a number of reasons for this error, and I found a StackOverflow post that suggests a few solutions:


Also, make sure you're running things with 'sudo' or similar so that there's all the proper permissions in place.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct