File tree Expand file tree Collapse file tree
tools/cloud-build/daily-tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 deployment_name : slurm6-tpu
2222 region : us-central1
2323 zone : us-central1-a
24- nodeset_preemptible : false
2524
2625deployment_groups :
2726- group : primary
@@ -38,7 +37,7 @@ deployment_groups:
3837 # Preemptible TPUs cost much less than non-preemptible TPUs.
3938 # The Cloud TPU service might preempt (shut down) these TPUs at any time.
4039 # https://cloud.google.com/tpu/docs/preemptible
41- preemptible : $(vars.nodeset_preemptible)
40+ preemptible : false
4241 # Specify whether to preserve TPU on suspend.
4342 # If set to true, suspended VM will be stopped.
4443 # If set to false, suspended VM will be deleted.
Original file line number Diff line number Diff line change 5757 cd /workspace && make
5858 REGION="$${ZONE%-*}"
5959 BUILD_ID_SHORT="$${BUILD_ID:0:6}"
60+ BLUEPRINT="/workspace/community/examples/hpc-slurm6-tpu.yaml"
61+ sed -i 's/^[ ]*preemptible: false/ preemptible: true/' $${BLUEPRINT}
6062
6163 ansible-playbook tools/cloud-build/daily-tests/ansible_playbooks/slurm-integration-test.yml \
6264 --user=sa_106486320838376751393 \
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ slurm_cluster_name: "v6tpu{{ build[0:5] }}"
2323cli_deployment_vars :
2424 region : " {{ region }}"
2525 zone : " {{ zone }}"
26- nodeset_preemptible : true
2726
2827workspace : /workspace
2928blueprint_yaml : " {{ workspace }}/community/examples/hpc-slurm6-tpu.yaml"
You can’t perform that action at this time.
0 commit comments