Open ZeroCool22 opened 3 months ago
@ZeroCool22 Regarding this issue, I have two potential solutions:
Given that you are using a Windows system, you might consider using the Windows one-click installation package. We have bundled the CUDA and cuDNN environments in it, and you can start it just like you would with conda.
You might need to consider downgrading your CUDA version. The highest version we have tested so far is 12.1, and your version is newer than this.
In this step: Then, install the corresponding torch version. Here are examples for different CUDA versions, i used:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
I also downloaded the corresponding cuDNN 9.3.0 and place the files on the correct folders inside C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6
Everything is where should be, why the hell it's giving me that error.
In the requirements.txt the version is onnxruntime-gpu==1.18.0
It's the reason of the problem?
Since in the web of onnxruntime, it says onnxruntime-gpu==1.18.0 ia compatible with cuDNN 8.x ?
https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements
Should i install cuDNN v8.9.7 (December 5th, 2023), for CUDA 12.x ?
https://developer.nvidia.com/rdp/cudnn-archive
or i can try to update to onnxruntime to version 1.18.1?
EDIT:
Tried both, still same error.