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 dffcde0
Show file tree
Hide file tree
Showing 3 changed files with 13 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
22 changes: 11 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 Down Expand Up @@ -900,7 +900,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 +916,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 +950,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 +964,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 +978,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 +1020,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 +1103,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 +1131,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 +1145,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 +1213,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 dffcde0

Please sign in to comment.