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: no valid convolution algorithms available in CuDNN #349

Open
leo4048111 opened this issue May 29, 2023 · 4 comments
Open

RuntimeError: no valid convolution algorithms available in CuDNN #349

leo4048111 opened this issue May 29, 2023 · 4 comments

Comments

@leo4048111
Copy link

leo4048111 commented May 29, 2023

File "/home/leo/GAN2Shape/gan2shape/stylegan2/stylegan2-pytorch/model.py", line 350, in forward
out = self.conv(input, style)
File "/home/leo/miniconda3/envs/cv_exp_py3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/home/leo/GAN2Shape/gan2shape/stylegan2/stylegan2-pytorch/model.py", line 272, in forward
out = F.conv_transpose2d(input, weight, padding=0, stride=2, groups=batch)
RuntimeError: no valid convolution algorithms available in CuDNN

@huangzy-55
Copy link

I have the same problem. Do you solve it?

@leo4048111
Copy link
Author

leo4048111 commented Aug 19, 2023

I have the same problem. Do you solve it?

I degraded pytorch + cudnn versions and it seemed to work.

@huangzy-55
Copy link

I have the same problem. Do you solve it?

I degraded pytorch + cudnn versions and it seemed to work.

which version? could you tell me please?

@leo4048111
Copy link
Author

I have the same problem. Do you solve it?

I degraded pytorch + cudnn versions and it seemed to work.

which version? could you tell me please?

PyTorch 1.3.1 + cuda 10.1 + cudnn 8, just as the readme stated. Also consider using legacy GPUs such as gtx1080.

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