Skip to content

Commit 0181743

Browse files
author
Orbax Authors
committed
Include Orbax Checkpoint experimental/emergency tests in OSS.
PiperOrigin-RevId: 874406518
1 parent 6238668 commit 0181743

File tree

10 files changed

+1478
-180
lines changed

10 files changed

+1478
-180
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,15 @@ jobs:
352352
else
353353
pip install "jax[tpu]==${{ matrix.jax-version }}" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
354354
fi
355-
- name: Run multiprocess tests
355+
- name: Run 2 multiprocess tests
356356
run: |
357-
python orbax/checkpoint/_src/testing/oss/run_multihost.py orbax/checkpoint/_src/testing/oss/run_tests.py --filename=orbax/checkpoint/_src/testing/oss/tagged_tests.yaml --processes=4
357+
python orbax/checkpoint/_src/testing/oss/run_multihost.py --num_processes=2 --tpu_chips_per_process=4 orbax/checkpoint/_src/testing/oss/run_tests.py --filename=orbax/checkpoint/_src/testing/oss/tagged_tests.yaml --processes=2
358+
- name: Run 4 multiprocess tests
359+
run: |
360+
python orbax/checkpoint/_src/testing/oss/run_multihost.py --num_processes=4 --tpu_chips_per_process=2 orbax/checkpoint/_src/testing/oss/run_tests.py --filename=orbax/checkpoint/_src/testing/oss/tagged_tests.yaml --processes=4
361+
- name: Run single process tests
362+
run: |
363+
python orbax/checkpoint/_src/testing/oss/run_multihost.py --num_processes=1 --tpu_chips_per_process=8 orbax/checkpoint/_src/testing/oss/run_tests.py --filename=orbax/checkpoint/_src/testing/oss/tagged_tests.yaml --processes=1
358364
- name: Report success or failure as github status
359365
if: always()
360366
shell: bash

0 commit comments

Comments
 (0)