This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 66a5f8c [TEST] Address flaky error in test_any (#6705)
66a5f8c is described below
commit 66a5f8ce651e430d8e3136d41fe8f7d4ab037be6
Author: Tianqi Chen <[email protected]>
AuthorDate: Sun Oct 18 06:09:17 2020 -0700
[TEST] Address flaky error in test_any (#6705)
---
tests/python/relay/test_any.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/python/relay/test_any.py b/tests/python/relay/test_any.py
index c445cd1..8727285 100644
--- a/tests/python/relay/test_any.py
+++ b/tests/python/relay/test_any.py
@@ -58,7 +58,7 @@ def check_result(
if flatten:
result = result.flatten()
expected = expected.flatten()
- tvm.testing.assert_allclose(result, expected)
+ tvm.testing.assert_allclose(result, expected, atol=2e-6)
def verify_any_broadcast(x_shape, y_shape, x_np_shape, y_np_shape, op, np_op):