Skip to content

Commit f88e58f

Browse files
awvwgkCopilot
andcommitted
Bound MPI binding CI duration and retry exhausted GPU runner
Fail collective-test hangs promptly instead of consuming the six-hour job limit. Retry CUDA12 MPI after its runner exhausted disk space during compilation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ccc193a commit f88e58f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/skalaxc-ci.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ jobs:
161161
162162
- name: Test installed MPI binding on two ranks
163163
if: matrix.name == 'mpi-release'
164+
timeout-minutes: 10
164165
run: |
165166
mpiexec --oversubscribe -n 2 python -c "import skalaxc; from mpi4py import MPI; assert skalaxc.MPI_ENABLED and MPI.COMM_WORLD.size == 2"
166167
mpiexec --oversubscribe -n 2 python -m pytest -p no:randomly -v -ra SkalaXC/python/tests/test_mpi.py

‎.github/workflows/skalaxc-cuda.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ jobs:
273273
python -m pip install SkalaXC/python --no-build-isolation --no-deps --force-reinstall
274274
275275
- name: Test installed CUDA MPI binding and generated stubs
276+
timeout-minutes: 15
276277
run: |
277278
python -c "import skalaxc, torch, h5py, mypy; from mpi4py import MPI; assert skalaxc.MPI_ENABLED and skalaxc.CUDA_ENABLED and skalaxc.HDF5_ENABLED; assert torch.cuda.is_available(); assert skalaxc.PYTHON_LAYOUT == 'WHEEL'"
278279
python -m pytest -v -ra SkalaXC/python/tests --ignore=SkalaXC/python/tests/test_mpi.py

0 commit comments

Comments
 (0)