Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 87103d4

Browse files
committed
Fixed indentation in the MBCC Jenkins file and also separated out training and inference into two separate stages
1 parent edd6816 commit 87103d4

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

tests/nightly/model_backwards_compatibility_check/JenkinsfileForMBCC

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,25 @@ def docker_run(platform, function_name, use_nvidia, shared_mem = '500m') {
4949
}
5050

5151
try {
52-
stage('MBCC'){
53-
parallel 'ModelBackwardsCompat: CPU': {
54-
node('mxnetlinux-cpu') {
55-
ws('workspace/modelBackwardsCompat') {
56-
57-
init_git()
58-
// Train models on older versions
59-
docker_run('ubuntu_nightly_cpu', 'nightly_model_backwards_compat_train', false)
60-
// upload files to S3 here outside of the docker environment
61-
sh /tests/nightly/model_backwards_compatibility_check/upload_models_to_s3.sh
62-
// Perform inference on these models
63-
docker_run('ubuntu_nightly_cpu', 'nightly_model_backwards_compat_test', false)
52+
stage('MBCC Train'){
53+
node('mxnetlinux-cpu') {
54+
ws('workspace/modelBackwardsCompat') {
55+
init_git()
56+
// Train models on older versions
57+
docker_run('ubuntu_nightly_cpu', 'nightly_model_backwards_compat_train', false)
58+
// upload files to S3 here outside of the docker environment
59+
sh ./tests/nightly/model_backwards_compatibility_check/upload_models_to_s3.sh
60+
}
61+
}
62+
}
6463

65-
}
66-
}
64+
stage('MBCC Inference)'{
65+
node('mxnetlinux-cpu') {
66+
ws('workspace/modelBackwardsCompat') {
67+
init_git()
68+
// Perform inference on the latest version of MXNet
69+
docker_run('ubuntu_nightly_cpu', 'nightly_model_backwards_compat_test', false)
70+
}
6771
}
6872
}
6973
} catch (caughtError) {

0 commit comments

Comments
 (0)