4040 group-name : ${{ steps.set-group-name.outputs.group-name }}
4141 zone : ${{ steps.set-zone.outputs.zone }}
4242 tpu-type : ${{ steps.set-tpu-type.outputs.tpu-type }}
43+ tpu-type-topology : ${{ steps.set-tpu-type-topology.outputs.tpu-type-topology }}
4344 location : ${{steps.set-location.outputs.location}}
4445 run-id : ${{steps.set-run-id.outputs.run-id}}
4546 steps :
7677 id : set-tpu-type
7778 run : |
7879 echo tpu-type=v4-8 >> $GITHUB_OUTPUT
80+ - name : set tpu-type-topology
81+ id : set-tpu-type-topology
82+ run : |
83+ echo tpu-type-topology=v4-2x2x1 >> $GITHUB_OUTPUT
7984 - name : set location
8085 id : set-location
8186 run : |
@@ -152,7 +157,7 @@ jobs:
152157 with :
153158 run-id : ' ${{needs.set-variables.outputs.run-id}}'
154159 cluster-name : ' ${{needs.set-variables.outputs.cluster-name}}'
155- tpu-type : ' ${{needs.set-variables.outputs.tpu-type || inputs.tpu-type}}'
160+ tpu-type : ' ${{needs.set-variables.outputs.tpu-type-topology || inputs.tpu-type}}'
156161 zone : ' ${{needs.set-variables.outputs.zone}}'
157162 location : ' ${{needs.set-variables.outputs.location}}'
158163 secrets : inherit
@@ -165,7 +170,7 @@ jobs:
165170 with :
166171 cluster-name-dws : ' ${{needs.set-variables.outputs.cluster-name-dws}}'
167172 cluster-name : ' ${{needs.set-variables.outputs.cluster-name}}'
168- tpu-type : ' ${{needs.set-variables.outputs.tpu-type || inputs.tpu-type}}'
173+ tpu-type : ' ${{needs.set-variables.outputs.tpu-type-topology || inputs.tpu-type}}'
169174 zone : ' ${{needs.set-variables.outputs.zone}}'
170175 location : ' ${{needs.set-variables.outputs.location}}'
171176 run-id : ' ${{needs.set-variables.outputs.run-id}}'
@@ -180,6 +185,7 @@ jobs:
180185 cluster-name : ${{needs.set-variables.outputs.cluster-name}}
181186 cluster-name-dws : ' ${{needs.set-variables.outputs.cluster-name-dws}}'
182187 tpu-type : ${{needs.set-variables.outputs.tpu-type}}
188+ tpu-type-topology : ${{needs.set-variables.outputs.tpu-type-topology}}
183189 zone : ${{needs.set-variables.outputs.zone}}
184190 run-id : ' ${{needs.set-variables.outputs.run-id}}'
185191 secrets : inherit
0 commit comments