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

Commit

Permalink
Revert "add flaky to norm (#20091)" (#20125)
Browse files Browse the repository at this point in the history
This reverts commit 4552d4f.
  • Loading branch information
szha authored Apr 7, 2021
1 parent 4745e0d commit 8397422
Showing 1 changed file with 0 additions and 2 deletions.
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

0 comments on commit 8397422

Please sign in to comment.