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

Revert "Mark test_layer_norm and test_norm flaky" #20125

Merged
merged 1 commit into from
Apr 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions tests/python/unittest/test_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -3410,7 +3410,6 @@ def npy_layer_norm_grad(data, gamma, out_grad, axis, eps):
gt_beta_grad + init_beta_grad, backward_check_eps, backward_check_eps)


@pytest.mark.flaky
def test_norm():
try:
import scipy
Expand Down Expand Up @@ -3491,7 +3490,6 @@ def l2norm(input_data, axis=0, keepdims=True):
(np.float32, 1E-3, 1E-3, [(10, 6, 5), (10, 10), (128 * 32, 512)], [True, True, False]),
(np.float64, 1E-4, 1E-4, [(10, 6, 5), (10, 10), (128 * 32, 512)], [True, True, False])
])
@pytest.mark.flaky
def test_layer_norm(enforce_safe_acc, dtype, forward_check_eps, backward_check_eps,
in_shape_l, finite_grad_check_l):
with environment('MXNET_SAFE_ACCUMULATION', enforce_safe_acc):
Expand Down