Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/stress-test.yml
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

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?

Copy link
Author

@quoctruong quoctruong Aug 28, 2024

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.

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

defaults:
run:
shell: bash -ex {0}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4
- name: DEBUG HALT
run: |
echo "Halting"
sleep 5m
2 changes: 1 addition & 1 deletion .github/workflows/wait-for-connection-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
runner: ["arc-linux-x86-n2-64","arc-linux-arm64-t2a-48"]
runner: ["linux-x86-n2-64","linux-arm64-t2a-48"]
instances: ["1"]
runs-on: ${{ matrix.runner }}
timeout-minutes: 60
Expand Down