File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ permissions:
1414 contents : read
1515jobs :
1616 ec2 :
17- uses : Open-Athena/ec2/.github/workflows/runner.yml@dev
17+ uses : Open-Athena/ec2/.github/workflows/runner.yml@rw/dbg
1818 secrets : inherit
1919 prepare :
2020 needs : ec2
@@ -34,14 +34,14 @@ jobs:
3434 if : ${{ inputs.sleep > 0 }}
3535 run : sleep ${{ inputs.sleep }}
3636 train :
37- needs : prepare
37+ needs : [ec2, prepare]
3838 runs-on : ${{ needs.ec2.outputs.instance }}
3939 steps :
4040 - name : Verify same GPU
4141 run : |
4242 echo "=== Training model on GPU ==="
4343 current_uuid=$(nvidia-smi --query-gpu=gpu_uuid --format=csv,noheader)
44- if [[ "$current_uuid" == "${{ needs.prepare-gpu .outputs.gpu-uuid }}" ]]; then
44+ if [[ "$current_uuid" == "${{ needs.prepare.outputs.gpu-uuid }}" ]]; then
4545 echo "✅ Confirmed: Using same GPU as preparation job"
4646 else
4747 echo "❌ ERROR: Different GPU!"
5151 if : ${{ inputs.sleep > 0 }}
5252 run : sleep ${{ inputs.sleep }}
5353 eval :
54- needs : train
54+ needs : [ec2, train]
5555 runs-on : ${{ needs.ec2.outputs.instance }}
5656 steps :
5757 - name : Sleep (${{ inputs.sleep }}s)
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ permissions:
2424 contents : read # Required for actions/checkout
2525jobs :
2626 ec2 :
27- uses : Open-Athena/ec2/.github/workflows/runner.yml@dev
27+ uses : Open-Athena/ec2/.github/workflows/runner.yml@rw/dbg
2828 secrets :
2929 GH_SA_TOKEN : ${{ secrets.GH_SA_TOKEN }} # GitHub "Service Account" token for runner registration
3030 with :
You can’t perform that action at this time.
0 commit comments