Skip to content

Commit 0e6d3a9

Browse files
committed
Install OpenVINO 2026.4.1 for YOLO26 and allow OpenVINO 2026 in the extra
The YOLO26 test script and its README installed an OpenVINO nightly that OpenVINO has deleted, so the install fails. Install the 2026.4.1 release instead, the same one the CI setup script uses. The openvino pip extra, the docs and the runtime error message capped OpenVINO below 2026.0.0, while CI runs the backend on 2026.4.1. Allow 2025.1.0 up to, but not including, 2027.0.0. The extra still skips Linux aarch64 with Python 3.14. OpenVINO now publishes builds there, but they need glibc 2.35, while the ExecuTorch wheel needs only 2.28, so dropping the bound would make the extra fail to install on older systems. The comment and the docs now give that reason.
1 parent 59ad9e6 commit 0e6d3a9

8 files changed

Lines changed: 17 additions & 14 deletions

File tree

‎.ci/scripts/test_yolo26.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ if [[ "${MODE}" =~ .*openvino.* ]]; then
7676
OPENVINO=ON
7777
TARGET_LIBS="$TARGET_LIBS openvino_backend "
7878

79-
# Install specific OpenVINO runtime from pip.
80-
$PYTHON_EXECUTABLE -m pip install --pre openvino==2026.1.0.dev20260131 --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
79+
# The same OpenVINO release that setup-openvino.sh installs.
80+
$PYTHON_EXECUTABLE -m pip install openvino==2026.4.1
8181
$PYTHON_EXECUTABLE -m pip install -r backends/openvino/requirements.txt
8282

8383
# Set OPENVINO_LIB_PATH so the C++ demo runner can also find libopenvino_c.so.

‎README-wheel.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ to run ExecuTorch `.pte` files, with some restrictions:
3737
* \[Linux and Windows] [OpenVINO](docs/source/build-run-openvino.md) backend is also linked into the
3838
prebuilt module. OpenVINO requires the runtime to be installed separately:
3939
`pip install executorch[openvino]`. For now the extra installs no runtime on Python 3.15,
40-
or on Linux aarch64 with Python 3.14, because the OpenVINO versions it supports publish no
41-
build there.
40+
or on Linux aarch64 with Python 3.14. OpenVINO publishes no build for Python 3.15, and its
41+
aarch64 builds for Python 3.14 need glibc 2.35 or newer.
4242

4343
On Linux, macOS and Windows the runtime, kernels and backends also ship as shared libraries
4444
with headers and a CMake package, so a C++ application can link them without building

‎backends/openvino/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ On Linux and Windows, the OpenVINO backend is included in the ExecuTorch pip whe
2020
pip install executorch[openvino]
2121
```
2222

23-
For now the extra installs no runtime on Python 3.15, or on Linux aarch64 with Python 3.14, because the OpenVINO versions it supports publish no build there.
23+
For now the extra installs no runtime on Python 3.15, or on Linux aarch64 with Python 3.14. OpenVINO publishes no build for Python 3.15, and its aarch64 builds for Python 3.14 need glibc 2.35 or newer.
2424

2525
The backend automatically discovers the OpenVINO C library from the pip-installed package, so no library search path setup is needed.
2626

‎backends/openvino/runtime/OpenvinoBackend.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ bool OpenvinoBackend::ensure_loaded() const {
212212
Error,
213213
"OpenVINO runtime not found (loading '%s' failed: %s). "
214214
"Ensure '%s' can be found (%s), or install with: "
215-
"pip install \"openvino>=2025.1.0,<2026.0.0\"",
215+
"pip install \"openvino>=2025.1.0,<2027.0.0\"",
216216
to_utf8(effective_path).c_str(),
217217
error.c_str(),
218218
to_utf8(kDefaultLibName).c_str(),

‎docs/source/build-run-openvino.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ pip install executorch[openvino]
4444
```
4545

4646
For now the extra installs no runtime on Python 3.15, or on Linux aarch64 with Python
47-
3.14, because the OpenVINO versions it supports publish no build there.
47+
3.14. OpenVINO publishes no build for Python 3.15, and its aarch64 builds for Python 3.14
48+
need glibc 2.35 or newer.
4849

4950
The backend automatically discovers the OpenVINO C library from the pip-installed
5051
package — no environment variable setup is needed.
@@ -60,7 +61,7 @@ If you need a custom build (different platform, custom configuration, etc.), fol
6061
Before you begin, ensure you have the OpenVINO runtime installed and configured on your system. For most users, we recommend installing it via pip:
6162

6263
```bash
63-
pip install "openvino>=2025.1.0,<2026.0.0"
64+
pip install "openvino>=2025.1.0,<2027.0.0"
6465
```
6566

6667
Alternatively, you can build OpenVINO from source or follow the official [OpenVINO installation guide](https://docs.openvino.ai/2025/get-started/install-openvino.html) for platform-specific options:

‎docs/source/using-executorch-cpp.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,8 @@ Without it the delegate still registers and the program still links, and the fai
273273
when the model is loaded.
274274

275275
For now the openvino extra installs no runtime on Python 3.15, or on Linux aarch64 with
276-
Python 3.14, because the OpenVINO versions it supports publish no build there.
276+
Python 3.14. OpenVINO publishes no build for Python 3.15, and its aarch64 builds for Python
277+
3.14 need glibc 2.35 or newer.
277278

278279
The MLX delegate has a similar requirement. Its Metal kernels live in a separate `mlx.metallib`
279280
file, which MLX looks for next to whichever library holds MLX code. The wheel ships it beside the

‎examples/models/yolo26/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ To install ExecuTorch, follow this [guide](https://pytorch.org/executorch/stable
1616

1717
- [OpenVINO backend installation guide](../../../backends/openvino/README.md#quick-start-pip-wheel)
1818

19-
> **_NOTE:_** Please install the OpenVINO nightly version that supports the YOLO26 model.
19+
> **_NOTE:_** Please install the OpenVINO version that supports the YOLO26 model.
2020
```bash
21-
python -m pip install --pre openvino==2026.1.0.dev20260131 --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
21+
python -m pip install openvino==2026.4.1
2222
```
2323

2424
- [XNNPACK backend installation guide](https://pytorch.org/executorch/stable/tutorial-xnnpack-delegate-lowering.html#running-the-xnnpack-model-with-cmake)

‎pyproject.toml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,10 @@ ethos_u = [
8686
"tosa-tools==2026.5.0",
8787
]
8888
openvino = [
89-
# The OpenVINO versions in this range publish no build for Python 3.15, or for Linux
90-
# aarch64 on Python 3.14, so without these bounds pip fails to install the extra there.
91-
"openvino>=2025.1.0,<2026.0.0; (platform_system == 'Linux' or (platform_system == 'Windows' and platform_machine == 'AMD64')) and python_version < '3.15' and (platform_machine != 'aarch64' or python_version < '3.14')",
89+
# OpenVINO publishes no build for Python 3.15, and its Linux aarch64 builds for Python
90+
# 3.14 need glibc 2.35 while the wheel needs only 2.28. Without these bounds pip fails to
91+
# install the extra on Python 3.15 and on those older aarch64 systems.
92+
"openvino>=2025.1.0,<2027.0.0; (platform_system == 'Linux' or (platform_system == 'Windows' and platform_machine == 'AMD64')) and python_version < '3.15' and (platform_machine != 'aarch64' or python_version < '3.14')",
9293
]
9394

9495
[project.urls]

0 commit comments

Comments
 (0)