Skip to content

Commit e62effb

Browse files
committed
Use swap for building arm64 cuda
1 parent 6458417 commit e62effb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/actions/setup-linux/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ runs:
5454
echo PYTHONPATH=`python -c 'import sys; print(sys.path[-1])'` >> $GITHUB_ENV
5555
echo "::endgroup::"
5656
57+
- name: Set swap space
58+
if: ${{ startsWith(inputs.toolkit, 'cuda') && runner.arch == 'arm64' }}
59+
uses: pierotofy/set-swap-space@fc79b3f67fa8a838184ce84a674ca12238d2c761
60+
with:
61+
swap-size-gb: 16
62+
5763
- name: Install CUDA toolkit
5864
if: ${{ startsWith(inputs.toolkit, 'cuda') }}
5965
shell: bash

0 commit comments

Comments
 (0)