Skip to content

Commit

Permalink
Bump OV/NNCF version (openvinotoolkit#2740)
Browse files Browse the repository at this point in the history
### Changes

- Bumped OpenVINO version.
- Bumped NNCF version.
- Fixed issue with cheery-pick from openvinotoolkit#2709.

### Reason for changes

- NNCF v2.11 release.

### Related tickets

- 142565

### Tests

- N/A

---------

Co-authored-by: Alexander Dokuchaev <alexander.dokuchaev@intel.com>
  • Loading branch information
KodiaqQ and AlexanderDokuchaev committed Jun 18, 2024
1 parent 5c9a417 commit 45f4eee
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Openvino
openvino==2024.1.0
openvino==2024.2.0

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

| NNCF | OpenVINO | PyTorch | ONNX | TensorFlow | Python |
|-----------|------------|----------|----------|------------|--------|
| `develop` | `2024.1.0` | `2.3.0` | `1.16.0` | `2.12.0` | `3.8` |
| `develop` | `2024.2.0` | `2.3.0` | `1.16.0` | `2.12.0` | `3.8` |
| `2.11.0` | `2024.2.0` | `2.3.0` | `1.16.0` | `2.12.0` | `3.8` |
| `2.10.0` | `2024.1.0` | `2.2.1` | `1.16.0` | `2.12.0` | `3.8` |
| `2.9.0` | `2024.0.0` | `2.1.2` | `1.13.1` | `2.12.0` | `3.8` |
| `2.8.1` | `2023.3.0` | `2.1.2` | `1.13.1` | `2.12.0` | `3.8` |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
datasets
whowhatbench @ git+https://github.com/andreyanufr/who_what_benchmark.git
numpy>=1.23.5
openvino==2024.1
openvino==2024.2
optimum-intel[openvino]>=1.13.0
transformers>=4.35.2
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ scikit-learn
fastdownload
onnx==1.16.0
onnxruntime==1.17.1
openvino==2024.1
openvino==2024.2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ultralytics==8.0.170
onnx==1.16.0
openvino==2024.1
openvino==2024.2
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
anomalib==0.6.0
openvino==2024.1
openvino==2024.2
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ torchvision
tqdm
scikit-learn
fastdownload
openvino==2024.1
openvino==2024.2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ultralytics==8.0.170
onnx>=1.12.0
openvino==2024.1
openvino==2024.2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ultralytics==8.0.170
onnx>=1.12.0
openvino==2024.1
openvino==2024.2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tensorflow~=2.12.0
tensorflow-datasets
tqdm
openvino==2024.1
openvino==2024.2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fastdownload==0.0.7
openvino==2024.1
openvino==2024.2
scikit-learn
torch==2.3.0
torchvision==0.18.0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fastdownload==0.0.7
onnx==1.16.0
openvino==2024.1
openvino==2024.2
pycocotools==2.0.7
torch==2.3.0
torchmetrics==1.0.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fastdownload==0.0.7
openvino==2024.1
openvino==2024.2
torch==2.3.0
torchvision==0.18.0
2 changes: 1 addition & 1 deletion nncf/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "2.11.0"
__version__ = "2.12.0"

BKC_TORCH_SPEC = "==2.3.*"
BKC_TF_SPEC = "==2.12.*"
Expand Down
5 changes: 4 additions & 1 deletion tests/torch/sparsity/movement/test_model_saving.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import numpy as np
import onnx
import onnxruntime
import openvino as ov
import pytest
import torch
from addict import Dict
Expand Down Expand Up @@ -183,7 +184,9 @@ def test_same_outputs_in_torch_and_exported_onnx(self, tmp_path: Path, recipe: B
),
Dict(
nncf_weight_ratio=0.43,
ov_weight_ratio=0.29,
ov_weight_ratio=(
0.29 if version.parse(ov.runtime.__version__.split("-")[0]) < version.parse("2024.2.0") else 0.33
),
recipe=SwinRunRecipe().model_config_(
num_heads=[4],
num_labels=1,
Expand Down

0 comments on commit 45f4eee

Please sign in to comment.