File tree Expand file tree Collapse file tree 3 files changed +18
-18
lines changed
.azure-pipelines/scripts/ut
examples/onnxrt/image_recognition/onnx_model_zoo/resnet50/quantization/ptq_static Expand file tree Collapse file tree 3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 3737
3838if [[ " ${itex_version} " != " " ]]; then
3939 pip install --upgrade intel-extension-for-tensorflow[cpu]==${itex_version}
40- pip install tf2onnx
40+ pip install tf2onnx==1.16.1
4141fi
4242
4343if [[ " ${pytorch_version} " != " " ]]; then
@@ -63,7 +63,7 @@ if [[ "${onnxruntime_version}" != "" ]]; then
6363 else
6464 pip install onnxruntime-extensions
6565 fi
66- pip install optimum
66+ pip install optimum==1.24.0
6767fi
6868
6969if [ " ${mxnet_version} " != ' ' ]; then
7777# install special test env requirements
7878# common deps
7979pip install cmake
80- pip install transformers
80+ pip install transformers==4.50.0
8181
8282if [[ $( echo " ${test_case} " | grep -c " others" ) != 0 ]]; then
83- pip install tf_slim xgboost accelerate==0.21.0 peft
83+ pip install tf_slim==1.1.0 xgboost==2.1.4 accelerate==0.21.0 peft==0.14.0
8484elif [[ $( echo " ${test_case} " | grep -c " nas" ) != 0 ]]; then
8585 pip install dynast==1.6.0rc1
8686elif [[ $( echo " ${test_case} " | grep -c " tf pruning" ) != 0 ]]; then
87- pip install tensorflow-addons
87+ pip install tensorflow-addons==0.23.0
8888 # Workaround
8989 # horovod can't be install in the env with TF and PT together
9090 # so test distribute cases in the env with single fw installed
9191 pip install horovod
9292fi
9393
9494if [[ $( echo " ${test_case} " | grep -c " api" ) != 0 ]] || [[ $( echo " ${test_case} " | grep -c " adaptor" ) != 0 ]]; then
95- pip install auto-round
95+ pip install auto-round==0.4.6
9696fi
9797
9898# test deps
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ onnxruntime
33torch
44torchvision
55onnxruntime-extensions >= 1.14.0 ; python_version < '3.11'
6- pillow >= 8.2 .0 # not directly required, pinned by Snyk to avoid a vulnerability
7- transformers ; python_version < '3.11'
6+ pillow <= 11.1 .0 # not directly required, pinned by Snyk to avoid a vulnerability
7+ transformers <= 4.50.0 ; python_version < '3.11'
Original file line number Diff line number Diff line change 11--find-links https://download.pytorch.org/whl/torch_stable.html
2- accelerate
3- auto-round
2+ accelerate <= 0.21.0
3+ auto-round <= 0.4.6
44dynast == 1.6.0rc1
5- horovod
5+ horovod <= 0.27.0
66intel-extension-for-pytorch
77intel-tensorflow >= 2.12.0
88mxnet-mkl
99neural-compressor
1010onnx
1111onnxruntime
1212onnxruntime-extensions ; python_version < '3.11'
13- optimum
14- peft
15- tensorflow-addons
16- tf2onnx
17- tf_slim
13+ optimum <= 1.24.0
14+ peft <= 0.14.0
15+ tensorflow-addons <= 0.23.0
16+ tf2onnx <= 1.16.1
17+ tf_slim <= 1.1.0
1818torch
1919torchvision
20- transformers > =4.30.2
21- xgboost
20+ transformers < =4.50.0
21+ xgboost <= 2.1.4
You can’t perform that action at this time.
0 commit comments