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

ci: use cuda from pip #63

Merged
merged 1 commit into from
Feb 13, 2024
Merged

ci: use cuda from pip #63

merged 1 commit into from
Feb 13, 2024

Conversation

lgarrison
Copy link
Member

In the GPU CI, we're currently using CUDA from the nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04 Docker image. JAX tends to stay pretty bleeding-edge in terms of CUDA requirements though, so our choices are to manually update the image each time the installation breaks, or we just install the CUDA binaries from pip. The latter feels more robust to me, so we'll do that for now, but the tradeoff is that the CI takes an extra ~1 minute.

Also, that this means we're compiling jax-finufft against CUDA 12.2 and running it against the 12.3 libraries, but CUDA has good forward-compatibility guarantees so this shouldn't be a problem.

@lgarrison lgarrison requested a review from dfm February 13, 2024 17:31
@lgarrison
Copy link
Member Author

Should fix the CI error in #62.

Copy link
Collaborator

@dfm dfm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks!! 🚀

@dfm dfm merged commit 4c3ee4a into main Feb 13, 2024
6 checks passed
@dfm dfm deleted the cuda-pip branch April 22, 2024 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants