-
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
Import error with onnxruntime-directml 1.18.1 #21270
Comments
I'm having the exactly same issue. Tried many things but still haven't found a solution yet. |
Current workaround is to install onnxruntime-directml==1.18.0 instead |
Previously I install the latest visual studio 17.10.x and build onnxruntime wheel. have this problem to use 17.10.x. |
Latest release has bumped vcredist requirement to 14.38. Downloading and updating to 14.40 seems to help, but not sure if that's the only required fix. Github runners have 14.40 installed, and builds made with pyinstaller fail with the same problem. |
You can try |
I have encountered a similar issue. I was using 14.29 vcredist, updating to 14.40 and then, resolved this error. |
Thanks, this solved the problem! |
In case you use pip, msvc-runtime package also helps (and works with pyinstaller distributions). Thanks for the idea! :D |
wtf.. this issue suffered me for 2 weeks. |
Describe the issue
I'm encountering a dll load error with onnxruntime-directml 1.18.1 on a Windows11 system:
Issue is not seen with onnxruntime 1.18.1 or with onnxruntime-directml 1.18.0
To reproduce
Urgency
Regression in onnxruntime-directml, urgent for users on the latest
Platform
Windows
OS Version
11 Pro Build 22631
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
onnxruntime-directml 1.18.1
ONNX Runtime API
Python
Architecture
X64
Execution Provider
DirectML
Execution Provider Library Version
1.18.1
The text was updated successfully, but these errors were encountered: