Skip to content

Commit 5bc7a41

Browse files
author
mbrookhart
committed
enable more flaky tests
1 parent 2d6d516 commit 5bc7a41

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

tests/python/relay/test_any.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -837,8 +837,7 @@ def verify_any_topk(data_shape, kval, np_dshape, dtype, const_k=False):
837837
check_result(in_vals, mod, ref_out)
838838

839839

840-
# TODO(kevinthesun): enable this test when Thrust is available in ci.
841-
# @tvm.testing.uses_gpu
840+
@tvm.testing.uses_gpu
842841
def test_any_topk():
843842
verify_any_topk(any_dims(1), 5, (10,), "float32")
844843
verify_any_topk(any_dims(2), 2, (6, 3), "int32")
@@ -1387,7 +1386,6 @@ def test_any_where():
13871386
any_dims(2), any_dims(2), any_dims(2), (3, 4), (3, 1), (1, 4), y_np_shape_invalid=(2, 4)
13881387
)
13891388

1390-
13911389
# TODO(kevinthesun): enable gpu test when Thrust is available in ci.
13921390
# @tvm.testing.uses_gpu
13931391
def test_non_max_suppression():

tests/python/topi/python/test_topi_argwhere.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ def check_device(device, ctx):
6666
check_device(target, ctx)
6767

6868

69-
# TODO(zhiics) Enable argwhere gpu test after sort is fixed. Otherwise, we have
70-
# to use thrust to guarantee the correct results which has been tested locally.
71-
# @tvm.testing.uses_gpu
69+
@tvm.testing.uses_gpu
7270
def test_argwhere():
7371
verify_argwhere((1,))
7472
verify_argwhere((100,))

0 commit comments

Comments
 (0)