-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Could not load library cudnn_cnn_infer64_8.dll. Error code 127 #18973
Comments
|
The project runs OK with previous version ONNXRuntime before I upgraded . Then I download cudnn and cuda follow this table: Then I found this file in the 'native' directory , so it's should be deployed with OnnxRT , and maybe it's the code issue. |
If you install proper cudnn (for CUDA 11) and update PATH environment variable, the DLL shall be able to load unless some dependency is missing. You might try install latest VC DLLs (x64): https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022 |
Hi, have you solved this? I've been searching for reasons for error code 127 for 3 days and none of that works for me :-( literally drives me crazy. |
Nope , |
Describe the issue
Could not load library cudnn_cnn_infer64_8.dll. Error code 127 when using 1.16.3 CUDA
To reproduce
SessionOptions.MakeSessionOptionWithCudaProvider())
Urgency
No response
Platform
Windows
OS Version
10
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.16.3
ONNX Runtime API
C#
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: