You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2020/12/01 20:36:50 UTC
[incubator-mxnet] branch master updated: run lt nightly tests as
individual sub-process (#19576)
This is an automated email from the ASF dual-hosted git repository.
zha0q1 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 11a7903 run lt nightly tests as individual sub-process (#19576)
11a7903 is described below
commit 11a7903c09b07f741cf81191be77d48fa8f7f584
Author: Rohit Kumar Srivastava <sr...@osu.edu>
AuthorDate: Tue Dec 1 12:35:23 2020 -0800
run lt nightly tests as individual sub-process (#19576)
Co-authored-by: Rohit Kumar Srivastava <sr...@buckeyemail.osu.edu>
---
ci/docker/runtime_functions.sh | 2 +-
tests/nightly/test_np_large_array.py | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ci/docker/runtime_functions.sh b/ci/docker/runtime_functions.sh
index 633b28c..88e77a7 100755
--- a/ci/docker/runtime_functions.sh
+++ b/ci/docker/runtime_functions.sh
@@ -1054,7 +1054,7 @@ nightly_test_large_tensor() {
set -ex
export PYTHONPATH=./python/
export DMLC_LOG_STACK_TRACE_DEPTH=10
- pytest --timeout=0 tests/nightly/test_np_large_array.py
+ pytest --timeout=0 --forked tests/nightly/test_np_large_array.py
}
#Tests Model backwards compatibility on MXNet
diff --git a/tests/nightly/test_np_large_array.py b/tests/nightly/test_np_large_array.py
index 6165011..a1a34d8 100644
--- a/tests/nightly/test_np_large_array.py
+++ b/tests/nightly/test_np_large_array.py
@@ -208,6 +208,7 @@ def test_argmax():
@use_np
+@pytest.mark.skip(reason='times out (20 mins)')
def test_trigonometric_family():
def batch_check(x, funcs):
for f in funcs:
@@ -2253,6 +2254,7 @@ def test_interp():
@use_np
+@pytest.mark.skip(reason='times out (20 mins)')
def test_edge_padding():
inp = create_2d_np_tensor(rows=INT_OVERFLOW, columns=4, dtype=np.int64)
out = np.pad(inp, ((1, 1), (1, 1)), "edge")
@@ -2271,6 +2273,7 @@ def test_constant_padding():
@use_np
+@pytest.mark.skip(reason='times out (20 mins)')
def test_minimum_padding():
inp = create_2d_np_tensor(rows=INT_OVERFLOW, columns=4, dtype=np.int64)
out = np.pad(inp, ((1, 1), (1, 1)), "minimum")
@@ -2280,6 +2283,7 @@ def test_minimum_padding():
@use_np
+@pytest.mark.skip(reason='times out (20 mins)')
def test_reflection_padding():
inp = create_2d_np_tensor(rows=INT_OVERFLOW, columns=4, dtype=np.int64)
out = np.pad(inp, ((1, 1), (1, 1)), "reflect")
@@ -2289,6 +2293,7 @@ def test_reflection_padding():
@use_np
+@pytest.mark.skip(reason='times out (20 mins)')
def test_symmetric_padding():
inp = create_2d_np_tensor(rows=INT_OVERFLOW, columns=4, dtype=np.int64)
out = np.pad(inp, ((1, 1), (1, 1)), "symmetric")