diff --git a/ci/docker/runtime_functions.sh b/ci/docker/runtime_functions.sh index f35de6bef0b9..d6f07da942a5 100755 --- a/ci/docker/runtime_functions.sh +++ b/ci/docker/runtime_functions.sh @@ -179,7 +179,6 @@ build_centos7_cpu() { DEV=1 \ USE_LAPACK=1 \ USE_LAPACK_PATH=/usr/lib64/liblapack.so \ - USE_PROFILER=1 \ USE_BLAS=openblas \ -j$(nproc) } @@ -191,7 +190,6 @@ build_centos7_mkldnn() { DEV=1 \ USE_LAPACK=1 \ USE_LAPACK_PATH=/usr/lib64/liblapack.so \ - USE_PROFILER=1 \ USE_MKLDNN=1 \ USE_BLAS=openblas \ -j$(nproc) @@ -204,7 +202,6 @@ build_centos7_gpu() { DEV=1 \ USE_LAPACK=1 \ USE_LAPACK_PATH=/usr/lib64/liblapack.so \ - USE_PROFILER=1 \ USE_BLAS=openblas \ USE_CUDA=1 \ USE_CUDA_PATH=/usr/local/cuda \ @@ -216,7 +213,6 @@ build_ubuntu_cpu_openblas() { set -ex make \ DEV=1 \ - USE_PROFILER=1 \ USE_CPP_PACKAGE=1 \ USE_BLAS=openblas \ -j$(nproc) @@ -225,7 +221,6 @@ build_ubuntu_cpu_openblas() { build_ubuntu_cpu_clang39() { set -ex make \ - USE_PROFILER=1 \ USE_CPP_PACKAGE=1 \ USE_BLAS=openblas \ USE_OPENMP=0 \ @@ -237,7 +232,6 @@ build_ubuntu_cpu_clang39() { build_ubuntu_cpu_clang50() { set -ex make \ - USE_PROFILER=1 \ USE_CPP_PACKAGE=1 \ USE_BLAS=openblas \ USE_OPENMP=1 \ @@ -249,7 +243,6 @@ build_ubuntu_cpu_clang50() { build_ubuntu_cpu_clang39_mkldnn() { set -ex make \ - USE_PROFILER=1 \ USE_CPP_PACKAGE=1 \ USE_BLAS=openblas \ USE_MKLDNN=1 \ @@ -262,7 +255,6 @@ build_ubuntu_cpu_clang39_mkldnn() { build_ubuntu_cpu_clang50_mkldnn() { set -ex make \ - USE_PROFILER=1 \ USE_CPP_PACKAGE=1 \ USE_BLAS=openblas \ USE_MKLDNN=1 \ @@ -276,7 +268,6 @@ build_ubuntu_cpu_mkldnn() { set -ex make \ DEV=1 \ - USE_PROFILER=1 \ USE_CPP_PACKAGE=1 \ USE_BLAS=openblas \ USE_MKLDNN=1 \ @@ -287,7 +278,6 @@ build_ubuntu_gpu_mkldnn() { set -ex make \ DEV=1 \ - USE_PROFILER=1 \ USE_CPP_PACKAGE=1 \ USE_BLAS=openblas \ USE_MKLDNN=1 \ @@ -301,7 +291,6 @@ build_ubuntu_gpu_cuda91_cudnn7() { set -ex make \ DEV=1 \ - USE_PROFILER=1 \ USE_BLAS=openblas \ USE_CUDA=1 \ USE_CUDA_PATH=/usr/local/cuda \ @@ -314,7 +303,7 @@ build_ubuntu_amalgamation() { set -ex # Amalgamation can not be run with -j nproc make -C amalgamation/ clean - make -C amalgamation/ USE_BLAS=openblas + make -C amalgamation/ USE_BLAS=openblas } build_ubuntu_amalgamation_min() { @@ -335,7 +324,7 @@ build_ubuntu_gpu_cmake_mkldnn() { -DCMAKE_BUILD_TYPE=Release \ -G Ninja \ /work/mxnet - + ninja -v } @@ -350,7 +339,7 @@ build_ubuntu_gpu_cmake() { -DCMAKE_BUILD_TYPE=Release \ -G Ninja \ /work/mxnet - + ninja -v } @@ -367,7 +356,7 @@ sanity_check() { unittest_ubuntu_python2_cpu() { set -ex - export PYTHONPATH=./python/ + export PYTHONPATH=./python/ # MXNET_MKLDNN_DEBUG is buggy and produces false positives # https://github.com/apache/incubator-mxnet/issues/10026 #export MXNET_MKLDNN_DEBUG=1 # Ignored if not present @@ -379,7 +368,7 @@ unittest_ubuntu_python2_cpu() { unittest_ubuntu_python3_cpu() { set -ex - export PYTHONPATH=./python/ + export PYTHONPATH=./python/ # MXNET_MKLDNN_DEBUG is buggy and produces false positives # https://github.com/apache/incubator-mxnet/issues/10026 #export MXNET_MKLDNN_DEBUG=1 # Ignored if not present @@ -390,9 +379,9 @@ unittest_ubuntu_python3_cpu() { unittest_ubuntu_python2_gpu() { set -ex - export PYTHONPATH=./python/ + export PYTHONPATH=./python/ # MXNET_MKLDNN_DEBUG is buggy and produces false positives - # https://github.com/apache/incubator-mxnet/issues/10026 + # https://github.com/apache/incubator-mxnet/issues/10026 #export MXNET_MKLDNN_DEBUG=1 # Ignored if not present export MXNET_STORAGE_FALLBACK_LOG_VERBOSE=0 nosetests-2.7 --verbose tests/python/gpu @@ -400,7 +389,7 @@ unittest_ubuntu_python2_gpu() { unittest_ubuntu_python3_gpu() { set -ex - export PYTHONPATH=./python/ + export PYTHONPATH=./python/ # MXNET_MKLDNN_DEBUG is buggy and produces false positives # https://github.com/apache/incubator-mxnet/issues/10026 #export MXNET_MKLDNN_DEBUG=1 # Ignored if not present @@ -412,9 +401,9 @@ unittest_ubuntu_python3_gpu() { # need to separte it from unittest_ubuntu_python2_gpu() unittest_ubuntu_python2_quantization_gpu() { set -ex - export PYTHONPATH=./python/ + export PYTHONPATH=./python/ # MXNET_MKLDNN_DEBUG is buggy and produces false positives - # https://github.com/apache/incubator-mxnet/issues/10026 + # https://github.com/apache/incubator-mxnet/issues/10026 #export MXNET_MKLDNN_DEBUG=1 # Ignored if not present export MXNET_STORAGE_FALLBACK_LOG_VERBOSE=0 nosetests-2.7 --verbose tests/python/quantization_gpu @@ -424,7 +413,7 @@ unittest_ubuntu_python2_quantization_gpu() { # need to separte it from unittest_ubuntu_python3_gpu() unittest_ubuntu_python3_quantization_gpu() { set -ex - export PYTHONPATH=./python/ + export PYTHONPATH=./python/ # MXNET_MKLDNN_DEBUG is buggy and produces false positives # https://github.com/apache/incubator-mxnet/issues/10026 #export MXNET_MKLDNN_DEBUG=1 # Ignored if not present @@ -479,7 +468,7 @@ unittest_centos7_gpu() { python3.6 -m "nose" --with-timer --verbose tests/python/gpu } -integrationtest_ubuntu_cpu_onnx() { +integrationtest_ubuntu_cpu_onnx() { set -ex export PYTHONPATH=./python/ python example/onnx/super_resolution.py @@ -496,7 +485,7 @@ integrationtest_ubuntu_gpu_python() { integrationtest_ubuntu_gpu_caffe() { set -ex - export PYTHONPATH=/work/deps/caffe/python:./python + export PYTHONPATH=/work/deps/caffe/python:./python python tools/caffe_converter/test_converter.py } @@ -545,7 +534,7 @@ test_ubuntu_cpu_python3() { deploy_docs() { set -ex pushd . - + make docs popd