Skip to content
Closed
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
36 changes: 34 additions & 2 deletions scripts/test-template-fastcheck.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
{% set hf_home_fsx = "/fsx/hf_cache" %}

steps:

- label: ":docker: build image"
key: image-build
agents:
Expand Down Expand Up @@ -224,19 +225,36 @@ steps:
depends_on: ~

- label: "TPU V0 Test"
key: run-tpu-v0-test
depends_on: block-tpu-v0
soft_fail: true
agents:
queue: tpu_queue
commands:
- if [[ -f ".buildkite/run-tpu-test.sh" ]]; then bash .buildkite/run-tpu-test.sh; fi
commands:
- if [[ -f ".buildkite/run-tpu-test.sh" ]]; then bash .buildkite/run-tpu-test.sh; fi
- yes | docker system prune -a

- label: "TPU V0 Test Notification"
depends_on: run-tpu-v0-test
agents:
queue: tpu_queue
commands: |
if [ $$(buildkite-agent step get "outcome" --step "run-tpu-v0-test") != "passed" ]; then
cat <<- YAML | buildkite-agent pipeline upload
steps:
- label: "Notify owners about failing test"
command: echo "TPU V0 Test failed"
notify:
- email: "ricliu@google.com"
YAML
fi

- block: "Run TPU V1 Test"
key: block-tpu-v1
depends_on: ~

- label: "TPU V1 Test"
key: run-tpu-v1-test
depends_on: block-tpu-v1
soft_fail: true
agents:
Expand All @@ -245,6 +263,20 @@ steps:
- if [[ -f ".buildkite/run-tpu-v1-test.sh" ]]; then bash .buildkite/run-tpu-v1-test.sh; fi
- yes | docker system prune -a

- label: "TPU V1 Test Notification"
depends_on: run-tpu-v1-test
agents:
queue: tpu_queue
commands: |
if [ $$(buildkite-agent step get "outcome" --step "run-tpu-v1-test") != "passed" ]; then
cat <<- YAML | buildkite-agent pipeline upload
steps:
- label: "Notify owners about failing test"
command: echo "TPU V1 Test failed"
notify:
- email: "ricliu@google.com"
YAML
fi
- block: "Run GH200 Test"
depends_on: ~
key: block-gh200
Expand Down