You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by dr...@apache.org on 2022/09/20 15:10:31 UTC

[tvm] branch main updated: [ONNX] Upgrade onnx and onnxruntime (#12729)

This is an automated email from the ASF dual-hosted git repository.

driazati pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 18909a4c13 [ONNX] Upgrade onnx and onnxruntime (#12729)
18909a4c13 is described below

commit 18909a4c135cb8df5125cf1e417de7a35e02e705
Author: Sevin F. Varoglu <sf...@octoml.ai>
AuthorDate: Tue Sep 20 18:10:23 2022 +0300

    [ONNX] Upgrade onnx and onnxruntime (#12729)
    
    Upgrade onnx and onnxruntime to latest
---
 docker/install/ubuntu_install_onnx.sh      |  4 +-
 tests/python/frontend/onnx/test_forward.py | 64 ++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+), 2 deletions(-)

diff --git a/docker/install/ubuntu_install_onnx.sh b/docker/install/ubuntu_install_onnx.sh
index 7bd15afd7e..d775875bc7 100755
--- a/docker/install/ubuntu_install_onnx.sh
+++ b/docker/install/ubuntu_install_onnx.sh
@@ -27,8 +27,8 @@ set -o pipefail
 # https://github.com/onnx/onnx/pull/2834).  When updating the CI image
 # to onnx>=1.9, onnxoptimizer should also be installed.
 pip3 install \
-    onnx==1.10.2 \
-    onnxruntime==1.9.0 \
+    onnx==1.12.0 \
+    onnxruntime==1.12.1 \
     onnxoptimizer==0.2.7
 
 # torch depends on a number of other packages, but unhelpfully, does
diff --git a/tests/python/frontend/onnx/test_forward.py b/tests/python/frontend/onnx/test_forward.py
index 893815de7e..17a0513844 100644
--- a/tests/python/frontend/onnx/test_forward.py
+++ b/tests/python/frontend/onnx/test_forward.py
@@ -5233,6 +5233,10 @@ unsupported_onnx_tests = [
     "test_bernoulli_double_expanded",
     "test_bernoulli_seed",
     "test_bernoulli_seed_expanded",
+    "test_blackmanwindow",
+    "test_blackmanwindow_expanded",
+    "test_blackmanwindow_symmetric",
+    "test_blackmanwindow_symmetric_expanded",
     "test_cast_DOUBLE_to_FLOAT16",
     "test_cast_FLOAT_to_STRING",
     "test_cast_STRING_to_FLOAT",
@@ -5262,19 +5266,61 @@ unsupported_onnx_tests = [
     "test_cumsum_2d_negative_axis",
     "test_det_2d",
     "test_det_nd",
+    "test_dft",
+    "test_dft_axis",
+    "test_dft_inverse",
     "test_dropout_default",
     "test_dropout_default_mask",
     "test_dropout_default_mask_ratio",
     "test_dropout_default_ratio",
+    "test_gridsample",
+    "test_gridsample_aligncorners_true",
+    "test_gridsample_bicubic",
+    "test_gridsample_bilinear",
+    "test_gridsample_border_padding",
+    "test_gridsample_nearest",
+    "test_gridsample_reflection_padding",
+    "test_gridsample_zeros_padding",
     "test_gru_batchwise",
+    "test_hammingwindow",
+    "test_hammingwindow_expanded",
+    "test_hammingwindow_symmetric",
+    "test_hammingwindow_symmetric_expanded",
+    "test_hannwindow",
+    "test_hannwindow_expanded",
+    "test_hannwindow_symmetric",
+    "test_hannwindow_symmetric_expanded",
+    "test_identity_opt",
     "test_identity_sequence",
+    "test_if_opt",
     "test_if_seq",
+    "test_layer_normalization_2d_axis0",
+    "test_layer_normalization_2d_axis1",
+    "test_layer_normalization_2d_axis_negative_1",
+    "test_layer_normalization_2d_axis_negative_2",
+    "test_layer_normalization_3d_axis0_epsilon",
+    "test_layer_normalization_3d_axis1_epsilon",
+    "test_layer_normalization_3d_axis2_epsilon",
+    "test_layer_normalization_3d_axis_negative_1_epsilon",
+    "test_layer_normalization_3d_axis_negative_2_epsilon",
+    "test_layer_normalization_3d_axis_negative_3_epsilon",
+    "test_layer_normalization_4d_axis0",
+    "test_layer_normalization_4d_axis1",
+    "test_layer_normalization_4d_axis2",
+    "test_layer_normalization_4d_axis3",
+    "test_layer_normalization_4d_axis_negative_1",
+    "test_layer_normalization_4d_axis_negative_2",
+    "test_layer_normalization_4d_axis_negative_3",
+    "test_layer_normalization_4d_axis_negative_4",
+    "test_layer_normalization_default_axis",
     "test_loop11",
     "test_loop13_seq",
+    "test_loop16_seq_none",
     "test_lstm_batchwise",
     "test_maxpool_with_argmax_2d_precomputed_pads",
     "test_maxpool_with_argmax_2d_precomputed_strides",
     "test_maxunpool_export_with_output_shape",
+    "test_melweightmatrix",
     # This test fails llvm with a lowering error:
     "test_nllloss_NCd1d2d3_none_no_weight_negative_ii_expanded",
     "test_optional_has_element",
@@ -5290,8 +5336,24 @@ unsupported_onnx_tests = [
     "test_reduce_sum_keepdims_random",
     "test_reduce_sum_negative_axes_keepdims_example",
     "test_reduce_sum_negative_axes_keepdims_random",
+    "test_roialign_aligned_true",
+    "test_scatter_elements_with_duplicate_indices",
+    "test_scatternd_add",
+    "test_scatternd_multiply",
     "test_sequence_insert_at_back",
     "test_sequence_insert_at_front",
+    "test_sequence_map_add_1_sequence_1_tensor",
+    "test_sequence_map_add_1_sequence_1_tensor_expanded",
+    "test_sequence_map_add_2_sequences",
+    "test_sequence_map_add_2_sequences_expanded",
+    "test_sequence_map_extract_shapes",
+    "test_sequence_map_extract_shapes_expanded",
+    "test_sequence_map_identity_1_sequence",
+    "test_sequence_map_identity_1_sequence_1_tensor",
+    "test_sequence_map_identity_1_sequence_1_tensor_expanded",
+    "test_sequence_map_identity_1_sequence_expanded",
+    "test_sequence_map_identity_2_sequences",
+    "test_sequence_map_identity_2_sequences_expanded",
     "test_simple_rnn_batchwise",
     "test_simple_rnn_defaults",
     "test_simple_rnn_with_initial_bias",
@@ -5299,6 +5361,8 @@ unsupported_onnx_tests = [
     "test_split_variable_parts_2d",
     "test_split_variable_parts_default_axis",
     "test_split_zero_size_splits",
+    "test_stft",
+    "test_stft_with_window",
     "test_strnormalizer_export_monday_casesensintive_lower",
     "test_strnormalizer_export_monday_casesensintive_nochangecase",
     "test_strnormalizer_export_monday_casesensintive_upper",