From 45c01fb1fc8526f7f6f6e0dbd9d7a720427b586e Mon Sep 17 00:00:00 2001 From: suryasidd Date: Tue, 1 Apr 2025 09:48:41 -0700 Subject: [PATCH 1/4] Fixed some broken links in docs --- backends/openvino/README.md | 2 +- docs/source/build-run-openvino.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backends/openvino/README.md b/backends/openvino/README.md index 95a5f4c364e..f5fcb635c57 100644 --- a/backends/openvino/README.md +++ b/backends/openvino/README.md @@ -78,7 +78,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) ::: :::: From dd12f97d3927eed0992dbe7631b6b48c258d3223 Mon Sep 17 00:00:00 2001 From: suryasidd Date: Mon, 14 Apr 2025 15:10:19 -0700 Subject: [PATCH 2/4] Added instructions to install OpenVINO from release packages --- backends/openvino/README.md | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/backends/openvino/README.md b/backends/openvino/README.md index f5fcb635c57..8d8d23d8ac5 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,27 @@ 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. + +### Build 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 + +#### Linux + ```bash + tar -zxf openvino_toolkit_.tgz + cd openvino_toolkit_ + source setupvars.sh + ``` + +#### Windows + ```bash + tar -xf openvino_toolkit_.zip + cd openvino_toolkit_ + setupvars.bat + ``` + 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 From d56ccc89a166c69d7b4a76af0538398412b02d3f Mon Sep 17 00:00:00 2001 From: suryasidd Date: Mon, 14 Apr 2025 15:22:50 -0700 Subject: [PATCH 3/4] Minor updates --- backends/openvino/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backends/openvino/README.md b/backends/openvino/README.md index 8d8d23d8ac5..a95e62a4b88 100644 --- a/backends/openvino/README.md +++ b/backends/openvino/README.md @@ -40,7 +40,7 @@ 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 @@ -61,9 +61,9 @@ source setupvars.sh ### Build 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 +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 +2. Extract the release package from the archive and set the environment variables. #### Linux ```bash From 73148e7c18b71cc4f401825cea7133745de27427 Mon Sep 17 00:00:00 2001 From: suryasidd Date: Mon, 14 Apr 2025 16:00:29 -0700 Subject: [PATCH 4/4] Removed windows instructions --- backends/openvino/README.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/backends/openvino/README.md b/backends/openvino/README.md index a95e62a4b88..5a9be650c44 100644 --- a/backends/openvino/README.md +++ b/backends/openvino/README.md @@ -59,26 +59,18 @@ cd source setupvars.sh ``` -### Build OpenVINO from Release Packages +### 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. -#### Linux ```bash tar -zxf openvino_toolkit_.tgz cd openvino_toolkit_ source setupvars.sh ``` -#### Windows - ```bash - tar -xf openvino_toolkit_.zip - cd openvino_toolkit_ - setupvars.bat - ``` - 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