Skip to content

Commit

Permalink
Add Maxtext tests to NGC test run (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
DwarKapex authored Apr 22, 2024
1 parent 4152544 commit 99a71ea
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_test_maxtext.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
#SBATCH --time=00:10:00
#SBATCH --output=${{ steps.meta.outputs.LOG_FILE }}
#SBATCH --export="VOCAB_PATH=gs://t5-data/vocabs/cc_all.32000.100extra/sentencepiece.model,ENROOT_PASSWORD=${{ secrets.GITHUB_TOKEN }},NVCR_TOKEN=${{ secrets.NVCR_TOKEN }}"
# preload enroot container using one task per node
time srun \
--ntasks-per-node=1 \
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/ngc-release-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ on:
description: "Rosetta Pax image to run tests on"
required: false
default: ''
MAXTEXT_IMAGE:
type: string
description: "MaxText image to run tests on"
required: false
default: ''


concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -59,9 +65,16 @@ jobs:
with:
PAX_IMAGE: ${{ inputs.PAX_IMAGE }}
secrets: inherit

test-maxtext:
if: inputs.MAXTEXT_IMAGE != ''
uses: ./.github/workflows/_test_maxtext.yaml
with:
MAXTEXT_IMAGE: ${{ inputs.MAXTEXT_IMAGE }}
secrets: inherit

finalize:
needs: [ test-jax, test-rosetta-pax ]
needs: [ test-jax, test-rosetta-pax, test-maxtext ]
if: "!cancelled()"
uses: ./.github/workflows/_finalize.yaml
secrets: inherit

0 comments on commit 99a71ea

Please sign in to comment.