Skip to content

Commit ad7cd2b

Browse files
authored
Documentation updates for OpenVINO backend (#10172)
### Summary Addressed issues with broken links and added instructions for installing and using OpenVINO from release packages. CC: @ynimmaga @cavusmustafa @alexsu52 @daniil-lyakhov
1 parent 96c10bb commit ad7cd2b

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

backends/openvino/README.md

+17-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ executorch
4040

4141
### Prerequisites
4242

43-
Before you begin, ensure you have openvino installed and configured on your system:
43+
Before you begin, ensure you have openvino installed and configured on your system.
44+
45+
### Build OpenVINO from Source
4446

4547
```bash
4648
git clone https://github.com/openvinotoolkit/openvino.git
@@ -56,7 +58,19 @@ cmake --install build --prefix <your_preferred_install_location>
5658
cd <your_preferred_install_location>
5759
source setupvars.sh
5860
```
59-
Note: The OpenVINO backend is not yet supported with the current OpenVINO release packages. It is recommended to build from source. The instructions for using OpenVINO release packages will be added soon.
61+
62+
### Use OpenVINO from Release Packages
63+
64+
1. Download the OpenVINO release package from [here](https://docs.openvino.ai/2025/get-started/install-openvino.html). Make sure to select your configuration and click on **OpenVINO Archives** under the distribution section to download the appropriate archive for your platform.
65+
66+
2. Extract the release package from the archive and set the environment variables.
67+
68+
```bash
69+
tar -zxf openvino_toolkit_<your_release_configuration>.tgz
70+
cd openvino_toolkit_<your_release_configuration>
71+
source setupvars.sh
72+
```
73+
6074
For more information about OpenVINO build, refer to the [OpenVINO Build Instructions](https://github.com/openvinotoolkit/openvino/blob/master/docs/dev/build_linux.md).
6175

6276
### Setup
@@ -78,7 +92,7 @@ Follow the steps below to setup your build environment:
7892
```bash
7993
./openvino_build.sh
8094
```
81-
**Build OpenVINO Backend Python Package with Pybindings**: To build and install the OpenVINO backend Python package with Python bindings, run the `openvino_build.sh` script with the `--enable_python` argument. This will compile and install the ExecuTorch Python package with the OpenVINO backend into your Python environment. This option will also enable python bindings required to execute OpenVINO backend tests and `export_and_infer_openvino.py` script inside `executorch/examples/openvino` folder.
95+
**Build OpenVINO Backend Python Package with Pybindings**: To build and install the OpenVINO backend Python package with Python bindings, run the `openvino_build.sh` script with the `--enable_python` argument. This will compile and install the ExecuTorch Python package with the OpenVINO backend into your Python environment. This option will also enable python bindings required to execute OpenVINO backend tests and `aot_optimize_and_infer.py` script inside `executorch/examples/openvino` folder.
8296

8397
```bash
8498
./openvino_build.sh --enable_python

docs/source/build-run-openvino.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ In this tutorial we will walk you through the process of setting up the prerequi
1111
:::{grid-item-card} Tutorials we recommend you complete before this:
1212
:class-card: card-prerequisites
1313
* [Introduction to ExecuTorch](intro-how-it-works.md)
14-
* [Setting up ExecuTorch](getting-started-setup.md)
15-
* [Building ExecuTorch with CMake](runtime-build-and-cross-compilation.md)
14+
* [Setting up ExecuTorch](getting-started.md)
15+
* [Building ExecuTorch with CMake](using-executorch-building-from-source.md)
1616
:::
1717
::::
1818

0 commit comments

Comments
 (0)