Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- [Post-Training Optimization of PaddleOCR-VL/PaddleOCR-VL-1.5 Models](https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/paddleocr_vl/paddleocr_vl.ipynb)
- [Post-Training Optimization of RAG pipeline](https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/llm-rag-langchain/llm-rag-langchain-eval.ipynb)
- Requirements:
- Updated to `openvino` 2026.1.0 (https://github.com/openvinotoolkit/nncf/pull/4005).
- Updated to `openvino` 2026.2.0rc1 (https://github.com/openvinotoolkit/nncf/pull/4005).
- Updated to `torch` 2.10.0 (https://github.com/openvinotoolkit/nncf/pull/3852).
- Updated to `onnx` 1.20.1 (https://github.com/openvinotoolkit/nncf/pull/3966).
- Updated to `onnxruntime` 1.24.3 (https://github.com/openvinotoolkit/nncf/pull/3977).
Expand Down
2 changes: 1 addition & 1 deletion constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Openvino
openvino==2026.1.0
openvino==2026.2.0rc1

# Pytorch
torch==2.10.0
Expand Down
2 changes: 1 addition & 1 deletion docs/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ as well as the supported versions of Python:

| NNCF | OpenVINO | PyTorch | ONNX | TensorFlow | Python |
|-----------|------------|----------|----------|------------|--------|
| `develop` | `2026.1.0` | `2.10.0` | `1.21.0` | | `3.12` |
| `3.2.0` | `2026.2.0` | `2.10.0` | `1.21.0` | | `3.12` |
| `3.1.0` | `2026.1.0` | `2.10.0` | `1.21.0` | | `3.10` |
| `3.0.0` | `2026.0.0` | `2.9.0` | `1.17.0` | | `3.10` |
| `2.19.0` | `2025.4.0` | `2.8.0` | `1.17.0` | `2.15.1` | `3.10` |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
transformers==4.53.0
openvino==2026.1.0
openvino==2026.2.0rc1
optimum-intel[openvino]==1.27.0
optimum-onnx==0.1.0
optimum==2.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
torch==2.10.0
transformers==4.53.0
openvino==2026.1.0
openvino==2026.2.0rc1
optimum-intel[openvino]==1.27.0
optimum-onnx==0.1.0
optimum==2.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
datasets==4.6.1
openvino==2026.1.0
openvino==2026.2.0rc1
optimum-intel[openvino]==1.27.0
optimum-onnx==0.1.0
optimum==2.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
openvino==2026.1.0
openvino==2026.2.0rc1
optimum-intel[openvino]==1.27.0
optimum-onnx==0.1.0
optimum==2.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
datasets==4.6.1
openvino==2026.1.0
openvino==2026.2.0rc1
optimum-intel[openvino]==1.27.0
optimum-onnx==0.1.0
optimum==2.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
datasets==4.6.1
onnx==1.21.0
openvino==2026.1.0
openvino==2026.2.0rc1
optimum-intel[openvino]==1.27.0
optimum-onnx==0.1.0
optimum==2.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
whowhatbench @ git+https://github.com/AlexanderDokuchaev/openvino.genai@light_req#subdirectory=tools/who_what_benchmark
numpy==1.26.4
openvino==2026.1.0
openvino==2026.2.0rc1
optimum-intel==1.27.0
optimum-onnx==0.1.0
optimum==2.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
torch==2.10.0
datasets==4.6.1
numpy>=1.23.5,<2
openvino==2026.1.0
openvino==2026.2.0rc1
optimum-intel==1.27.0
optimum-onnx==0.1.0
optimum==2.1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ tensorboard==2.20.0
torch==2.10.0
torchao==0.17.0
numpy>=1.23.5,<2
openvino==2026.1.0
openvino==2026.2.0rc1
optimum-intel==1.27.0
optimum-onnx==0.1.0
optimum==2.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tensorboard==2.20.0
torch==2.10.0
numpy>=1.23.5,<2
openvino==2026.1.0
openvino==2026.2.0rc1
optimum-intel==1.27.0
optimum-onnx==0.1.0
optimum==2.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
transformers==4.53.0
datasets==4.6.1
openvino==2026.1.0
openvino==2026.2.0rc1
optimum==2.1.0
torch==2.10.0
torchvision==0.25.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ fastcore==1.11.5
onnx==1.21.0
onnxruntime==1.23.2; python_version < '3.11'
onnxruntime==1.24.3; python_version >= '3.11'
openvino==2026.1.0
openvino==2026.2.0rc1
numpy<2
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ ultralytics==8.3.221
onnx==1.21.0
onnxruntime==1.23.2; python_version < '3.11'
onnxruntime==1.24.3; python_version >= '3.11'
openvino==2026.1.0
openvino==2026.2.0rc1
torch==2.10.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
anomalib==0.6.0
openvino==2026.1.0
openvino==2026.2.0rc1
numpy<2
setuptools==81.0.0
pandas==2.3.3
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ scikit-learn
fastdownload==0.0.7
fastprogress==1.0.5
fastcore==1.11.5
openvino==2026.1.0
openvino==2026.2.0rc1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ultralytics==8.4.21
onnx==1.21.0
openvino==2026.1.0
openvino==2026.2.0rc1
torch==2.10.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ultralytics==8.3.221
onnx==1.21.0
openvino==2026.1.0
openvino==2026.2.0rc1
torch==2.10.0
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fastdownload==0.0.7
fastprogress==1.0.5
fastcore==1.11.5
openvino==2026.1.0
openvino==2026.2.0rc1
scikit-learn
torch==2.10.0
torchvision==0.25.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ fastdownload==0.0.7
fastprogress==1.0.5
fastcore==1.11.5
onnx==1.21.0
openvino==2026.1.0
openvino==2026.2.0rc1
pycocotools==2.0.7
torch==2.10.0
torchmetrics==1.0.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fastdownload==0.0.7
fastprogress==1.0.5
fastcore==1.11.5
openvino==2026.1.0
openvino==2026.2.0rc1
torch==2.10.0
torchvision==0.25.0
torchao==0.17.0
2 changes: 1 addition & 1 deletion examples/pruning/torch/resnet18/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fastdownload==0.0.7
fastprogress==1.0.5
fastcore==1.11.5
openvino==2026.1.0
openvino==2026.2.0rc1
torch==2.10.0
torchvision==0.25.0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fastdownload==0.0.7
fastprogress==1.0.5
fastcore==1.11.5
openvino==2026.1.0
openvino==2026.2.0rc1
torch==2.10.0
torchvision==0.25.0
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ namespaces = false
[tool.md_dead_link_check]
exclude_files = ["ReleaseNotes.md"]

[[tool.uv.index]]
name = "openvino-rc"
url = "https://storage.openvinotoolkit.org/simple/wheels/nightly"

[tool.uv.sources]
openvino = { index = "openvino-rc" }

[tool.uv]
index-strategy = "unsafe-best-match"

[tool.mypy]
follow_imports = "silent"
strict = true
Expand Down
2 changes: 1 addition & 1 deletion tests/cross_fw/examples/example_scope.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"accuracy_metrics": {
"fp32_mAP": 0.44964819083938,
"int8_mAP": 0.4507030984145927,
"accuracy_drop": -0.0010549075752127046
"accuracy_drop": -0.0009941002422954037
},
"performance_metrics": {
"fp32_fps": 134.48,
Expand Down
13 changes: 6 additions & 7 deletions tests/cross_fw/examples/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

from tests.cross_fw.shared.case_collection import skip_if_backend_not_selected
from tests.cross_fw.shared.command import Command
from tests.cross_fw.shared.helpers import OPENVINO_PIP_EXTRA_FLAGS
from tests.cross_fw.shared.helpers import create_venv_with_nncf
from tests.cross_fw.shared.helpers import get_pip_executable_with_venv
from tests.cross_fw.shared.helpers import get_python_executable_with_venv
Expand Down Expand Up @@ -105,28 +106,26 @@ def test_examples(
if "whowhatbench" in requirements_content:
install_wwb = True

run_cmd_line = f"{pip_with_venv} install -r {requirements}"
run_cmd_line = f"{pip_with_venv} install {OPENVINO_PIP_EXTRA_FLAGS} -r {requirements}"
print(f"Installing requirements: {run_cmd_line}")
subprocess.run(run_cmd_line, check=True, shell=True)

extra_requirements = example_params.get("extra_requirements")
if extra_requirements:
run_cmd_line = f"{pip_with_venv} install -r {PROJECT_ROOT / extra_requirements} --no-build-isolation"
requirements_path = PROJECT_ROOT / extra_requirements
run_cmd_line = f"{pip_with_venv} install {OPENVINO_PIP_EXTRA_FLAGS} -r {requirements_path} --no-build-isolation"
print(f"Installing extra_requirements: {run_cmd_line}")
subprocess.run(run_cmd_line, check=True, shell=True)

if ov_version_override is not None:
ov_version_cmd_line = f"{pip_with_venv} install {ov_version_override}"
ov_version_cmd_line = f"{pip_with_venv} install {OPENVINO_PIP_EXTRA_FLAGS} {ov_version_override}"
uninstall_cmd_line = f"{pip_with_venv} uninstall --yes openvino-genai openvino_tokenizers"
extra_index_url = "https://storage.openvinotoolkit.org/simple/wheels/nightly"
print(f"Installing OpenVINO version override: {ov_version_cmd_line}")
subprocess.run(ov_version_cmd_line, check=True, shell=True)

if install_wwb:
wwb_module_string = "whowhatbench@git+https://github.com/openvinotoolkit/openvino.genai.git#subdirectory=tools/who_what_benchmark"
wwb_override_cmd_line = (
f"{pip_with_venv} install --pre --extra-index-url {extra_index_url} {wwb_module_string}"
)
wwb_override_cmd_line = f"{pip_with_venv} install {OPENVINO_PIP_EXTRA_FLAGS} {wwb_module_string}"
print(f"Uninstalling OpenVINO packages: {uninstall_cmd_line}")
subprocess.run(uninstall_cmd_line, check=True, shell=True)
print(f"Installing WWB module: {wwb_override_cmd_line}")
Expand Down
4 changes: 3 additions & 1 deletion tests/cross_fw/install/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ def test_install(
pytest.xfail("Disabled until NNCF is exposed in a release")
venv_path = create_venv_with_nncf(removable_tmp_path, package_type, "venv", {backend})
if ov_version_override is not None:
from tests.cross_fw.shared.helpers import OPENVINO_PIP_EXTRA_FLAGS

pip_with_venv = get_pip_executable_with_venv(venv_path)
ov_version_cmd_line = f"{pip_with_venv} install {ov_version_override}"
ov_version_cmd_line = f"{pip_with_venv} install {OPENVINO_PIP_EXTRA_FLAGS} {ov_version_override}"
subprocess.run(ov_version_cmd_line, check=True, shell=True)
run_install_checks(
venv_path, removable_tmp_path, package_type, backend=backend, install_type=host_configuration_clopt
Expand Down
8 changes: 7 additions & 1 deletion tests/cross_fw/shared/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
from tests.cross_fw.shared.paths import GITHUB_REPO_URL
from tests.cross_fw.shared.paths import PROJECT_ROOT

# For tests, it is in a shared place so that other tests can use it too.
OPENVINO_EXTRA_INDEX_URL = "https://storage.openvinotoolkit.org/simple/wheels/nightly"
OPENVINO_PIP_EXTRA_FLAGS = f"--pre --extra-index-url {OPENVINO_EXTRA_INDEX_URL}"


def is_windows() -> bool:
return "win32" in sys.platform
Expand Down Expand Up @@ -122,7 +126,9 @@ def create_venv_with_nncf(tmp_path: Path, package_type: str, venv_type: str, bac
# Install backend specific packages with according version from constraints.txt
packages = [item for b in backends for item in MAP_BACKEND_PACKAGES[b]]
extra_reqs = " ".join(packages)
cmd_install_backends = f"{pip_with_venv} install {extra_reqs} -c {PROJECT_ROOT}/constraints.txt"
cmd_install_backends = (
f"{pip_with_venv} install {OPENVINO_PIP_EXTRA_FLAGS} {extra_reqs} -c {PROJECT_ROOT}/constraints.txt"
)
print(f"Installing backend packages: {cmd_install_backends}")
subprocess.run(
cmd_install_backends,
Expand Down
2 changes: 2 additions & 0 deletions tests/post_training/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
-c ../../constraints.txt
--pre
--extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
Comment on lines +2 to +3
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for PTQ


datasets
matplotlib # required for the memory monitor tool
Expand Down