From 7ea05333efc8ca868443b89233b101d068f6af9f Mon Sep 17 00:00:00 2001 From: Anton Chernov Date: Wed, 12 Sep 2018 10:47:47 +0200 Subject: [PATCH] Revert "Fix flaky test: test_mkldnn.test_activation #12377 (#12418)" (#12516) This reverts commit 445967e6c316a91876efb60b6a5ef52ec1837d73. --- tests/python/mkl/test_mkldnn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/python/mkl/test_mkldnn.py b/tests/python/mkl/test_mkldnn.py index 17fc29c81114..e597d0f5fc58 100644 --- a/tests/python/mkl/test_mkldnn.py +++ b/tests/python/mkl/test_mkldnn.py @@ -281,6 +281,7 @@ def check_pooling_training(stype): check_pooling_training(stype) +@unittest.skip("Flaky test: https://github.com/apache/incubator-mxnet/issues/12377") @with_seed() def test_activation(): def check_activation_training(stype): @@ -291,7 +292,7 @@ def check_activation_training(stype): in_location = [mx.nd.array(data_tmp).tostype(stype)] test = mx.symbol.Activation(data, act_type="relu") - check_numeric_gradient(test, in_location, numeric_eps=1e-6, rtol=0.16, atol=1e-4) + check_numeric_gradient(test, in_location, numeric_eps=1e-2, rtol=0.16, atol=1e-4) stypes = ['row_sparse', 'default'] for stype in stypes: