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.
This commit is contained in:
Anastasia Kuporosova 2023-05-18 16:33:30 +02:00 committed by GitHub
parent 25125b5b91
commit 89d77df4cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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:\ <openvino_install_directory>\setupvars.bat
```
* **Linux**