Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reformat Jenkinsfile and switch quantization to CUDA 9 #9

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 4 additions & 29 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down Expand Up @@ -218,17 +204,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') {
Expand Down Expand Up @@ -389,17 +364,17 @@ 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"
}
}
},
'Python3: Quantize GPU': {
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"
}
}
},
Expand Down