Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
check previously failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mseth10 committed Jul 3, 2021
1 parent f7f7c30 commit ccc57fa
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion tests/python/unittest/test_contrib_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ def assert_match(inputs, x, y, threshold, is_ascend=False):
assert_match([[0.5, 0.6], [0.1, 0.2], [0.3, 0.4]], [1, -1, 0], [2, 0], 1e-12, False)
assert_match([[0.5, 0.6], [0.1, 0.2], [0.3, 0.4]], [-1, 0, 1], [1, 2], 100, True)

@unittest.skipIf(is_aarch64_run(), "test fails on aarch64 - tracked in #20289")
def test_multibox_target_op():
anchors = mx.nd.array([[0.1, 0.2, 0.3, 0.4], [0.5, 0.6, 0.7, 0.8]], ctx=default_context()).reshape((1, -1, 4))
cls_pred = mx.nd.array(list(range(10)), ctx=default_context()).reshape((1, -1, 2))
Expand Down
1 change: 0 additions & 1 deletion tests/python/unittest/test_ndarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,6 @@ def test_output():


@with_seed()
@unittest.skipIf(is_aarch64_run(), "test fails on aarch64 - tracked in #20289")
def test_ndarray_fluent():
has_grad = set(['flatten', 'expand_dims', 'flip', 'tile', 'transpose', 'sum', 'nansum', 'prod',
'nanprod', 'mean', 'max', 'min', 'reshape', 'broadcast_to', 'split', 'split_v2',
Expand Down
1 change: 0 additions & 1 deletion tests/python/unittest/test_numpy_interoperability.py
Original file line number Diff line number Diff line change
Expand Up @@ -3067,7 +3067,6 @@ def test_np_memory_array_function():

@with_seed()
@use_np
@unittest.skipIf(is_aarch64_run(), "test fails on aarch64 - tracked in #20289")
@with_array_function_protocol
def test_np_array_function_protocol():
check_interoperability(_NUMPY_ARRAY_FUNCTION_LIST)
Expand Down
1 change: 0 additions & 1 deletion tests/python/unittest/test_numpy_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -3574,7 +3574,6 @@ def hybrid_forward(self, F, x):

@with_seed()
@use_np
@unittest.skipIf(is_aarch64_run(), "test fails on aarch64 - tracked in #20289")
def test_np_delete():
class TestDelete(HybridBlock):
def __init__(self, obj, axis=None):
Expand Down
4 changes: 2 additions & 2 deletions tests/python/unittest/test_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ def test_profiler():

for i in range(iter_num):
if i == begin_profiling_iter:
t0 = time.clock()
t0 = time.process_time()
profiler.set_state('run')
if i == end_profiling_iter:
t1 = time.clock()
t1 = time.process_time()
profiler.set_state('stop')
executor.forward()
c = executor.outputs[0]
Expand Down

0 comments on commit ccc57fa

Please sign in to comment.