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_INTERNAL_ERROR #49

Open
CodeStarting-design opened this issue Dec 23, 2024 · 0 comments
Open

RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR #49

CodeStarting-design opened this issue Dec 23, 2024 · 0 comments

Comments

@CodeStarting-design
Copy link

你好,在将代码迁移到下游任务时出现了反向传播报错的问题,请问要如何解决

Traceback (most recent call last):
  File "train.py", line 218, in <module>
    train(net, loader_train, loader_test, optimizer, criterion)
  File "train.py", line 70, in train
    loss.backward()
  File "/root/miniconda3/lib/python3.8/site-packages/torch/_tensor.py", line 363, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "/root/miniconda3/lib/python3.8/site-packages/torch/autograd/__init__.py", line 173, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
You can try to repro this exception using the following code snippet. If that doesn't trigger the error, please include your original repro script when reporting this issu
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

1 participant