Skip to content

Commit 075da63

Browse files
committed
Separate pallas test into a separate test shard
1 parent 358c862 commit 075da63

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/_tpu_ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- test/tpu/run_tests.sh
2424
- test/tpu/run_expensive_test_1.sh
2525
- test/tpu/run_expensive_test_2.sh
26+
- test/tpu/run_pallas_test.sh
2627
steps:
2728
- name: Checkout actions
2829
if: inputs.has_code_changes == 'true'

test/tpu/run_pallas_test.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
set -xue
3+
CDIR="$(cd "$(dirname "$0")" ; pwd -P)"
4+
TEST_CDIR="$(dirname "$CDIR")"
5+
6+
# This test takes ~370 seconds to run
7+
python3 "$TEST_CDIR/test_pallas.py" -v
8+
9+
# This test takes ~15 seconds to run
10+
python3 "$TEST_CDIR/test_pallas_spmd.py"
11+
12+
# This test takes ~15 seconds to run
13+
XLA_DISABLE_FUNCTIONALIZATION=1 python3 "$TEST_CDIR/test_pallas_spmd.py"

0 commit comments

Comments
 (0)