CUDA Issue - CUDA_PATH is set but CUDA wasn't able to be loaded.
Describe the bug
When I try using the GPU, I get an error (Both when tryng to deepfake an image/video and live)
Screenshots
Error Message "RuntimeError: D:\a_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:743 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasn't able to be loaded. Please install the correct version of CUDA and cuDNN as mentioned in the GPU requirements page (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements), make sure they're in the PATH, and that your GPU is supported."
Desktop (please complete the following information):
- OS: Windows
- Version 11 Pro
- GPU RTX 4070 Super
- CPU Ryzen 5 7600
Confirmation (Mandatory)
- [x] I have followed the template
- [x] This is not a query about how to increase performance
- [x] I have checked the issues page, and this is not a duplicate
Got same error here.
Same
Which python version did you used? and did you install cudnn?
Which python version did you used? and did you install cudnn?
yes i installed cudnn, i'm using python 3.11.9
make sure you get the cuDNN 8.6
I had to register to nvidia's archive website download the correct version (here) and then extract and copy-paste the directories into the cuda 11.8 directory
Which python version did you used? and did you install cudnn?
yes i installed cudnn, i'm using python 3.11.9
Use cudnn 8.6.0 and use python version 3.10.9, the error you have is caused from python 11, so activate venv with python 3.10.9
Here is the direct link for it.
https://developer.download.nvidia.com/compute/cudnn/secure/8.6.0/local_installers/11.8/cudnn-windows-x86_64-8.6.0.163_cuda11-archive.zip