djl
djl copied to clipboard
ONNXRuntime on Windows GPU is missing dependencies
Description
(Ported from Wechat) After switching to Windows, our team observed that onnxruntime_providers_cuda.dll cannot be loaded due to unsatisfied link.
This is for the version of CUDA 11.4 and CUDNN 8.2.2.26.
Expected Behavior
The dll should be loaded correctly without error
What have you tried to solve it?
We managed to solve it by manually copy all dependencies to the folder. After setting
onnx.runntime.path
with all dependencies, problem solved.