You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a workaround, I tried to remove the openvino_intel_npu_plugin.dll.
appending the execution provider is working, but creating the session later fails with this exception:
Exception during initialization: Exception from src\inference\src\cpp\core.cpp:265:
Exception from src\inference\src\dev\core_impl.cpp:567:
Device with "NPU" name is not registered in the OpenVINO Runtime
Also onnxruntime_perf_test.exe failes for OpenVINO - just without any error message.
C:\dev\onnxruntime-1.20.1\build\Windows\RelWithDebInfo\RelWithDebInfo>onnxruntime_perf_test.exe -m times -r 1 -I testdata\test_resize.onnx
Session creation time cost: 0.008206 s
First inference time cost: 0 ms
Total inference time cost: 5.77e-05 s
...
fine for DML:
C:\dev\onnxruntime-1.20.1\build\Windows\RelWithDebInfo\RelWithDebInfo>onnxruntime_perf_test.exe -e dml -m times -r 1 -I testdata\test_resize.onnx
Session creation time cost: 0.33271 s
First inference time cost: 47 ms
Total inference time cost: 0.0004038 s
Total inference requests: 1
...
no output for openvino:
C:\dev\onnxruntime-1.20.1\build\Windows\RelWithDebInfo\RelWithDebInfo>onnxruntime_perf_test.exe -e openvino -m times -r 1 -I testdata\test_resize.onnx
Describe the issue
onnxruntime crashes in openvino_npu_plugin.dll when addingthe OpenVINO execution provider for CPU:
Callstack:
To reproduce
Immediately crashed when adding the execution provider (see above).
onnxruntime build command:
build.bat --build --update --parallel --compile_no_warning_as_error --config RelWithDebInfo --use_openvino CPU --use_dml --build_shared_lib --skip_tests --cmake_extra_defines CMAKE_INSTALL_PREFIX=c:\dev\ort_1.20.1-install
As a workaround, I tried to remove the
openvino_intel_npu_plugin.dll
.appending the execution provider is working, but creating the session later fails with this exception:
Also onnxruntime_perf_test.exe failes for OpenVINO - just without any error message.
fine for CPU:
fine for DML:
no output for openvino:
There is a similar issue openvinotoolkit/openvino#26567, but this should have been fixed with OpenVINO 2024.5
Urgency
No response
Platform
Windows
OS Version
Windows 10, 22H2
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.20.1
ONNX Runtime API
C++
Architecture
X64
Execution Provider
OpenVINO
Execution Provider Library Version
openvino 2024.5
The text was updated successfully, but these errors were encountered: