Skip to content

Commit 3bb978e

Browse files
committed
Prevent CI from running OOM when oversubscribing GPUs
1 parent adabbd4 commit 3bb978e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build_cmake.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ jobs:
9494
# run: ctest -C $BUILD_TYPE
9595
run: |
9696
source ${{github.workspace}}/.github/CI/spack_setup.sh
97+
PARSEC_MCA_device_cuda_memory_use=20
98+
PARSEC_MCA_device_hip_memory_use=20
9799
ctest --output-on-failure
98100
99101
- name: Save Artifact
@@ -196,6 +198,8 @@ jobs:
196198
# run: ctest -C $BUILD_TYPE
197199
run: |
198200
source ${{github.workspace}}/.github/CI/spack_setup.sh
201+
PARSEC_MCA_device_cuda_memory_use=20
202+
PARSEC_MCA_device_hip_memory_use=20
199203
ctest --output-on-failure
200204
201205
- name: Save Testing Artifact

0 commit comments

Comments
 (0)