-
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
[Build] Is it possible to build onnxruntime with DirectML EP statically? #17774
Comments
Your build log looks ok -- it finished the build but failed one post-build test.
Since this kind of error is usually reasonable, I'd ignore it for now. Do you see other problems during the build? |
I am not sure. Maybe you can find answer in the section of building DirectML execution provider at onnxruntime/cmake/onnxruntime_providers.cmake Line 1318 in 992f3e4
|
xeetu: So there's the:
Like Wei-Sheng said, I'm not seeing any actual build errors, just a test failure that's not unreasonably far away. If you run with |
I guess you just need to use DirectML.dll as a |
This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs. If further support is needed, please provide an update and/or more details. |
Describe the issue
Urgency
As soon as possible, the project is under development.
Target platform
Windows
Build script
./build.bat --config Release --parallel --enable_msvc_static_runtime --use_dml (I used this command to build, I attach a file with test results. There were no errors when building a single onnxruntime.)
Error / output
tests.txt
Visual Studio Version
2022
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: