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

Commit e727cdc

Browse files
goswamigpiiswrong
authored andcommitted
Disable the test test_batchnorm_training and test_cached (#8045)
1 parent fb4760b commit e727cdc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/python/unittest/test_ndarray.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import mxnet as mx
2020
import numpy as np
2121
import pickle as pkl
22+
import unittest
2223
from mxnet.test_utils import *
2324
from numpy.testing import assert_allclose
2425

@@ -673,7 +674,7 @@ def test_iter():
673674
for i in range(x.size):
674675
assert same(y[i].asnumpy(), x[i].asnumpy())
675676

676-
677+
@unittest.skip("test fails intermittently. temporarily disabled till it gets fixed. tracked at https://github.com/apache/incubator-mxnet/issues/8049")
677678
def test_cached():
678679
sym = mx.sym.Convolution(kernel=(3, 3), num_filter=10) + 2
679680
op = mx.nd.CachedOp(sym)

tests/python/unittest/test_operator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import itertools
2424
from numpy.testing import assert_allclose, assert_array_equal
2525
from mxnet.test_utils import *
26+
import unittest
2627

2728

2829
def np_softmax(x, axis=-1):
@@ -884,6 +885,7 @@ def test_nearest_upsampling():
884885
check_nearest_upsampling_with_shape(shapes, scale, root_scale)
885886

886887

888+
@unittest.skip("test fails intermittently. temporarily disabled till it gets fixed. tracked at https://github.com/apache/incubator-mxnet/issues/8044")
887889
def test_batchnorm_training():
888890
def check_batchnorm_training(stype):
889891
for shape in [(2, 3), (2, 3, 2, 2)]:

0 commit comments

Comments
 (0)