File tree Expand file tree Collapse file tree 6 files changed +70
-25
lines changed Expand file tree Collapse file tree 6 files changed +70
-25
lines changed Original file line number Diff line number Diff line change 29
29
with :
30
30
tf_version : ' 2.9.0'
31
31
python_version : ' 3.8'
32
- ort_version : ' 1.20.1 '
33
- onnx_version : ' 1.17.0 '
32
+ ort_version : ' 1.16.3 '
33
+ onnx_version : ' 1.16.1 '
34
34
35
35
- name : Upload Test Results
36
36
if : always()
@@ -94,16 +94,36 @@ jobs:
94
94
name :
95
95
- ' py38-tf2.13'
96
96
- ' py39-tf2.15'
97
+ - ' py310-tf2.18'
98
+ - ' py311-tf2.18'
99
+ - ' py312-tf2.18'
97
100
os : ['ubuntu-latest', 'windows-2022']
98
- ort_version : ['1.20.1']
99
- onnx_version : ['1.17.0']
100
101
include :
101
102
- name : ' py38-tf2.13'
102
103
tf_version : ' 2.13.0'
103
104
python_version : ' 3.8'
105
+ ort_version : ' 1.16.3'
106
+ onnx_version : ' 1.16.1'
104
107
- name : ' py39-tf2.15'
105
108
tf_version : ' 2.15.0'
106
109
python_version : ' 3.9'
110
+ ort_version : ' 1.16.3'
111
+ onnx_version : ' 1.16.1'
112
+ - name : ' py310-tf2.18'
113
+ tf_version : ' 2.18.0'
114
+ python_version : ' 3.10'
115
+ ort_version : ' 1.20.1'
116
+ onnx_version : ' 1.17.0'
117
+ - name : ' py311-tf2.18'
118
+ tf_version : ' 2.18.0'
119
+ python_version : ' 3.11'
120
+ ort_version : ' 1.20.1'
121
+ onnx_version : ' 1.17.0'
122
+ - name : ' py312-tf2.18'
123
+ tf_version : ' 2.18.0'
124
+ python_version : ' 3.12'
125
+ ort_version : ' 1.20.1'
126
+ onnx_version : ' 1.17.0'
107
127
runs-on : ${{ matrix.os }}
108
128
109
129
steps :
Original file line number Diff line number Diff line change 28
28
with :
29
29
tf_version : ' 2.9.0'
30
30
python_version : ' 3.8'
31
- ort_version : ' 1.20.1 '
32
- onnx_version : ' 1.17.0 '
31
+ ort_version : ' 1.16.3 '
32
+ onnx_version : ' 1.16.1 '
33
33
34
34
- name : Upload Test Results
35
35
if : always()
Original file line number Diff line number Diff line change 30
30
os : ' ubuntu-latest'
31
31
tf_version : ' 2.9.0'
32
32
python_version : ' 3.8'
33
- ort_version : ' 1.20.1 '
34
- onnx_version : ' 1.17.0 '
33
+ ort_version : ' 1.16.3 '
34
+ onnx_version : ' 1.16.1 '
35
35
opset_version : ' 18'
36
36
skip_tflite : ' False'
37
37
@@ -129,18 +129,38 @@ jobs:
129
129
name :
130
130
- ' py38-tf2.13'
131
131
- ' py39-tf2.15'
132
+ - ' py310-tf2.18'
133
+ - ' py311-tf2.18'
134
+ - ' py312-tf2.18'
132
135
os : ['ubuntu-latest', 'windows-2022']
133
136
opset_version : ['18', '15']
134
- ort_version : ['1.20.1']
135
- onnx_version : ['1.17.0']
136
137
skip_tflite : ['False']
137
138
include :
138
139
- name : ' py38-tf2.13'
139
140
tf_version : ' 2.13.0'
140
141
python_version : ' 3.8'
142
+ ort_version : ' 1.16.3'
143
+ onnx_version : ' 1.16.1'
141
144
- name : ' py39-tf2.15'
142
145
tf_version : ' 2.15.0'
143
146
python_version : ' 3.9'
147
+ ort_version : ' 1.16.3'
148
+ onnx_version : ' 1.16.1'
149
+ - name : ' py310-tf2.18'
150
+ tf_version : ' 2.18.0'
151
+ python_version : ' 3.10'
152
+ ort_version : ' 1.20.1'
153
+ onnx_version : ' 1.17.0'
154
+ - name : ' py311-tf2.18'
155
+ tf_version : ' 2.18.0'
156
+ python_version : ' 3.11'
157
+ ort_version : ' 1.20.1'
158
+ onnx_version : ' 1.17.0'
159
+ - name : ' py312-tf2.18'
160
+ tf_version : ' 2.18.0'
161
+ python_version : ' 3.12'
162
+ ort_version : ' 1.20.1'
163
+ onnx_version : ' 1.17.0'
144
164
runs-on : ${{ matrix.os }}
145
165
146
166
steps :
Original file line number Diff line number Diff line change 21
21
python-version : 3.11
22
22
23
23
- name : Install dependencies
24
- run : pip install pylint==2.4.4
24
+ run : pip install pylint
25
25
26
26
- name : Run pylint
27
27
run : |
Original file line number Diff line number Diff line change 30
30
os : ' ubuntu-latest'
31
31
tf_version : ' 2.9.0'
32
32
python_version : ' 3.8'
33
- ort_version : ' 1.20.1 '
34
- onnx_version : ' 1.17.0 '
33
+ ort_version : ' 1.16.3 '
34
+ onnx_version : ' 1.16.1 '
35
35
opset_version : ' 18'
36
36
skip_tflite : ' False'
37
37
@@ -135,25 +135,33 @@ jobs:
135
135
- ' py312-tf2.18'
136
136
os : ['ubuntu-latest', 'windows-2022']
137
137
opset_version : ['18', '15']
138
- ort_version : ['1.20.1']
139
- onnx_version : ['1.17.0']
140
138
skip_tflite : ['False']
141
139
include :
142
140
- name : ' py312-tf2.18'
143
141
tf_version : ' 2.18.0'
144
142
python_version : ' 3.12'
143
+ ort_version : ' 1.20.1'
144
+ onnx_version : ' 1.17.0'
145
145
- name : ' py311-tf2.18'
146
146
tf_version : ' 2.18.0'
147
147
python_version : ' 3.11'
148
+ ort_version : ' 1.20.1'
149
+ onnx_version : ' 1.17.0'
148
150
- name : ' py310-tf2.18'
149
151
tf_version : ' 2.18.0'
150
152
python_version : ' 3.10'
153
+ ort_version : ' 1.20.1'
154
+ onnx_version : ' 1.17.0'
151
155
- name : ' py38-tf2.13'
152
156
tf_version : ' 2.13.0'
153
157
python_version : ' 3.8'
158
+ ort_version : ' 1.16.3'
159
+ onnx_version : ' 1.16.1'
154
160
- name : ' py39-tf2.15'
155
161
tf_version : ' 2.15.0'
156
162
python_version : ' 3.9'
163
+ ort_version : ' 1.16.3'
164
+ onnx_version : ' 1.16.1'
157
165
- name : ' py37-tf1.15'
158
166
tf_version : ' 1.15.5'
159
167
python_version : ' 3.7'
Original file line number Diff line number Diff line change @@ -16,17 +16,14 @@ echo "==== ONNXRuntime version: $ORT_VERSION"
16
16
echo " ==== ONNX version: $ONNX_VERSION "
17
17
18
18
pip install pytest pytest-cov pytest-runner coverage graphviz requests pyyaml pillow pandas parameterized sympy coloredlogs flatbuffers timeout-decorator
19
- pip install onnx==$ONNX_VERSION
20
- pip install onnxruntime==$ORT_VERSION
21
- pip install " numpy<2"
22
-
23
- pip install onnxruntime-extensions
24
- pip install " tensorflow-text<=$TF_VERSION "
25
-
26
19
pip uninstall -y tensorflow
27
- pip install tensorflow==$TF_VERSION
28
- pip uninstall -y protobuf
29
- pip install " protobuf~=3.20"
20
+ pip install onnx==$ONNX_VERSION onnxruntime==$ORT_VERSION onnxruntime-extensions " tensorflow-text<=$TF_VERSION " tensorflow==$TF_VERSION
21
+
22
+ if [[ $TF_VERSION == 1.* ]]; then
23
+ pip install numpy==1.19.0
24
+ else
25
+ pip install tf_keras==$TF_VERSION
26
+ fi
30
27
31
28
python setup.py install
32
29
You can’t perform that action at this time.
0 commit comments