Skip to content

Commit efd6279

Browse files
Updated workflow.
1 parent 8f56f7a commit efd6279

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/gpu-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ jobs:
4242
token: ${{ env.BEAKER_TOKEN }}
4343
workspace: ai2/tulu-thinker
4444

45+
- name: Get Beaker whoami
46+
if: env.BEAKER_TOKEN != ''
47+
run: |
48+
BEAKER_WHOAMI=$(beaker account whoami --format json | jq -r '.[0].name')
49+
echo "BEAKER_WHOAMI=$BEAKER_WHOAMI" >> $GITHUB_ENV
50+
4551
- name: Run GPU tests on Beaker
4652
if: env.BEAKER_TOKEN != ''
4753
uses: allenai/[email protected]
@@ -52,6 +58,7 @@ jobs:
5258
budget: ai2/oe-training
5359
tasks:
5460
- name: gpu-tests
61+
image: ${{ env.BEAKER_WHOAMI }}/open-instruct-latest
5562
context:
5663
priority: normal
5764
preemptible: true

0 commit comments

Comments
 (0)