Skip to content

Commit

Permalink
add linux gpu g4 node to all tests using g3 in unix-gpu pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaiBapchya committed May 3, 2020
1 parent e9a8d5f commit 1f69890
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 12 deletions.
1 change: 1 addition & 0 deletions ci/Jenkinsfile_utils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def assign_node_labels(args) {
// knowing about the limitations.
NODE_LINUX_CPU = args.linux_cpu
NODE_LINUX_GPU = args.linux_gpu
NODE_LINUX_GPU_G4 = args.linux_gpu_g4
NODE_LINUX_GPU_P3 = args.linux_gpu_p3
NODE_WINDOWS_CPU = args.windows_cpu
NODE_WINDOWS_GPU = args.windows_gpu
Expand Down
41 changes: 30 additions & 11 deletions ci/jenkins/Jenkins_steps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ def test_unix_python3_mkl_cpu() {

def test_unix_python3_gpu() {
return ['Python3: GPU': {
node(NODE_LINUX_GPU) {
node(NODE_LINUX_GPU_G4) {
ws('workspace/ut-python3-gpu') {
try {
utils.unpack_and_init('gpu', mx_lib_cython)
Expand All @@ -814,6 +814,25 @@ def test_unix_python3_gpu() {
}]
}

<<<<<<< HEAD
=======
def test_unix_python3_gpu_no_tvm_op() {
return ['Python3: GPU TVM_OP OFF': {
node(NODE_LINUX_GPU_G4) {
ws('workspace/ut-python3-gpu-no-tvm-op') {
try {
utils.unpack_and_init('gpu_no_tvm_op', mx_lib_cpp_examples_no_tvm_op)
python3_gpu_ut_cython('ubuntu_build_cuda')
utils.publish_test_coverage()
} finally {
utils.collect_test_results_unix('tests_gpu.xml', 'tests_python3_gpu.xml')
}
}
}
}]
}

>>>>>>> add linux gpu g4 node to all tests using g3 in unix-gpu pipeline
def test_unix_python3_quantize_gpu() {
return ['Python3: Quantize GPU': {
node(NODE_LINUX_GPU_P3) {
Expand Down Expand Up @@ -900,7 +919,7 @@ def test_unix_python3_mkldnn_mkl_cpu() {

def test_unix_python3_mkldnn_gpu() {
return ['Python3: MKLDNN-GPU': {
node(NODE_LINUX_GPU) {
node(NODE_LINUX_GPU_G4) {
ws('workspace/ut-python3-mkldnn-gpu') {
try {
utils.unpack_and_init('mkldnn_gpu', mx_mkldnn_lib)
Expand All @@ -916,7 +935,7 @@ def test_unix_python3_mkldnn_gpu() {

def test_unix_python3_mkldnn_nocudnn_gpu() {
return ['Python3: MKLDNN-GPU-NOCUDNN': {
node(NODE_LINUX_GPU) {
node(NODE_LINUX_GPU_G4) {
ws('workspace/ut-python3-mkldnn-gpu-nocudnn') {
try {
utils.unpack_and_init('mkldnn_gpu_nocudnn', mx_mkldnn_lib)
Expand Down Expand Up @@ -950,7 +969,7 @@ def test_unix_python3_tensorrt_gpu() {

def test_unix_python3_integration_gpu() {
return ['Python Integration GPU': {
node(NODE_LINUX_GPU) {
node(NODE_LINUX_GPU_G4) {
ws('workspace/it-python-gpu') {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('gpu', mx_lib)
Expand All @@ -964,7 +983,7 @@ def test_unix_python3_integration_gpu() {

def test_unix_cpp_package_gpu() {
return ['cpp-package GPU Makefile': {
node(NODE_LINUX_GPU) {
node(NODE_LINUX_GPU_G4) {
ws('workspace/it-cpp-package') {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('gpu_make', mx_lib_cpp_examples_make)
Expand All @@ -978,7 +997,7 @@ def test_unix_cpp_package_gpu() {

def test_unix_capi_cpp_package() {
return ['capi-cpp-package GPU Makefile': {
node(NODE_LINUX_GPU) {
node(NODE_LINUX_GPU_G4) {
ws('workspace/it-capi-cpp-package') {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('gpu_mkldnn_cpp_test_make', mx_lib_cpp_capi_make)
Expand Down Expand Up @@ -1020,7 +1039,7 @@ def test_unix_scala_mkldnn_cpu(){

def test_unix_scala_gpu() {
return ['Scala: GPU Makefile': {
node(NODE_LINUX_GPU) {
node(NODE_LINUX_GPU_G4) {
ws('workspace/ut-scala-gpu') {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('gpu_make', mx_lib_make)
Expand Down Expand Up @@ -1103,7 +1122,7 @@ def test_unix_perl_cpu() {

def test_unix_cpp_gpu() {
return ['Cpp: GPU': {
node(NODE_LINUX_GPU) {
node(NODE_LINUX_GPU_G4) {
ws('workspace/ut-cpp-gpu') {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('cmake_gpu', mx_cmake_lib)
Expand Down Expand Up @@ -1131,7 +1150,7 @@ def test_unix_cpp_cpu() {

def test_unix_perl_gpu() {
return ['Perl: GPU Makefile': {
node(NODE_LINUX_GPU) {
node(NODE_LINUX_GPU_G4) {
ws('workspace/ut-perl-gpu') {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('gpu_make', mx_lib_make)
Expand All @@ -1145,7 +1164,7 @@ def test_unix_perl_gpu() {

def test_unix_r_gpu() {
return ['R: GPU': {
node(NODE_LINUX_GPU) {
node(NODE_LINUX_GPU_G4) {
ws('workspace/ut-r-gpu') {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('gpu', mx_lib)
Expand Down Expand Up @@ -1213,7 +1232,7 @@ def test_unix_distributed_kvstore_cpu() {

def test_unix_distributed_kvstore_gpu() {
return ['dist-kvstore tests GPU': {
node(NODE_LINUX_GPU) {
node(NODE_LINUX_GPU_G4) {
ws('workspace/it-dist-kvstore') {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('gpu', mx_lib)
Expand Down
2 changes: 1 addition & 1 deletion ci/jenkins/Jenkinsfile_unix_gpu
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ node('utility') {
utils = load('ci/Jenkinsfile_utils.groovy')
custom_steps = load('ci/jenkins/Jenkins_steps.groovy')
}
utils.assign_node_labels(utility: 'utility', linux_cpu: 'mxnetlinux-cpu', linux_gpu: 'mxnetlinux-gpu', linux_gpu_p3: 'mxnetlinux-gpu-p3')
utils.assign_node_labels(utility: 'utility', linux_cpu: 'mxnetlinux-cpu', linux_gpu: 'mxnetlinux-gpu', linux_gpu_p3: 'mxnetlinux-gpu-p3',linux_gpu_g4: 'mxnetlinux-gpu-g4')

utils.main_wrapper(
core_logic: {
Expand Down

0 comments on commit 1f69890

Please sign in to comment.