onnxruntime
onnxruntime copied to clipboard
RUNTIME_EXCEPTION, 80070057 The parameter is incorrect in v1.17.3
Describe the issue
When running inference on DirectML EP I get the following error:
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Add node. Name:'StatefulPartitionedCall/generator/tf.__operators__.add/AddV2' Status Message: D:\a\_work\1\s\onnxruntime\core\providers\dml\DmlExecutionProvider\src\MLOperatorAuthorImpl.cpp(2482)\onnxruntime_pybind11_state.pyd!00007FFDEA13C46F: (caller: 00007FFDEA13DC21) Exception(3) tid(1828) 80070057 The parameter is incorrect.
I have seen similar issues reported #19405 and #18666, but they seem to be solved updating to v1.17.1
. I am using v1.17.3
.
To reproduce
I am not able to reproduce the issue. One of our user reported the error.
Our inference call is very basic with the addition of ort_options.execution_mode = ort.ExecutionMode.ORT_PARALLEL
.
We are inferencing a u-net model.
Urgency
Very urgent.
Platform
Windows
OS Version
win10 Pro, 10.0.19045
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.17.3
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Default CPU, DirectML
Execution Provider Library Version
No response