You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2021/09/20 05:49:30 UTC
[tvm] 01/01: fail some tests
This is an automated email from the ASF dual-hosted git repository.
areusch pushed a commit to branch ci-docker-staging
in repository https://gitbox.apache.org/repos/asf/tvm.git
commit fd06640500adf698a37cab438cb7dabbb02f4003
Author: Andrew Reusch <ar...@octoml.ai>
AuthorDate: Sun Sep 19 22:48:34 2021 -0700
fail some tests
---
tests/python/unittest/test_crt.py | 2 ++
tests/python/unittest/test_micro_model_library_format.py | 1 +
2 files changed, 3 insertions(+)
diff --git a/tests/python/unittest/test_crt.py b/tests/python/unittest/test_crt.py
index af14a38..87211c2 100644
--- a/tests/python/unittest/test_crt.py
+++ b/tests/python/unittest/test_crt.py
@@ -207,6 +207,8 @@ def test_platform_timer():
B = tvm.te.compute(A.shape, lambda i: tvm.te.exp(A[i]), name="B")
s = tvm.te.create_schedule(B.op)
+ assert False, "fail this test"
+
with _make_sess_from_op(temp_dir, "myexpf", s, [A, B]) as sess:
A_data = tvm.nd.array(np.array([2.0, 3.0], dtype="float32"), device=sess.device)
B_data = tvm.nd.array(np.array([2.0, 3.0], dtype="float32"), device=sess.device)
diff --git a/tests/python/unittest/test_micro_model_library_format.py b/tests/python/unittest/test_micro_model_library_format.py
index 92c1174..1c55af9 100644
--- a/tests/python/unittest/test_micro_model_library_format.py
+++ b/tests/python/unittest/test_micro_model_library_format.py
@@ -117,6 +117,7 @@ def validate_graph_json(extract_dir, factory):
],
)
def test_export_model_library_format_c(executor, target, should_generate_interface):
+ assert False, "Fail this one too"
with utils.TempDirectory.set_keep_for_debug(True):
with tvm.transform.PassContext(opt_level=3, config={"tir.disable_vectorize": True}):
relay_mod = tvm.parser.fromtext(