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

csullivan 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 160b1ba4bd [Hexagon] Skip test_avg_pool2d_slice because of segfault on 
hardware (#11929)
160b1ba4bd is described below

commit 160b1ba4bd70871433daf0af5cc91283960bd949
Author: Mehrdad Hessar <[email protected]>
AuthorDate: Mon Jun 27 22:00:45 2022 -0700

    [Hexagon] Skip test_avg_pool2d_slice because of segfault on hardware 
(#11929)
---
 tests/python/contrib/test_hexagon/topi/test_avg_pool2d_slice.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/python/contrib/test_hexagon/topi/test_avg_pool2d_slice.py 
b/tests/python/contrib/test_hexagon/topi/test_avg_pool2d_slice.py
index 6cbd84b7ee..3154f7d7e7 100644
--- a/tests/python/contrib/test_hexagon/topi/test_avg_pool2d_slice.py
+++ b/tests/python/contrib/test_hexagon/topi/test_avg_pool2d_slice.py
@@ -23,6 +23,7 @@ from tvm import te, topi
 import tvm.testing
 from tvm.topi import testing
 from tvm.contrib.hexagon.build import HexagonLauncher
+from tvm.contrib.hexagon.session import Session
 import tvm.topi.hexagon.slice_ops as sl
 from ..infrastructure import allocate_hexagon_array, transform_numpy
 
@@ -310,8 +311,10 @@ class TestAvgPool2dSlice:
         transformed_input_np_padded,
         transformed_expected_output_np,
         expected_output_np,
-        hexagon_session,
+        hexagon_session: Session,
     ):
+        if hexagon_session._launcher._serial_number != "simulator":
+            pytest.skip(msg="Due to 
https://github.com/apache/tvm/issues/11928";)
 
         target_hexagon = tvm.target.hexagon("v69")
         A = te.placeholder(input_shape_padded, name="A", dtype=dtype)

Reply via email to