Description:
OpenVINO™ Execution Provider For ONNXRuntime v5.4 Release based on the latest OpenVINO™ 2024.3 Release and OnnxRuntime 1.19.0 Release
For all the latest information, Refer to our official documentation:
https://onnxruntime.ai/docs/execution-providers/OpenVINO-ExecutionProvider.html
This release supports ONNXRuntime 1.19.0 with the latest OpenVINO™ 2024.3 release.
Please refer to the OpenVINO™ Execution Provider For ONNXRuntime build instructions for information on system pre-requisites as well as instructions to build from source.
https://onnxruntime.ai/docs/build/eps.html#openvino
Modifications:
- Supports OpenVINO 2024.3.
- Support for disabling NPU to OV CPU Fallback during build time and disabling MLAS fallback and OV CPU fallback during run time.
- Support ep_context as session options instead of provider options .
- Added QDQ Optimization Feature for NPU device and QDQ models.
Samples:
https://github.com/microsoft/onnxruntime-inference-examples
Python Package:
https://pypi.org/project/onnxruntime-openvino/
Installation and usage Instructions on Windows:
pip install onnxruntime-openvino
/* Steps If using python openvino package to set openvino runtime environment */
pip install openvino==2024.3.0
<Add these 2 lines in the application code>
import onnxruntime.tools.add_openvino_win_libs as utils
utils.add_openvino_libs_to_path()
C# Package:
Download the Microsoft.ML.OnnxRuntime.Managed nuget from the below link and use it with the
Microsoft.ML.OnnxRuntime.OpenVino nuget attached here.
https://www.nuget.org/packages/Microsoft.ML.OnnxRuntime.Managed/1.19.0
ONNXRuntime APIs usage:
Please refer to the link below for Python/C++ APIs:
https://onnxruntime.ai/docs/execution-providers/OpenVINO-ExecutionProvider.html#configuration-options