Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED #8

Closed
shahik opened this issue Mar 15, 2021 · 2 comments
Closed

RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED #8

shahik opened this issue Mar 15, 2021 · 2 comments

Comments

@shahik
Copy link

shahik commented Mar 15, 2021

Hi,
I get this error while training on Hill climbing & PPO on google colab. It works fine on colab None option.
any solution Plz?

@JoshuaMeyers
Copy link
Collaborator

Hey @shahik, apologies I'm not familiar with the setup on colab. But it appears that your environment is not initialised correctly. Might be worth looking for more general solutions for this error (https://discuss.pytorch.org/t/cudnn-status-not-initialized/7090)

@shahik shahik closed this as completed Mar 16, 2021
@shahik shahik reopened this Mar 18, 2021
@shahik
Copy link
Author

shahik commented Mar 18, 2021

Solved as,

!conda install pytorch torchvision cudatoolkit=10.0 -c pytorch

import torch

if torch.cuda.is_available():
print('GPU available')
else:
print('Please set GPU via Edit -> Notebook Settings.')

@shahik shahik closed this as completed Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants