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 #4

Open
AlanMorningLight opened this issue Jan 14, 2021 · 2 comments
Open

RuntimeError #4

AlanMorningLight opened this issue Jan 14, 2021 · 2 comments

Comments

@AlanMorningLight
Copy link

AlanMorningLight commented Jan 14, 2021

hello,when i run the Main.py in this line loss.backward(retain_graph=False), this error appear "RuntimeError: cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous input." Can you help me to solve this problem? Thanks you very much!

@qichaoliu
Copy link
Owner

Maybe you can try upgrading the PyTorch version to >=1.5 along with the CUDA? Sorry I've never met this problem on my computer. My environment is GTX 1080Ti + PyTorch 1.5 + CUDA 10.1. It can also work on PyTorch 1.7.

@AlanMorningLight
Copy link
Author

Maybe you can try upgrading the PyTorch version to >=1.5 along with the CUDA? Sorry I've never met this problem on my computer. My environment is GTX 1080Ti + PyTorch 1.5 + CUDA 10.1. It can also work on PyTorch 1.7.

OK,thanks very much, i will try again.

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