Skip to content

Commit 72c8144

Browse files
authored
Release 1.9.0 (#964)
* release 1.9.0 Signed-off-by: degaochu <[email protected]> * release 1.9.0 Signed-off-by: degaochu <[email protected]> * release 1.9.0 Signed-off-by: degaochu <[email protected]> * release 1.9.0 Signed-off-by: degaochu <[email protected]> * release 1.9.0 Signed-off-by: degaochu <[email protected]> * trigger CLA check Signed-off-by: degaochu <[email protected]>
1 parent bba676f commit 72c8144

10 files changed

+410
-196
lines changed

.github/workflows/test-backend.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ jobs:
1414
# - use oldest and latest supported python versions
1515
# - use pinned versions for current onnx-tf release
1616
os: [ubuntu-latest, windows-latest, macos-latest]
17-
python-version: [3.6, 3.8]
18-
onnx-version: ['onnx==1.8.0']
19-
tensorflow-version: ['tensorflow-cpu==2.4.1 tensorflow-addons==0.12.0']
17+
python-version: [3.8, 3.9]
18+
onnx-version: ['onnx==1.9.0']
19+
tensorflow-version: ['tensorflow-cpu==2.6.0 tensorflow-addons==0.13.0']
2020
include:
2121
- # Test previous versions on Linux only (regression)
2222
# - use pinned versions for previous onnx-tf release
2323
os: ubuntu-latest
24-
python-version: 3.6
25-
onnx-version: 'onnx==1.8.0'
26-
tensorflow-version: 'tensorflow==2.4.1 tensorflow-addons==0.12.0'
24+
python-version: 3.8
25+
onnx-version: 'onnx==1.9.0'
26+
tensorflow-version: 'tensorflow==2.6.0 tensorflow-addons==0.13.0'
2727
- # Test development versions on Linux only
2828
# - latest development versions
2929
# - allow failure via GitHub branch protection rule
3030
os: ubuntu-latest
31-
python-version: 3.8
31+
python-version: 3.9
3232
onnx-version: 'development'
3333
tensorflow-version: 'tensorflow-cpu tensorflow-addons'
3434

.github/workflows/test-modelzoo.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
path: wiki
2929
- uses: actions/setup-python@v2
3030
with:
31-
python-version: '3.6'
31+
python-version: '3.8'
3232
- name: Install dependencies
3333
run: |
34-
pip install onnx==1.8.0 tensorflow==2.4.1 tensorflow-addons==0.12.0
34+
pip install onnx==1.9.0 tensorflow==2.6.0 tensorflow-addons==0.13.0
3535
pip install -e .
3636
- name: Run ModelZoo tests
3737
run: |

ONNX_VERSION_NUMBER

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.8.0
1+
1.9.0

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The specific ONNX release version that we support in the master branch of ONNX-T
4141

4242
To install the latest version of ONNX-TF via pip, run `pip install onnx-tf`.
4343

44-
Because users often have their own preferences for which variant of TensorFlow to install (i.e., a GPU version instead of a CPU version), we do not explicitly require tensorflow in the installation script. It is therefore users' responsibility to ensure that the proper variant of TensorFlow is available to ONNX-TF. Moreover, we require TensorFlow version == 2.4.1.
44+
Because users often have their own preferences for which variant of TensorFlow to install (i.e., a GPU version instead of a CPU version), we do not explicitly require tensorflow in the installation script. It is therefore users' responsibility to ensure that the proper variant of TensorFlow is available to ONNX-TF. Moreover, we require TensorFlow version == 2.6.0.
4545

4646
## Development
4747

@@ -53,7 +53,7 @@ Because users often have their own preferences for which variant of TensorFlow t
5353

5454
### Installation
5555
- Install ONNX master branch from source.
56-
- Install TensorFlow >= 2.4.1 and tensorflow-addons. (Note TensorFlow 1.x is no longer supported)
56+
- Install TensorFlow >= 2.6.0 and tensorflow-addons. (Note TensorFlow 1.x is no longer supported)
5757
- Run `git clone https://github.com/onnx/onnx-tensorflow.git && cd onnx-tensorflow`.
5858
- Run `pip install -e .`.
5959

VERSION_NUMBER

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.8.0
1+
1.9.0

Versioning.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ ONNX-TensorFlow version|ONNX version|TensorFlow version
1010
1.6.0|1.6.0 (opset 11)|2.2.0
1111
1.7.0|1.7.0 (opset 12)|2.3.1
1212
1.8.0|1.8.0 (opset 13)|2.4.1
13+
1.9.0|1.9.0 (opset 14)|2.6.0

doc/support_status.md

+176-176
Large diffs are not rendered by default.

doc/support_status_v1_9_0.md

+210
Large diffs are not rendered by default.

test/backend/test_model.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -331,14 +331,14 @@ def test_if_with_sequence(self):
331331
b_in = helper.make_tensor_value_info('b', onnx.TensorProto.FLOAT, [1, 1, 2])
332332
c_in = helper.make_tensor_value_info('c', onnx.TensorProto.FLOAT, [3, 1, 2])
333333
cond_in = helper.make_tensor_value_info('cond', TensorProto.BOOL, [])
334-
s_in = helper.make_tensor_sequence_value_info('S', TensorProto.FLOAT,
334+
s_in = helper.make_sequence_value_info('S', TensorProto.FLOAT,
335335
[None, None, None, None])
336336

337-
sb_out = helper.make_tensor_sequence_value_info('Sb', TensorProto.FLOAT,
337+
sb_out = helper.make_sequence_value_info('Sb', TensorProto.FLOAT,
338338
[None, None, None, None])
339-
sc_out = helper.make_tensor_sequence_value_info('Sc', TensorProto.FLOAT,
339+
sc_out = helper.make_sequence_value_info('Sc', TensorProto.FLOAT,
340340
[None, None, None, None])
341-
s_final_out = helper.make_tensor_sequence_value_info(
341+
s_final_out = helper.make_sequence_value_info(
342342
'S_final', TensorProto.FLOAT, [None, None, None, None])
343343

344344
then_graph = helper.make_graph(nodes=[seq_insert_node1],
@@ -437,14 +437,14 @@ def test_loop_with_sequence(self):
437437
iter_count_in = helper.make_tensor_value_info('iter_count',
438438
TensorProto.INT64, [])
439439
cond_in = helper.make_tensor_value_info('cond', TensorProto.BOOL, [])
440-
s_in = helper.make_tensor_sequence_value_info('S', TensorProto.FLOAT,
440+
s_in = helper.make_sequence_value_info('S', TensorProto.FLOAT,
441441
[None, None, None, None])
442442

443443
cond_out = helper.make_tensor_value_info('cond', TensorProto.BOOL, [])
444-
s_out = helper.make_tensor_sequence_value_info('Updated_S',
444+
s_out = helper.make_sequence_value_info('Updated_S',
445445
TensorProto.FLOAT,
446446
[None, None, None, None])
447-
s_final_out = helper.make_tensor_sequence_value_info(
447+
s_final_out = helper.make_sequence_value_info(
448448
'S_final', TensorProto.FLOAT, [None, None, None, None])
449449

450450
body_graph = helper.make_graph(nodes=[seq_insert_node],

test/backend/test_onnx_backend.py

+3
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ def get_onnx_supported_ops():
157157
backend_test.exclude(r'test_batchnorm_epsilon_training_mode[a-z,_]*')
158158
backend_test.exclude(r'test_batchnorm_example_training_mode[a-z,_]*')
159159

160+
# ONNX 1.9.0 test case does not support sequence
161+
backend_test.exclude(r'[a-z,_]*identity_sequence_[a-z,_]*')
162+
160163
# import all test cases at global scope to make them visible to python.unittest
161164
globals().update(backend_test.enable_report().test_cases)
162165

0 commit comments

Comments
 (0)