Skip To Main Content
Support Knowledge Base

Unable to Use Openvino™ 2025.0 With Onnx Runtime Openvino™ Execution Provider 1.16.2

Content Type: Compatibility   |   Article ID: 000100848   |   Last Reviewed: 05/22/2025

Environment

ONNX Runtime 1.16.2 OpenVINO 2025.0

Description

  • Used OpenVINO™ with Intel i5-8500 CPU and UHD 630 iGPU to deploy the model.
  • Used the Microsoft.ML.OnnxRuntime.OpenVino.1.20.0 NudGet package.
  • Unable to start the program when using this code:

    try{std::vector<std::string> labels = { "test" };//
    readClassNames();std::string onnxpath = "best.onnx";Ort::Env
    env(ORT_LOGGING_LEVEL_WARNING);Ort::SessionOptions
    sessionOptions;sessionOptions.SetIntraOpNumThreads(10);OrtSessionOptionsAppendExecutionProvider_OpenVINO(sessionOptions,"GPU");std::wstring
    modelPathBy = std::wstring(onnxpath.begin(),
    onnxpath.end());Ort::Session session(env, modelPathBy.c_str(),
    sessionOptions);

Resolution

The ONNX Runtime OpenVINO™ Execution Provider is compatible with three latest releases of OpenVINO™:

  • OpenVINO™ 2023.3 with ONNX Runtime 1.17.1
  • OpenVINO™ 2024.1 with ONNX Runtime 1.18.0
  • OpenVINO™ 2024.3 with ONNX Runtime 1.19.0

Additional information

Refer to ONNX Runtime Requirements for details.

Related Products

This article applies to 3 products.
Intel® Xeon Phi™ Processor Software OpenVINO™ toolkit Performance Libraries