File tree Expand file tree Collapse file tree 3 files changed +12
-28
lines changed Expand file tree Collapse file tree 3 files changed +12
-28
lines changed Original file line number Diff line number Diff line change 15
15
16
16
- template : ' templates/job_generator.yml'
17
17
parameters :
18
- # 2.7 , tf
18
+ # 2.8 , tf
19
19
python_versions : ['3.7']
20
20
tf_versions : ['1.15.5','2.8.0']
21
21
job :
24
24
25
25
- template : ' templates/job_generator.yml'
26
26
parameters :
27
- # 2.8 , tf
27
+ # 2.9 , tf
28
28
python_versions : ['3.9']
29
29
tf_versions : ['2.9.1']
30
30
job :
33
33
34
34
- template : ' templates/job_generator.yml'
35
35
parameters :
36
- # 2.8 , tf 3.10
36
+ # 2.9 , tf; 3.10, py
37
37
python_versions : ['3.10']
38
38
tf_versions : ['2.9.0']
39
39
job :
Original file line number Diff line number Diff line change 6
6
pip install pytest pytest-cov pytest-runner coverage graphviz requests pyyaml pillow pandas parameterized sympy coloredlogs flatbuffers
7
7
pip install $(CI_PIP_TF_NAME) $(CI_PIP_ONNX_NAME)
8
8
9
- # protobuf release version 4.21.0 has some Python changes which is not compatible with tensorflow so far.
9
+ # Protobuf 3.20 results in linker errors on Windows in TF.
10
+ # Protobuf 4.0 is binary incompatible with what C++ TF uses.
11
+ # https://github.com/tensorflow/tensorflow/blob/c3337c73306b2b859d82fe130912f18e6a1c5c23/tensorflow/tools/pip_package/setup.py#L88
10
12
pip uninstall -y protobuf
11
- pip install "protobuf<4.21 .0"
13
+ pip install "protobuf<3.20 .0"
12
14
13
15
# TF < 2.7 reuires numpy <= 1.19, but onnxruntime >= 1.11 requires numpy >= 1.21
14
16
if [[ $CI_TF_VERSION < 2.7 ]] && [[ $CI_ONNX_BACKEND == "onnxruntime" ]] ;
@@ -64,6 +66,10 @@ steps:
64
66
if [[ $CI_TF_VERSION == 2.8* ]] ;
65
67
then
66
68
pip install "tensorflow-text>=2.8,<2.9"
69
+ fi
70
+ if [[ $CI_TF_VERSION == 2.9* ]] ;
71
+ then
72
+ pip install "tensorflow-text>=2.9,<2.10"
67
73
else
68
74
pip install tensorflow-text
69
75
fi
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ stages:
106
106
- template : ' templates/job_generator.yml'
107
107
parameters :
108
108
# tf 2.9
109
- python_versions : ['3.8 ']
109
+ python_versions : ['3.10 ']
110
110
tf_versions : ['2.9.1']
111
111
onnx_opsets : ['']
112
112
job :
@@ -125,28 +125,6 @@ stages:
125
125
- template : ' unit_test.yml'
126
126
report_coverage : ' True'
127
127
128
- - template : ' templates/job_generator.yml'
129
- parameters :
130
- # tf 1.13
131
- python_versions : ['3.7']
132
- tf_versions : ['1.13.1']
133
- onnx_opsets : ['9']
134
- job :
135
- steps :
136
- - template : ' unit_test.yml'
137
- report_coverage : ' True'
138
-
139
- - template : ' templates/job_generator.yml'
140
- parameters :
141
- # tf 2.9
142
- python_versions : ['3.10']
143
- tf_versions : ['2.9.1']
144
- onnx_opsets : ['']
145
- job :
146
- steps :
147
- - template : ' unit_test.yml'
148
- report_coverage : ' True'
149
-
150
128
- template : ' templates/job_generator.yml'
151
129
parameters :
152
130
platforms : ['windows']
You can’t perform that action at this time.
0 commit comments