Skip to content

Commit

Permalink
.ci/aws: Add trainium tests to CI
Browse files Browse the repository at this point in the history
Signed-off-by: Seth Zegelstein <[email protected]>
  • Loading branch information
a-szegel committed Aug 5, 2024
1 parent 234d1a0 commit 8d1ab29
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .ci/aws/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,14 @@ pipeline {
def p5_region = "af-south-1"
def p5_odcr = "cr-02eb632dcd8175139"
def p4_p5_addl_args = "${addl_args_pr} --use-prebuilt-ami-with-efa-installer true"
def trn1_lock_label = "trn1-1-4node"
def trn1_region = "us-east-1"
def trn1_odcr = "cr-0981e3d8dda63e36f"
def trn1_addl_args = "${addl_args_pr} --odcr-placement-group-name trn1-placement-group --test-list test_nccom_test"
def trn1n_lock_label = "trn1n-1-4node"
def trn1n_region = "us-east-1"
def trn1n_odcr = "cr-07342cf6439332dce"
def trn1n_addl_args = "${addl_args_pr} --odcr-placement-group-name trn1n-placement-group --test-list test_nccom_test"

// p3dn tests
stages["4_p3dn_al2"] = get_test_stage_with_lock("4_p3dn_al2", env.BUILD_TAG, "alinux2", "p3dn.24xlarge", p3dn_region, p3dn_lock_label, num_instances, config, p3dn_odcr, p3dn_al2_addl_args)
Expand All @@ -231,6 +239,12 @@ pipeline {
stages["4_p5_ubuntu2004"] = get_test_stage_with_lock("4_p5_ubuntu2004", env.BUILD_TAG, "ubuntu2004", "p5.48xlarge", p5_region, p5_lock_label, num_instances, config, p5_odcr, p4_p5_addl_args)
stages["4_p5_ubuntu2204"] = get_test_stage_with_lock("4_p5_ubuntu2204", env.BUILD_TAG, "ubuntu2204", "p5.48xlarge", p5_region, p5_lock_label, num_instances, config, p5_odcr, p4_p5_addl_args)

// trn1 tests
stages["4_trn1_ubuntu2004"] = get_test_stage_with_lock("4_trn1_ubuntu2004", env.BUILD_TAG, "ubuntu2004", "trn1.32xlarge", trn1_region, trn1_lock_label, num_instances, config, trn1_odcr, trn1_addl_args)

// trn1n tests
stages["4_trn1n_ubuntu2004"] = get_test_stage_with_lock("4_trn1n_ubuntu2004", env.BUILD_TAG, "ubuntu2004", "trn1n.32xlarge", trn1n_region, trn1n_lock_label, num_instances, config, trn1n_odcr, trn1n_addl_args)

parallel stages
}
}
Expand Down

0 comments on commit 8d1ab29

Please sign in to comment.