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:unable to find a valid cuDNN algorithm to convolution #110

Open
HWH-2019 opened this issue Nov 20, 2023 · 1 comment
Open

Comments

@HWH-2019
Copy link

First, when I train with multiple GPUs on one machine, I meet the error as follows:
RuntimeError: CUDA error: an illegal memory access was encountered

when I set the CUDA_LAUNCH_BLOCKING=1, I got more information about this error:

RuntimeError: unable to find a valid cuDNN algorithm to convolution

I found that someone has encountered this problem, but there is no good solution, and I noticed that this problem is not encountered when training the MOTIFS model.

Is it a problem with the PSGFormer model code itself or the GPUs without enough VRAM as mentioned on the Internet?

and why I didn't get the error: CUDA out of memory

the run-time environment as follows:

# system
GPU RTX3090
cuda 12.0
cudnn 11.8

# run-time
pytorch==1.7.1
torchvision==0.8.2
torchaudio==0.7.2
cudatoolkit=11.0
@Jingkang50
Copy link
Owner

Sorry I cannot come up with solution to the problem. Have you solve the problem?

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