Skip to content

Commit 8559f81

Browse files
committed
ec2@rw/dbg
1 parent 2ac1109 commit 8559f81

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/minimal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions:
66
contents: read # Required for actions/checkout
77
jobs:
88
ec2:
9-
uses: Open-Athena/ec2/.github/workflows/runner.yml@dev
9+
uses: Open-Athena/ec2/.github/workflows/runner.yml@rw/dbg
1010
secrets: inherit
1111
gpu-test:
1212
needs: ec2

.github/workflows/multi-job.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
contents: read
1515
jobs:
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!"
@@ -51,7 +51,7 @@ jobs:
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)

.github/workflows/test-gpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ permissions:
2424
contents: read # Required for actions/checkout
2525
jobs:
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:

0 commit comments

Comments
 (0)