onnxruntime_providers_cuda.dll cannot be loaded due to "Can't find dependent libraries" under Windows 10 environment using Java #16821
Labels
api:Java
issues related to the Java API
ep:CUDA
issues related to the CUDA execution provider
platform:windows
issues related to the Windows platform
Describe the issue
Try to execute the Java code under Windows 10 environment with GPU supported,
onnxruntime_providers_cuda.dll: Can't find dependent libraries will be shown during the code execution. Detail reported under the "To reproduce" section.
The native library "onnxruntime_providers_cuda.dll" extracted from the path "ai/onnxruntime/native/win-x64/" within the onnxruntime_gpu-1.15.1.jar are included within the IDE Eclipse
To reproduce
public static void main (String [] args) {
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
System.loadLibrary("onnxruntime_providers_cuda"); // <-- will show "Can't find dependent libraries" during runtime
}
Urgency
Yes project blocked if no GPU supported
Platform
Windows
OS Version
10
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.15.1
ONNX Runtime API
Java
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
Build cuda_12.2.r12.2/compiler.32965470_0
The text was updated successfully, but these errors were encountered: