forked from jax-ml/jax
-
Notifications
You must be signed in to change notification settings - Fork 3
Add nightly scale tests for self-hosted runners #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
quoctruong
wants to merge
10
commits into
main
Choose a base branch
from
quoct/stress-test
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
a0699f7
Run stress tests
quoctruong 1fce65a
Run stress tests
quoctruong dace222
Add logging
quoctruong d9e4c47
Make stress test run
quoctruong eb6df84
Fix stress test
quoctruong 1b7ab90
Fix stress test to run at 11pm every night
quoctruong c0cd0c5
Fix formatting
quoctruong 766a39c
Address comments
quoctruong eb58999
Update name for runners
quoctruong 5132a5e
Fix wait-for-connection-test workflow
quoctruong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Nightly Scale Test for self-hosted runners | ||
| name: Self-hosted Runners Nightly Scale Test | ||
| on: | ||
| schedule: | ||
| # Triggers at 6AM UTC, which is 11PM PST. | ||
| - cron: '0 06 * * *' | ||
| workflow_dispatch: | ||
| # Cancel any previous iterations if a new commit is pushed. | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| nightly-scale-test: | ||
| name: "Scale Test ${{ matrix.runners }} - ${{ matrix.instances }}" | ||
| strategy: | ||
| fail-fast: false # don't cancel all jobs on failure | ||
| matrix: | ||
| instances: [1, 2, 3, 4, 5] | ||
| runners: ["linux-x86-n2-64", "linux-x86-n2-128", "linux-arm64-t2a-48", "linux-x86-g2-96-l4-8gpu", "linux-x86-ct5lp-224-8tpu"] | ||
| # TODO: Needs final runs-on value | ||
| runs-on: ${{ matrix.runners }} | ||
| container: | ||
| image: ${{ (contains(matrix.runners, 't2a') && 'us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/build-arm64:jax-latest-multi-python') || 'index.docker.io/tensorflow/build@sha256:7fb38f0319bda36393cad7f40670aa22352b44421bb906f5cf34d543acd8e1d2' }} | ||
| timeout-minutes: 10 | ||
| defaults: | ||
| run: | ||
| shell: bash -ex {0} | ||
| steps: | ||
| - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4 | ||
| - name: DEBUG HALT | ||
| run: | | ||
| echo "Halting" | ||
| sleep 5m | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know, does this timeout include the initialization of the runner?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it doesn't because it's supposed to be the execution time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case its fine