When I used RNN in Pytorch and sent it to the GPU for computation, there was:
RuntimeError: CuDNN error: CUDNN_STATUS_SUCCESS
Before the error appeared, my environment was:
OS: Ubuntu 16.0.4
GPU: NVIDIA GForce RTX 2080 (view GPU and driver information can be used command: nvidia-smi)
CUDA: cuda9.0
cudnn: 7.x for cuda9.0
Look up the solution on the Internet, in fact, encountered this kind of problem is very simple, is
1. Update cuda and cudnn
change your cuda and cudnn to 9.2 or 10.0 or above the lowest version of cuda supported by your GPU;
2. Update pytorch and torchvision versions
remember, after updating cuda and cudnn, be sure to update pytorch to a version suitable for your cuda, such as torch0.4.1 for cuda9.2.
After the above 2 steps, you can basically solve this problem. The reference method is as follows:
https://discuss.pytorch.org/t/runtimeerror-cudnn-error-cudnn-status-success/28045).
Read More:
- (Solved) pytorch error: RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED (install cuda)
- RuntimeError: cuDNN error: CUDNN_ STATUS_ EXECUTION_ Failed solutions
- FCOS No CUDA runtime is found, using CUDA_HOME=’/usr/local/cuda-10.0′
- RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
- Tensorflow error in Windows: failed call to cuinit: CUDA_ ERROR_ UNKNOWN
- An error occurred when installing pytorch version 1.7 GPU
- To solve the problem of importerror when installing tensorflow: libcublas.so . 10.0, failed to load the native tensorflow runtime error
- torch.cuda.is_ Available() returns false
- Could NOT find CUDNN: Found unsuitable version “..“, but required is at least “6“
- Error in training yolox: error in importing apex
- tensorflow2.1 Error:Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
- check CUDA and CUDNN version
- Some processing experiences of failed to notify build listener
- After the new video card rtx3060 arrives, configure tensorflow and run “TF. Test. Is”_ gpu_ The solution of “available ()” output false
- Installation of Python on MAC
- [MMCV]RuntimeError: CUDA error: no kernel image is available for execution on the device
- Docker error response from daemon: Conflict: unable to deletexxxxx
- Docker delete error response from daemon: Conflict: unable to delete xxxxx solution
- error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was
- ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory