File tree 3 files changed +18
-18
lines changed
.azure-pipelines/scripts/ut
examples/onnxrt/image_recognition/onnx_model_zoo/resnet50/quantization/ptq_static
3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 37
37
38
38
if [[ " ${itex_version} " != " " ]]; then
39
39
pip install --upgrade intel-extension-for-tensorflow[cpu]==${itex_version}
40
- pip install tf2onnx
40
+ pip install tf2onnx==1.16.1
41
41
fi
42
42
43
43
if [[ " ${pytorch_version} " != " " ]]; then
@@ -63,7 +63,7 @@ if [[ "${onnxruntime_version}" != "" ]]; then
63
63
else
64
64
pip install onnxruntime-extensions
65
65
fi
66
- pip install optimum
66
+ pip install optimum==1.24.0
67
67
fi
68
68
69
69
if [ " ${mxnet_version} " != ' ' ]; then
77
77
# install special test env requirements
78
78
# common deps
79
79
pip install cmake
80
- pip install transformers
80
+ pip install transformers==4.50.0
81
81
82
82
if [[ $( 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
84
84
elif [[ $( echo " ${test_case} " | grep -c " nas" ) != 0 ]]; then
85
85
pip install dynast==1.6.0rc1
86
86
elif [[ $( echo " ${test_case} " | grep -c " tf pruning" ) != 0 ]]; then
87
- pip install tensorflow-addons
87
+ pip install tensorflow-addons==0.23.0
88
88
# Workaround
89
89
# horovod can't be install in the env with TF and PT together
90
90
# so test distribute cases in the env with single fw installed
91
91
pip install horovod
92
92
fi
93
93
94
94
if [[ $( 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
96
96
fi
97
97
98
98
# test deps
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ onnxruntime
3
3
torch
4
4
torchvision
5
5
onnxruntime-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 1
1
--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
4
4
dynast == 1.6.0rc1
5
- horovod
5
+ horovod <= 0.27.0
6
6
intel-extension-for-pytorch
7
7
intel-tensorflow >= 2.12.0
8
8
mxnet-mkl
9
9
neural-compressor
10
10
onnx
11
11
onnxruntime
12
12
onnxruntime-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
18
18
torch
19
19
torchvision
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