[Build] Can't run dml with nodejs after building #23027
Labels
api:Javascript
issues related to the Javascript API
build
build issues; typically submitted using template
ep:DML
issues related to the DirectML execution provider
Describe the issue
I'm following the docs here:
https://onnxruntime.ai/docs/get-started/with-javascript/node.html
and here:
https://onnxruntime.ai/docs/build/inferencing.html
I have successfully build the lib for usage with dml:
.\build.bat --config RelWithDebInfo --build_shared_lib --build_nodejs --parallel --use_dml --parallel
and installed the lib from source into my project
But when I try to use it dml:
it gives a warning:
Urgency
No response
Target platform
Node.js
Build script
.\build.bat --config RelWithDebInfo --build_shared_lib --build_nodejs --parallel --use_dml --parallel
Error / output
Running InferenceSession.create with verbose return:
Looks like DmlExecutionProvider was enable but the lib fallback to CPU execution provider
What could be wrong here?
Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: