diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 74f2bfc28ed..32d80974788 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -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). diff --git a/constraints.txt b/constraints.txt index 46d0a81352d..63a423426bc 100644 --- a/constraints.txt +++ b/constraints.txt @@ -1,5 +1,5 @@ # Openvino -openvino==2026.1.0 +openvino==2026.2.0rc1 # Pytorch torch==2.10.0 diff --git a/docs/Installation.md b/docs/Installation.md index 39a6d4044a1..0c1753a199f 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -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` | diff --git a/examples/llm_compression/onnx/tiny_llama/requirements.txt b/examples/llm_compression/onnx/tiny_llama/requirements.txt index da06b75ca75..a8ad447e3d1 100644 --- a/examples/llm_compression/onnx/tiny_llama/requirements.txt +++ b/examples/llm_compression/onnx/tiny_llama/requirements.txt @@ -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 diff --git a/examples/llm_compression/onnx/tiny_llama_scale_estimation/requirements.txt b/examples/llm_compression/onnx/tiny_llama_scale_estimation/requirements.txt index 9db40711362..c67c054d8b7 100644 --- a/examples/llm_compression/onnx/tiny_llama_scale_estimation/requirements.txt +++ b/examples/llm_compression/onnx/tiny_llama_scale_estimation/requirements.txt @@ -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 diff --git a/examples/llm_compression/openvino/smollm2_360m_adaptive_codebook/requirements.txt b/examples/llm_compression/openvino/smollm2_360m_adaptive_codebook/requirements.txt index bd88681b569..4132985ea46 100644 --- a/examples/llm_compression/openvino/smollm2_360m_adaptive_codebook/requirements.txt +++ b/examples/llm_compression/openvino/smollm2_360m_adaptive_codebook/requirements.txt @@ -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 diff --git a/examples/llm_compression/openvino/smollm2_360m_codebook/requirements.txt b/examples/llm_compression/openvino/smollm2_360m_codebook/requirements.txt index 7d05a8c263d..727e2f6cf9d 100644 --- a/examples/llm_compression/openvino/smollm2_360m_codebook/requirements.txt +++ b/examples/llm_compression/openvino/smollm2_360m_codebook/requirements.txt @@ -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 diff --git a/examples/llm_compression/openvino/smollm2_360m_fp8/requirements.txt b/examples/llm_compression/openvino/smollm2_360m_fp8/requirements.txt index 33be32addbf..a02fd963f75 100644 --- a/examples/llm_compression/openvino/smollm2_360m_fp8/requirements.txt +++ b/examples/llm_compression/openvino/smollm2_360m_fp8/requirements.txt @@ -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 diff --git a/examples/llm_compression/openvino/tiny_llama/requirements.txt b/examples/llm_compression/openvino/tiny_llama/requirements.txt index f643b29e7b9..c0ce922a977 100644 --- a/examples/llm_compression/openvino/tiny_llama/requirements.txt +++ b/examples/llm_compression/openvino/tiny_llama/requirements.txt @@ -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 diff --git a/examples/llm_compression/openvino/tiny_llama_find_hyperparams/requirements.txt b/examples/llm_compression/openvino/tiny_llama_find_hyperparams/requirements.txt index c4552333461..92cfea822e9 100644 --- a/examples/llm_compression/openvino/tiny_llama_find_hyperparams/requirements.txt +++ b/examples/llm_compression/openvino/tiny_llama_find_hyperparams/requirements.txt @@ -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 diff --git a/examples/llm_compression/openvino/tiny_llama_synthetic_data/requirements.txt b/examples/llm_compression/openvino/tiny_llama_synthetic_data/requirements.txt index e941c44f84a..3ef729acfde 100644 --- a/examples/llm_compression/openvino/tiny_llama_synthetic_data/requirements.txt +++ b/examples/llm_compression/openvino/tiny_llama_synthetic_data/requirements.txt @@ -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 diff --git a/examples/llm_compression/torch/distillation_qat_with_lora/requirements.txt b/examples/llm_compression/torch/distillation_qat_with_lora/requirements.txt index 75d6c8ba4aa..8202a8eeb12 100644 --- a/examples/llm_compression/torch/distillation_qat_with_lora/requirements.txt +++ b/examples/llm_compression/torch/distillation_qat_with_lora/requirements.txt @@ -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 diff --git a/examples/llm_compression/torch/downstream_qat_with_nls/requirements.txt b/examples/llm_compression/torch/downstream_qat_with_nls/requirements.txt index 3032a2edce1..eb45d4b8fbc 100644 --- a/examples/llm_compression/torch/downstream_qat_with_nls/requirements.txt +++ b/examples/llm_compression/torch/downstream_qat_with_nls/requirements.txt @@ -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 diff --git a/examples/llm_compression/torch_fx/tiny_llama/requirements.txt b/examples/llm_compression/torch_fx/tiny_llama/requirements.txt index e241a846521..cc5b28518a5 100644 --- a/examples/llm_compression/torch_fx/tiny_llama/requirements.txt +++ b/examples/llm_compression/torch_fx/tiny_llama/requirements.txt @@ -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 diff --git a/examples/post_training_quantization/onnx/mobilenet_v2/requirements.txt b/examples/post_training_quantization/onnx/mobilenet_v2/requirements.txt index 0e8d338ccbc..e30961699d9 100644 --- a/examples/post_training_quantization/onnx/mobilenet_v2/requirements.txt +++ b/examples/post_training_quantization/onnx/mobilenet_v2/requirements.txt @@ -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 diff --git a/examples/post_training_quantization/onnx/yolov8_quantize_with_accuracy_control/requirements.txt b/examples/post_training_quantization/onnx/yolov8_quantize_with_accuracy_control/requirements.txt index 61ae06bebe9..5e7efda4f09 100644 --- a/examples/post_training_quantization/onnx/yolov8_quantize_with_accuracy_control/requirements.txt +++ b/examples/post_training_quantization/onnx/yolov8_quantize_with_accuracy_control/requirements.txt @@ -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 diff --git a/examples/post_training_quantization/openvino/anomaly_stfpm_quantize_with_accuracy_control/requirements.txt b/examples/post_training_quantization/openvino/anomaly_stfpm_quantize_with_accuracy_control/requirements.txt index d4f4ddc4490..39ab8769fec 100644 --- a/examples/post_training_quantization/openvino/anomaly_stfpm_quantize_with_accuracy_control/requirements.txt +++ b/examples/post_training_quantization/openvino/anomaly_stfpm_quantize_with_accuracy_control/requirements.txt @@ -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 diff --git a/examples/post_training_quantization/openvino/mobilenet_v2/requirements.txt b/examples/post_training_quantization/openvino/mobilenet_v2/requirements.txt index 93ca957f089..243bdbc3eab 100644 --- a/examples/post_training_quantization/openvino/mobilenet_v2/requirements.txt +++ b/examples/post_training_quantization/openvino/mobilenet_v2/requirements.txt @@ -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 diff --git a/examples/post_training_quantization/openvino/yolo26/requirements.txt b/examples/post_training_quantization/openvino/yolo26/requirements.txt index eaa28f411ac..072921bc91b 100644 --- a/examples/post_training_quantization/openvino/yolo26/requirements.txt +++ b/examples/post_training_quantization/openvino/yolo26/requirements.txt @@ -1,4 +1,4 @@ ultralytics==8.4.21 onnx==1.21.0 -openvino==2026.1.0 +openvino==2026.2.0rc1 torch==2.10.0 diff --git a/examples/post_training_quantization/openvino/yolov8_quantize_with_accuracy_control/requirements.txt b/examples/post_training_quantization/openvino/yolov8_quantize_with_accuracy_control/requirements.txt index f07ba3934af..a0fbcb8d09f 100644 --- a/examples/post_training_quantization/openvino/yolov8_quantize_with_accuracy_control/requirements.txt +++ b/examples/post_training_quantization/openvino/yolov8_quantize_with_accuracy_control/requirements.txt @@ -1,4 +1,4 @@ ultralytics==8.3.221 onnx==1.21.0 -openvino==2026.1.0 +openvino==2026.2.0rc1 torch==2.10.0 diff --git a/examples/post_training_quantization/torch/mobilenet_v2/requirements.txt b/examples/post_training_quantization/torch/mobilenet_v2/requirements.txt index a74cd1383dd..6a6e182aefe 100644 --- a/examples/post_training_quantization/torch/mobilenet_v2/requirements.txt +++ b/examples/post_training_quantization/torch/mobilenet_v2/requirements.txt @@ -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 diff --git a/examples/post_training_quantization/torch/ssd300_vgg16/requirements.txt b/examples/post_training_quantization/torch/ssd300_vgg16/requirements.txt index c289838eac3..c18877dfe76 100644 --- a/examples/post_training_quantization/torch/ssd300_vgg16/requirements.txt +++ b/examples/post_training_quantization/torch/ssd300_vgg16/requirements.txt @@ -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 diff --git a/examples/post_training_quantization/torch_fx/resnet18/requirements.txt b/examples/post_training_quantization/torch_fx/resnet18/requirements.txt index a00d0702e8d..5140a2b3bf6 100644 --- a/examples/post_training_quantization/torch_fx/resnet18/requirements.txt +++ b/examples/post_training_quantization/torch_fx/resnet18/requirements.txt @@ -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 diff --git a/examples/pruning/torch/resnet18/requirements.txt b/examples/pruning/torch/resnet18/requirements.txt index 0a501b91058..ce449f11471 100644 --- a/examples/pruning/torch/resnet18/requirements.txt +++ b/examples/pruning/torch/resnet18/requirements.txt @@ -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 diff --git a/examples/quantization_aware_training/torch/resnet18/requirements.txt b/examples/quantization_aware_training/torch/resnet18/requirements.txt index 0a501b91058..ce449f11471 100644 --- a/examples/quantization_aware_training/torch/resnet18/requirements.txt +++ b/examples/quantization_aware_training/torch/resnet18/requirements.txt @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 5064f715299..dbe19bb7949 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 diff --git a/tests/cross_fw/examples/example_scope.json b/tests/cross_fw/examples/example_scope.json index c337f46dc59..da8ffd52893 100644 --- a/tests/cross_fw/examples/example_scope.json +++ b/tests/cross_fw/examples/example_scope.json @@ -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, diff --git a/tests/cross_fw/examples/test_examples.py b/tests/cross_fw/examples/test_examples.py index f4c96d98fec..6fefa9563b1 100644 --- a/tests/cross_fw/examples/test_examples.py +++ b/tests/cross_fw/examples/test_examples.py @@ -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 @@ -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}") diff --git a/tests/cross_fw/install/test_install.py b/tests/cross_fw/install/test_install.py index 97de957dd04..2e625bb19a9 100644 --- a/tests/cross_fw/install/test_install.py +++ b/tests/cross_fw/install/test_install.py @@ -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 diff --git a/tests/cross_fw/shared/helpers.py b/tests/cross_fw/shared/helpers.py index adbf18216af..105b334aa08 100644 --- a/tests/cross_fw/shared/helpers.py +++ b/tests/cross_fw/shared/helpers.py @@ -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 @@ -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, diff --git a/tests/post_training/requirements.txt b/tests/post_training/requirements.txt index c4930c9ee4f..1b9d54131f0 100644 --- a/tests/post_training/requirements.txt +++ b/tests/post_training/requirements.txt @@ -1,4 +1,6 @@ -c ../../constraints.txt +--pre +--extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly datasets matplotlib # required for the memory monitor tool