Skip to content
Draft
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
4 changes: 2 additions & 2 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
openvino==2026.0.0

# Pytorch
torch==2.9.0
torchvision==0.24.0
torch==2.10.0
torchvision==0.25.0
torchao==0.15.0

# ONNX
Expand Down
4 changes: 2 additions & 2 deletions 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.0.0` | `2.9.0` | `1.20.1` | | `3.10` |
| `develop` | `2026.0.0` | `2.10.0` | `1.20.1` | | `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` |
| `2.18.0` | `2025.3.0` | `2.8.0` | `1.17.0` | `2.15.1` | `3.10` |
Expand All @@ -71,4 +71,4 @@ as well as the supported versions of Python:

> (*) Python 3.9 or higher is required for TensorFlow 2.15.1

This repository is tested on Python* 3.10.14, PyTorch* 2.9.0 (NVidia CUDA\* Toolkit 12.6).
This repository is tested on Python* 3.10.14, PyTorch* 2.10.0 (NVidia CUDA\* Toolkit 12.6).
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ optimum==2.1.0
onnx==1.20.1
onnxruntime==1.23.2; python_version < '3.11'
onnxruntime==1.24.3; python_version >= '3.11'
torch==2.9.0
torch==2.10.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
torch==2.9.0
torch==2.10.0
transformers==4.53.0
openvino==2026.0.0
optimum-intel[openvino]==1.27.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ optimum-onnx==0.1.0
optimum==2.1.0
transformers==4.53.0
onnx==1.20.1
torch==2.9.0
torchvision==0.24.0
torch==2.10.0
torchvision==0.25.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ optimum-onnx==0.1.0
optimum==2.1.0
transformers==4.53.0
onnx==1.20.1
torch==2.9.0
torchvision==0.24.0
torch==2.10.0
torchvision==0.25.0
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ optimum-onnx==0.1.0
optimum==2.1.0
transformers==4.53.0
onnx==1.20.1
torch==2.9.0
torch==2.10.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ openvino==2026.0.0
optimum-intel[openvino]==1.27.0
optimum-onnx==0.1.0
optimum==2.1.0
torch==2.9.0
torch==2.10.0
transformers==4.53.0
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ optimum-onnx==0.1.0
optimum==2.1.0
transformers==4.53.0
onnx==1.20.1
torch==2.9.0
torch==2.10.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
torch==2.9.0
torch==2.10.0
datasets==4.6.1
numpy>=1.23.5,<2
openvino==2026.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tensorboard==2.13.0
torch==2.9.0
torch==2.10.0
torchao==0.15.0
numpy>=1.23.5,<2
openvino==2026.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tensorboard==2.13.0
torch==2.9.0
torch==2.10.0
numpy>=1.23.5,<2
openvino==2026.0.0
optimum-intel==1.27.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
torch==2.9.0
transformers==4.53.0
torch==2.10.0
# TODO(AlexanderDokuchaev): remove transformers next release gptqmodel https://github.com/ModelCloud/GPTQModel/issues/2328
transformers==4.57.6
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
gptqmodel==5.6.12
# TODO(AlexanderDokuchaev): remove transformers next release gptqmodel https://github.com/ModelCloud/GPTQModel/issues/2328
transformers==4.57.6
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ transformers==4.53.0
datasets==4.6.1
openvino==2026.0.0
optimum==2.1.0
torch==2.9.0
torchvision==0.24.0
torch==2.10.0
torchvision==0.25.0
torchao==0.15.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
torch==2.9.0
torchvision==0.24.0
torch==2.10.0
torchvision==0.25.0
fastdownload==0.0.7
fastprogress==1.0.5
fastcore==1.11.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ onnx==1.20.1
onnxruntime==1.23.2; python_version < '3.11'
onnxruntime==1.24.3; python_version >= '3.11'
openvino==2026.0.0
torch==2.9.0
torch==2.10.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ultralytics==8.4.7
ultralytics==8.4.21
onnx==1.20.1
openvino==2026.0.0
torch==2.9.0
torch==2.10.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ultralytics==8.3.221
onnx==1.20.1
openvino==2026.0.0
torch==2.9.0
torch==2.10.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ fastprogress==1.0.5
fastcore==1.11.5
openvino==2026.0.0
scikit-learn
torch==2.9.0
torchvision==0.24.0
torch==2.10.0
torchvision==0.25.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fastcore==1.11.5
onnx==1.20.1
openvino==2026.0.0
pycocotools==2.0.7
torch==2.9.0
torch==2.10.0
torchmetrics==1.0.1
torchvision==0.24.0
torchvision==0.25.0
numpy<2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ fastdownload==0.0.7
fastprogress==1.0.5
fastcore==1.11.5
openvino==2026.0.0
torch==2.9.0
torchvision==0.24.0
torch==2.10.0
torchvision==0.25.0
torchao==0.15.0
4 changes: 2 additions & 2 deletions examples/pruning/torch/resnet18/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ fastdownload==0.0.7
fastprogress==1.0.5
fastcore==1.11.5
openvino==2026.0.0
torch==2.9.0
torchvision==0.24.0
torch==2.10.0
torchvision==0.25.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
anomalib==2.2.0
torch==2.9.0
torch==2.10.0
openvino==2025.3.0
requests==2.32.5
matplotlib==3.10.7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ fastdownload==0.0.7
fastprogress==1.0.5
fastcore==1.11.5
openvino==2026.0.0
torch==2.9.0
torchvision==0.24.0
torch==2.10.0
torchvision==0.25.0
3 changes: 3 additions & 0 deletions src/nncf/torch/function_hook/handle_inner_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ def batch_norm(
if training:
_verify_batch_size(input.size())

if eps <= 0.0:
raise ValueError(f"batch_norm eps must be positive, but got {eps}")

return torch.batch_norm(
input, weight, bias, running_mean, running_var, training, momentum, eps, torch.backends.cudnn.enabled
)
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 @@ -325,7 +325,7 @@
"cpu": "Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz",
"accuracy_tolerance": 0.1,
"accuracy_metrics": {
"best_ov_perplexity": 32.26
"best_ov_perplexity": 32.37
}
},
"llm_compression_qat_with_nls": {
Expand Down
Loading