Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create swapfiles also for CUDA jobs #28979

Merged
merged 1 commit into from
Feb 4, 2025
Merged

Conversation

h-vetinari
Copy link
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
Copy link
Contributor

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

@conda-forge-admin
Copy link
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
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
Member Author

Merging this as a trivial fix.

@h-vetinari h-vetinari merged commit b5e34ac into conda-forge:main Feb 4, 2025
10 of 11 checks passed
@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
Development

Successfully merging this pull request may close these issues.

3 participants