Skip to content

Commit 9c732e5

Browse files
author
Orbax Authors
committed
Enable multiprocess testing for Orbax serialization tests.
PiperOrigin-RevId: 872811314
1 parent eb178fb commit 9c732e5

7 files changed

Lines changed: 1281 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,9 @@ jobs:
355355
- name: Run multiprocess tests
356356
run: |
357357
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
358+
- name: Run single process tests
359+
run: |
360+
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
358361
- name: Report success or failure as github status
359362
if: always()
360363
shell: bash

0 commit comments

Comments
 (0)