Skip to content

Commit

Permalink
Release 1.9.0 (#964)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
chudegao authored Aug 20, 2021
1 parent bba676f commit 72c8144
Show file tree
Hide file tree
Showing 10 changed files with 410 additions and 196 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ jobs:
# - use oldest and latest supported python versions
# - use pinned versions for current onnx-tf release
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.6, 3.8]
onnx-version: ['onnx==1.8.0']
tensorflow-version: ['tensorflow-cpu==2.4.1 tensorflow-addons==0.12.0']
python-version: [3.8, 3.9]
onnx-version: ['onnx==1.9.0']
tensorflow-version: ['tensorflow-cpu==2.6.0 tensorflow-addons==0.13.0']
include:
- # Test previous versions on Linux only (regression)
# - use pinned versions for previous onnx-tf release
os: ubuntu-latest
python-version: 3.6
onnx-version: 'onnx==1.8.0'
tensorflow-version: 'tensorflow==2.4.1 tensorflow-addons==0.12.0'
python-version: 3.8
onnx-version: 'onnx==1.9.0'
tensorflow-version: 'tensorflow==2.6.0 tensorflow-addons==0.13.0'
- # Test development versions on Linux only
# - latest development versions
# - allow failure via GitHub branch protection rule
os: ubuntu-latest
python-version: 3.8
python-version: 3.9
onnx-version: 'development'
tensorflow-version: 'tensorflow-cpu tensorflow-addons'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-modelzoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
path: wiki
- uses: actions/setup-python@v2
with:
python-version: '3.6'
python-version: '3.8'
- name: Install dependencies
run: |
pip install onnx==1.8.0 tensorflow==2.4.1 tensorflow-addons==0.12.0
pip install onnx==1.9.0 tensorflow==2.6.0 tensorflow-addons==0.13.0
pip install -e .
- name: Run ModelZoo tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion ONNX_VERSION_NUMBER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.0
1.9.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The specific ONNX release version that we support in the master branch of ONNX-T

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

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.
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.

## Development

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

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

Expand Down
2 changes: 1 addition & 1 deletion VERSION_NUMBER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.0
1.9.0
1 change: 1 addition & 0 deletions Versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ ONNX-TensorFlow version|ONNX version|TensorFlow version
1.6.0|1.6.0 (opset 11)|2.2.0
1.7.0|1.7.0 (opset 12)|2.3.1
1.8.0|1.8.0 (opset 13)|2.4.1
1.9.0|1.9.0 (opset 14)|2.6.0
352 changes: 176 additions & 176 deletions doc/support_status.md

Large diffs are not rendered by default.

210 changes: 210 additions & 0 deletions doc/support_status_v1_9_0.md

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions test/backend/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,14 +331,14 @@ def test_if_with_sequence(self):
b_in = helper.make_tensor_value_info('b', onnx.TensorProto.FLOAT, [1, 1, 2])
c_in = helper.make_tensor_value_info('c', onnx.TensorProto.FLOAT, [3, 1, 2])
cond_in = helper.make_tensor_value_info('cond', TensorProto.BOOL, [])
s_in = helper.make_tensor_sequence_value_info('S', TensorProto.FLOAT,
s_in = helper.make_sequence_value_info('S', TensorProto.FLOAT,
[None, None, None, None])

sb_out = helper.make_tensor_sequence_value_info('Sb', TensorProto.FLOAT,
sb_out = helper.make_sequence_value_info('Sb', TensorProto.FLOAT,
[None, None, None, None])
sc_out = helper.make_tensor_sequence_value_info('Sc', TensorProto.FLOAT,
sc_out = helper.make_sequence_value_info('Sc', TensorProto.FLOAT,
[None, None, None, None])
s_final_out = helper.make_tensor_sequence_value_info(
s_final_out = helper.make_sequence_value_info(
'S_final', TensorProto.FLOAT, [None, None, None, None])

then_graph = helper.make_graph(nodes=[seq_insert_node1],
Expand Down Expand Up @@ -437,14 +437,14 @@ def test_loop_with_sequence(self):
iter_count_in = helper.make_tensor_value_info('iter_count',
TensorProto.INT64, [])
cond_in = helper.make_tensor_value_info('cond', TensorProto.BOOL, [])
s_in = helper.make_tensor_sequence_value_info('S', TensorProto.FLOAT,
s_in = helper.make_sequence_value_info('S', TensorProto.FLOAT,
[None, None, None, None])

cond_out = helper.make_tensor_value_info('cond', TensorProto.BOOL, [])
s_out = helper.make_tensor_sequence_value_info('Updated_S',
s_out = helper.make_sequence_value_info('Updated_S',
TensorProto.FLOAT,
[None, None, None, None])
s_final_out = helper.make_tensor_sequence_value_info(
s_final_out = helper.make_sequence_value_info(
'S_final', TensorProto.FLOAT, [None, None, None, None])

body_graph = helper.make_graph(nodes=[seq_insert_node],
Expand Down
3 changes: 3 additions & 0 deletions test/backend/test_onnx_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ def get_onnx_supported_ops():
backend_test.exclude(r'test_batchnorm_epsilon_training_mode[a-z,_]*')
backend_test.exclude(r'test_batchnorm_example_training_mode[a-z,_]*')

# ONNX 1.9.0 test case does not support sequence
backend_test.exclude(r'[a-z,_]*identity_sequence_[a-z,_]*')

# import all test cases at global scope to make them visible to python.unittest
globals().update(backend_test.enable_report().test_cases)

Expand Down

0 comments on commit 72c8144

Please sign in to comment.