Skip to content

Commit

Permalink
Update onnx and onnxruntime for torch tests (#2607)
Browse files Browse the repository at this point in the history
### Changes

Bump up onnx, onnxruntime versions for torch tests
Update version of onnx at Readme
  • Loading branch information
kshpv authored Mar 28, 2024
1 parent 9721cfb commit fa8b702
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ conda install -c conda-forge nncf
- Supported frameworks:
- PyTorch\* >=2.1, <2.3
- TensorFlow\* >=2.8.4, <=2.12.1
- ONNX\* ~=1.13.1
- ONNX\* ==1.16.0
- OpenVINO\* >=2022.3.0

This repository is tested on Python* 3.8.10, PyTorch* 2.2.1 (NVidia CUDA\* Toolkit 12.1) and TensorFlow* 2.12.1 (NVidia CUDA\* Toolkit 11.8).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ torchvision
tqdm
scikit-learn
fastdownload
onnx~=1.16.0
onnxruntime~=1.17.1
onnx==1.16.0
onnxruntime==1.17.1
openvino-dev==2024.0
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ultralytics==8.0.170
onnx~=1.16.0
onnx==1.16.0
openvino-dev==2024.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fastdownload==0.0.7
onnx==1.13.1
onnx==1.16.0
openvino-dev==2024.0
pycocotools==2.0.7
torch==2.2.1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def find_version(*file_paths):
"torch==2.2.1;python_version < '3.11'",
]

ONNX_EXTRAS = ["onnx~=1.16.0", "onnxruntime~=1.17.1;python_version < '3.11'"]
ONNX_EXTRAS = ["onnx==1.16.0", "onnxruntime==1.17.1;python_version < '3.11'"]

OPENVINO_EXTRAS = ["openvino==2024.0"]

Expand Down
4 changes: 2 additions & 2 deletions tests/post_training/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ torch==2.2.1
--extra-index-url https://download.pytorch.org/whl/cpu
torchvision==0.17.1
transformers==4.36.0
onnx~=1.16.0
onnxruntime~=1.17.1
onnx==1.16.0
onnxruntime==1.17.1
pytest==8.0.2
pytest-cov
openvino-dev==2024.0.0
Expand Down
4 changes: 2 additions & 2 deletions tests/torch/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
yattag>=1.14.0
prettytable>=2.0.0
onnx==1.13.1
onnxruntime==1.14.1
onnx==1.16.0
onnxruntime==1.17.1
pytest-mock>=3.3.1
pytest-cov
pytest-dependency>=0.5.1
Expand Down

0 comments on commit fa8b702

Please sign in to comment.