Skip to content

Commit cc3487a

Browse files
AlexanderDokuchaevdaniil-lyakhovanzr299
authored
Bump pytorch 2.8.0 (#3611)
### Changes Bump pytorch 2.8.0 ### Tests manual/job/post_training_quantization/69 https://github.com/openvinotoolkit/nncf/actions/runs/16882768007 https://github.com/openvinotoolkit/nncf/actions/runs/16885356994 --------- Co-authored-by: dlyakhov <[email protected]> Co-authored-by: Aamir Nazir <[email protected]>
1 parent 909e59a commit cc3487a

File tree

23 files changed

+8621
-8347
lines changed

23 files changed

+8621
-8347
lines changed

constraints.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
openvino==2025.2.0
33

44
# Pytorch
5-
torch==2.7.1
6-
torchvision==0.22.1
5+
torch==2.8.0
6+
torchvision==0.23.0
77

88
# ONNX
99
onnx==1.17.0; python_version < '3.13'

docs/Installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ as well as the supported versions of Python:
4949

5050
| NNCF | OpenVINO | PyTorch | ONNX | TensorFlow | Python |
5151
|-----------|------------|----------|----------|------------|--------|
52-
| `develop` | `2025.2.0` | `2.7.1` | `1.17.0` | `2.15.1` | `3.10` |
52+
| `develop` | `2025.2.0` | `2.8.0` | `1.17.0` | `2.15.1` | `3.10` |
5353
| `2.17.0` | `2025.2.0` | `2.7.1` | `1.17.0` | `2.15.1` | `3.10` |
5454
| `2.16.0` | `2025.1.0` | `2.6.0` | `1.17.0` | `2.15.1` | `3.10` |
5555
| `2.15.0` | `2025.0.0` | `2.5.1` | `1.17.0` | `2.15.1` | `3.10` |
@@ -69,4 +69,4 @@ as well as the supported versions of Python:
6969

7070
> (*) Python 3.9 or higher is required for TensorFlow 2.15.1
7171
72-
This repository is tested on Python* 3.10.14, PyTorch* 2.7.1 (NVidia CUDA\* Toolkit 12.6) and TensorFlow* 2.15.1 (NVidia CUDA\* Toolkit 11.8).
72+
This repository is tested on Python* 3.10.14, PyTorch* 2.8.0 (NVidia CUDA\* Toolkit 12.6) and TensorFlow* 2.15.1 (NVidia CUDA\* Toolkit 11.8).

examples/llm_compression/openvino/tiny_llama_synthetic_data/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
torch==2.7.1
1+
torch==2.8.0
22
datasets==3.0.1
33
numpy>=1.23.5,<2
44
openvino==2025.2.0

examples/llm_compression/torch/distillation_qat_with_lora/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tensorboard==2.13.0
2-
torch==2.7.1
2+
torch==2.8.0
33
numpy>=1.23.5,<2
44
openvino==2025.2.0
55
optimum-intel>=1.22.0

examples/llm_compression/torch/downstream_qat_with_nls/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tensorboard==2.13.0
2-
torch==2.7.1
2+
torch==2.8.0
33
numpy>=1.23.5,<2
44
openvino==2025.2.0
55
optimum-intel>=1.22.0

examples/llm_compression/torch_fx/tiny_llama/modelling.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def convert_and_export_with_cache(model: PreTrainedModel) -> tuple[ExportedProgr
112112
example_input_ids,
113113
example_cache_position,
114114
),
115+
strict=True,
115116
dynamic_shapes=dynamic_shapes,
116117
).run_decompositions(decomp_table={})
117118
return exported_program, model_config, gen_config

examples/llm_compression/torch_fx/tiny_llama/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ transformers==4.52.1
22
datasets==2.14.7
33
openvino==2025.2.0
44
optimum==1.24.0
5-
torch==2.7.1
6-
torchvision==0.22.1
5+
torch==2.8.0
6+
torchvision==0.23.0
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
fastdownload==0.0.7
22
openvino==2025.2.0
33
scikit-learn
4-
torch==2.7.1
5-
torchvision==0.22.1
4+
torch==2.8.0
5+
torchvision==0.23.0

examples/post_training_quantization/torch/ssd300_vgg16/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ fastdownload==0.0.7
22
onnx==1.17.0
33
openvino==2025.2.0
44
pycocotools==2.0.7
5-
torch==2.7.1
5+
torch==2.8.0
66
torchmetrics==1.0.1
7-
torchvision==0.22.1
7+
torchvision==0.23.0
88
numpy<2
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
fastdownload==0.0.7
22
openvino==2025.2.0
3-
torch==2.7.1
4-
torchvision==0.22.1
3+
torch==2.8.0
4+
torchvision==0.23.0

0 commit comments

Comments
 (0)