Skip to content

create swapfiles also for CUDA jobs#28979

Merged
h-vetinari merged 1 commit intoconda-forge:mainfrom
h-vetinari:swap
Feb 4, 2025
Merged

create swapfiles also for CUDA jobs#28979
h-vetinari merged 1 commit intoconda-forge:mainfrom
h-vetinari:swap

Conversation

@h-vetinari
Copy link
Copy Markdown
Member

The regular linux job sets up a swapfile

- script: |
sudo fallocate -l 10GiB /swapfile || true
sudo chmod 600 /swapfile || true
sudo mkswap /swapfile || true
sudo swapon /swapfile || true
displayName: Create swap file

but the CUDA builds don't. Fix that

@h-vetinari h-vetinari mentioned this pull request Jan 29, 2025
19 tasks
@github-actions
Copy link
Copy Markdown
Contributor

Hi! This is the staged-recipes linter and your PR looks excellent! 🚀

@conda-forge-admin
Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR () and found it was in an excellent condition.

@maresb
Copy link
Copy Markdown
Contributor

maresb commented Feb 1, 2025

I merged this into #28931, and swap is now working. (In #28931, instead of running out of memory it now runs until the 6h timeout.)

@h-vetinari
Copy link
Copy Markdown
Member Author

Merging this as a trivial fix.

@h-vetinari h-vetinari merged commit b5e34ac into conda-forge:main Feb 4, 2025
@h-vetinari h-vetinari deleted the swap branch February 4, 2025 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants