You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java library throws error when using CUDA: LoadLibrary failed with error 126 "" when trying to load "C:\Users\xx\AppData\Local\Temp\onnxruntime-java5278075328315693241\onnxruntime_providers_cuda.dll"
#23208
Open
sduqlsc opened this issue
Dec 27, 2024
· 1 comment
Describe the issue
use Java onnx gpu library and enable gpu, throws error
ai.onnxruntime.OrtException: Error code - ORT_RUNTIME_EXCEPTION - message: D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1539 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\Users\xxx\AppData\Local\Temp\onnxruntime-java5278075328315693241\onnxruntime_providers_cuda.dll"
I did check the tmp folder, the dll was missing.
To reproduce
CUDA & CUDNN PATH configuration:
Urgency
No response
Platform
Windows
OS Version
11
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
onnxruntime_gpu 1.20.0
ONNX Runtime API
Java
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
CUDA 12.3
The text was updated successfully, but these errors were encountered: