diff --git a/backends/openvino/README.md b/backends/openvino/README.md index 95a5f4c364e..5a9be650c44 100644 --- a/backends/openvino/README.md +++ b/backends/openvino/README.md @@ -40,7 +40,9 @@ executorch ### Prerequisites -Before you begin, ensure you have openvino installed and configured on your system: +Before you begin, ensure you have openvino installed and configured on your system. + +### Build OpenVINO from Source ```bash git clone https://github.com/openvinotoolkit/openvino.git @@ -56,7 +58,19 @@ cmake --install build --prefix cd source setupvars.sh ``` -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. + +### Use OpenVINO from Release Packages + +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. + +2. Extract the release package from the archive and set the environment variables. + + ```bash + tar -zxf openvino_toolkit_.tgz + cd openvino_toolkit_ + source setupvars.sh + ``` + For more information about OpenVINO build, refer to the [OpenVINO Build Instructions](https://github.com/openvinotoolkit/openvino/blob/master/docs/dev/build_linux.md). ### Setup @@ -78,7 +92,7 @@ Follow the steps below to setup your build environment: ```bash ./openvino_build.sh ``` - **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. + **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. ```bash ./openvino_build.sh --enable_python diff --git a/docs/source/build-run-openvino.md b/docs/source/build-run-openvino.md index db3d221ffc7..dc6f098850f 100644 --- a/docs/source/build-run-openvino.md +++ b/docs/source/build-run-openvino.md @@ -11,8 +11,8 @@ In this tutorial we will walk you through the process of setting up the prerequi :::{grid-item-card} Tutorials we recommend you complete before this: :class-card: card-prerequisites * [Introduction to ExecuTorch](intro-how-it-works.md) -* [Setting up ExecuTorch](getting-started-setup.md) -* [Building ExecuTorch with CMake](runtime-build-and-cross-compilation.md) +* [Setting up ExecuTorch](getting-started.md) +* [Building ExecuTorch with CMake](using-executorch-building-from-source.md) ::: ::::