From 5e747182d0c1950742f46ccfa1fca9f6b2dd5812 Mon Sep 17 00:00:00 2001 From: Marco de Abreu Date: Wed, 21 Mar 2018 18:03:14 +0100 Subject: [PATCH] Reformat Jenkinsfile and switch quantization to CUDA 9 (#9) --- Jenkinsfile | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e4d43811811e..698531bdef4c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -121,20 +121,6 @@ def python3_gpu_ut(docker_container_name) { } } -// Python 2 gpu quantization unittest -def python2_gpu_qt(docker_container_name) { - timeout(time: max_time, unit: 'MINUTES') { - sh "ci/build.py --nvidiadocker --build --platform ${docker_container_name} /work/runtime_functions.sh unittest_ubuntu_python2_quantization_gpu" - } -} - -// Python 3 gpu quantization unittest -def python3_gpu_qt(docker_container_name) { - timeout(time: max_time, unit: 'MINUTES') { - sh "ci/build.py --nvidiadocker --build --platform ${docker_container_name} /work/runtime_functions.sh unittest_ubuntu_python3_quantization_gpu" - } -} - try { stage("Sanity Check") { node('mxnetlinux-cpu') { @@ -236,17 +222,6 @@ try { } } }, - 'GPU: CUDA8.0+cuDNN7': { - node('mxnetlinux-cpu') { - ws('workspace/build-gpu-cuda8-cudnn7') { - init_git() - sh "ci/build.py --build --platform ubuntu_build_cuda /work/runtime_functions.sh build_ubuntu_gpu_cuda8_cudnn7" - pack_lib('gpu_cuda8_cudnn7') - stash includes: 'build/cpp-package/example/test_score', name: 'cpp_test_score' - stash includes: 'build/cpp-package/example/test_optimizer', name: 'cpp_test_optimizer' - } - } - }, 'Amalgamation MIN': { node('mxnetlinux-cpu') { ws('workspace/amalgamationmin') { @@ -407,8 +382,8 @@ try { node('mxnetlinux-gpu-p3') { ws('workspace/ut-python2-quantize-gpu') { init_git() - unpack_lib('gpu_cuda8_cudnn7', mx_lib) - python2_gpu_qt('ubuntu_gpu') + unpack_lib('gpu', mx_lib) + sh "ci/build.py --nvidiadocker --build --platform ubuntu_gpu /work/runtime_functions.sh unittest_ubuntu_python2_quantization_gpu" } } }, @@ -416,8 +391,8 @@ try { node('mxnetlinux-gpu-p3') { ws('workspace/ut-python3-quantize-gpu') { init_git() - unpack_lib('gpu_cuda8_cudnn7', mx_lib) - python3_gpu_qt('ubuntu_gpu') + unpack_lib('gpu', mx_lib) + sh "ci/build.py --nvidiadocker --build --platform ubuntu_gpu /work/runtime_functions.sh unittest_ubuntu_python3_quantization_gpu" } } },