djl icon indicating copy to clipboard operation
djl copied to clipboard

ONNXRuntime on Windows GPU is missing dependencies

Open lanking520 opened this issue 3 years ago • 0 comments

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.

lanking520 avatar Apr 15 '22 17:04 lanking520