You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by mo...@apache.org on 2022/04/07 15:11:05 UTC

[tvm] branch main updated: [CMSIS-NN] Re-enabled skipped tests (#10928)

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

mousius 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 aff4e96f88 [CMSIS-NN] Re-enabled skipped tests (#10928)
aff4e96f88 is described below

commit aff4e96f88c5191bd774d3222b65b3c9592e3fe1
Author: Ashutosh Parkhi <86...@users.noreply.github.com>
AuthorDate: Thu Apr 7 16:10:56 2022 +0100

    [CMSIS-NN] Re-enabled skipped tests (#10928)
---
 tests/python/contrib/test_cmsisnn/test_conv2d.py          | 2 --
 tests/python/contrib/test_cmsisnn/test_fully_connected.py | 1 -
 tests/python/contrib/test_cmsisnn/test_invalid_graphs.py  | 2 --
 3 files changed, 5 deletions(-)

diff --git a/tests/python/contrib/test_cmsisnn/test_conv2d.py b/tests/python/contrib/test_cmsisnn/test_conv2d.py
index a6fedbf134..6c8f53666e 100644
--- a/tests/python/contrib/test_cmsisnn/test_conv2d.py
+++ b/tests/python/contrib/test_cmsisnn/test_conv2d.py
@@ -216,7 +216,6 @@ def test_conv2d_symmetric_padding_int8(
     )
 
 
-@pytest.mark.skip(reason="See https://github.com/apache/tvm/issues/10314")
 @tvm.testing.requires_cmsisnn
 @pytest.mark.parametrize("padding", ["SAME", "VALID"])
 @pytest.mark.parametrize("relu_type", ["RELU", "NONE"])
@@ -342,7 +341,6 @@ def test_conv2d_int8_tflite(ifm_shape, kernel_shape, strides, dilation, padding,
     )
 
 
-@pytest.mark.skip(reason="See https://github.com/apache/tvm/issues/10314")
 @tvm.testing.requires_cmsisnn
 @pytest.mark.parametrize("ifm_shape", [(1, 28, 28, 12), (1, 64, 100, 4)])
 @pytest.mark.parametrize("kernel_size", [(3, 3)])
diff --git a/tests/python/contrib/test_cmsisnn/test_fully_connected.py b/tests/python/contrib/test_cmsisnn/test_fully_connected.py
index bf452952f1..ec2e9bbdcc 100644
--- a/tests/python/contrib/test_cmsisnn/test_fully_connected.py
+++ b/tests/python/contrib/test_cmsisnn/test_fully_connected.py
@@ -100,7 +100,6 @@ def make_model(
 
 
 @tvm.testing.requires_cmsisnn
-@pytest.mark.xfail(strict=False, reason="Flaky test: https://github.com/apache/tvm/issues/10213")
 @pytest.mark.parametrize("in_shape", [(2, 28), (1, 64)])
 @pytest.mark.parametrize("out_channels", [12, 128])
 @pytest.mark.parametrize("enable_bias", [False, True])
diff --git a/tests/python/contrib/test_cmsisnn/test_invalid_graphs.py b/tests/python/contrib/test_cmsisnn/test_invalid_graphs.py
index f981cc51ba..7808fbf775 100644
--- a/tests/python/contrib/test_cmsisnn/test_invalid_graphs.py
+++ b/tests/python/contrib/test_cmsisnn/test_invalid_graphs.py
@@ -78,6 +78,4 @@ def @main(%data : Tensor[(16, 29), int8]) -> Tensor[(16, 29), int8] {
         test_runner,
         interface_api,
         use_unpacked_api,
-        verbose=1,
-        test_dir="./test",
     )