question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RuntimeError: CUDNN_STATUS_EXECUTION_FAILED

See original GitHub issue

I’ve installed the correct requirements. But after running this: python main.py --dataset cifar10 --arch vgg --depth 16

I’m getting the following error:

Traceback (most recent call last):
  File "main.py", line 166, in <module>
    train(epoch)
  File "main.py", line 125, in train
    output = model(data)
  File "/home/jeferson/repo/rethinking-network-pruning/repense/lib/python3.6/site-packages/torch/nn/modules/module.py", line 357, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/jeferson/repo/rethinking-network-pruning/cifar/l1-norm-pruning/models/vgg.py", line 56, in forward
    x = self.feature(x)
  File "/home/jeferson/repo/rethinking-network-pruning/repense/lib/python3.6/site-packages/torch/nn/modules/module.py", line 357, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/jeferson/repo/rethinking-network-pruning/repense/lib/python3.6/site-packages/torch/nn/modules/container.py", line 67, in forward
    input = module(input)
  File "/home/jeferson/repo/rethinking-network-pruning/repense/lib/python3.6/site-packages/torch/nn/modules/module.py", line 357, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/jeferson/repo/rethinking-network-pruning/repense/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 282, in forward
    self.padding, self.dilation, self.groups)
  File "/home/jeferson/repo/rethinking-network-pruning/repense/lib/python3.6/site-packages/torch/nn/functional.py", line 90, in conv2d
    return f(input, weight, bias)
RuntimeError: CUDNN_STATUS_EXECUTION_FAILED

Am I doing something wrong?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
songheonycommented, Oct 14, 2019

If you want to use CUDA >= 9.2, The code should be changed for Pytorch 0.4.1. Here is the source code I converted https://github.com/songheony/rethinking-network-pruning. I’ve tested it with Pytorch 1.2, CUDA 10

0reactions
jefersonfcommented, Oct 11, 2019

If you want to use CUDA >= 0.92, The code should be changed for Pytorch 0.4.1. Here is the source code I converted https://github.com/songheony/rethinking-network-pruning. I’ve tested it with Pytorch 1.2, CUDA 10

I’ll check it out!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cuda Error : RuntimeError - PyTorch Forums
RuntimeError : cuDNN error: CUDNN_STATUS_EXECUTION_FAILED The code used to work with CUDA 8.0 and GeForce GTX 1080 Ti GPU, now I use CUDA ......
Read more >
cuDNN error: CUDNN_STATUS_EXECUTION_FAILED · Issue ...
Describe the bug Bug cuDNN error on Torch 1.6.0 with CUDA 10.1 when running on a 1080Ti with 512.15 Nvidia drivers.
Read more >
cuDNN error: CUDNN_STATUS_EXECUTION_FAILED while ...
Getting error, RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED while running a basic RNN model ... This is my code for a basic RNN model ...
Read more >
RuntimeError: cuDNN error - Stack Overflow
I am running this code in a computer with rtx 3090ti github_code. However, the code raises an error with first forward layer.
Read more >
Solution - Finisky Garden
RuntimeError : cuDNN error: CUDNN_STATUS_EXECUTION_FAILED When you encountered the above issue and Google it, you will find lots of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found