From 89d77df4cc4c4aae5ee076408cc45f2db170abac Mon Sep 17 00:00:00 2001 From: Anastasia Kuporosova Date: Thu, 18 May 2023 16:33:30 +0200 Subject: [PATCH] Update OpenVINO Execution Provider doc (#15679) ### Description Update OpenVINO Execution Provider documentation for python ### Motivation and Context `onnxruntime-openvino` doesn't have dependency on OpenVINO Python API itself, it needs OpenVINO libs. Moreover, `add_openvino_libs_to_path()` meant to be internal, right now it doesn't work and will be deprecated in the upcoming OpenVINO release. The recommended way is to install an archive with libraries and run setupvars to add OpenVINO libraries to PATH. --- .../OpenVINO-ExecutionProvider.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/execution-providers/OpenVINO-ExecutionProvider.md b/docs/execution-providers/OpenVINO-ExecutionProvider.md index 2cb6a0453a..89b672b47c 100644 --- a/docs/execution-providers/OpenVINO-ExecutionProvider.md +++ b/docs/execution-providers/OpenVINO-ExecutionProvider.md @@ -50,15 +50,12 @@ pip install onnxruntime-openvino * **Windows** - To enable OpenVINO™ Execution Provider with ONNX Runtime on Windows we must install OpenVINO™ separately: - ``` - pip install openvino - ``` - Code to be added in ONNX Runtime Windows Samples: - ``` - import openvino.utils as utils - utils.add_openvino_libs_to_path() - ``` + To enable OpenVINO™ Execution Provider with ONNX Runtime on Windows it is must to set up the OpenVINO™ Environment Variables using the full installer package of OpenVINO™. + Initialize the OpenVINO™ environment by running the setupvars script as shown below. This is a required step: + + ``` + C:\ \setupvars.bat + ``` * **Linux**