You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by la...@apache.org on 2021/04/07 17:30:54 UTC
[incubator-mxnet] branch master updated: Revert "add flaky to norm
(#20091)" (#20125)
This is an automated email from the ASF dual-hosted git repository.
lausen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 8397422 Revert "add flaky to norm (#20091)" (#20125)
8397422 is described below
commit 8397422aeb4b09fa464b824bfe769f5fd8cb7969
Author: Sheng Zha <sz...@users.noreply.github.com>
AuthorDate: Wed Apr 7 13:29:05 2021 -0400
Revert "add flaky to norm (#20091)" (#20125)
This reverts commit 4552d4f976deb0d695aadcae0bdf9b570829f89e.
---
tests/python/unittest/test_operator.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/python/unittest/test_operator.py b/tests/python/unittest/test_operator.py
index 31abf87..88bd4c3 100644
--- a/tests/python/unittest/test_operator.py
+++ b/tests/python/unittest/test_operator.py
@@ -3410,7 +3410,6 @@ def check_layer_normalization(in_shape, axis, eps, dtype=np.float32,
gt_beta_grad + init_beta_grad, backward_check_eps, backward_check_eps)
-@pytest.mark.flaky
def test_norm():
try:
import scipy
@@ -3491,7 +3490,6 @@ def test_norm():
(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):