Skip to content

Update CUDA to 12.9 w/ cuda-compat-12-9#828

Merged
alvarobartt merged 6 commits intomainfrom
cuda-12-9-with-cuda-compat
Feb 16, 2026
Merged

Update CUDA to 12.9 w/ cuda-compat-12-9#828
alvarobartt merged 6 commits intomainfrom
cuda-12-9-with-cuda-compat

Conversation

@alvarobartt
Copy link
Member

What does this PR do?

Warning

This PR is still experimental, until cuda-compat-12-9 is validated against the previously supported CUDA versions until 12.2 to make sure that the compatibility layer is indeed working as expected.

This PR updates the default CUDA version to 12.9.1 in Dockerfile-cuda and Dockerfile-cuda-all to accommodate the CUDA compute capabilities for Blackwell being 10.0 and 12.0, which do require CUDA 12.9. Additionally, this PR also removes the former Dockerfile-cuda-blackwell and Dockerfile-cuda-blackwell-all images as no longer required.

This PR makes sure that a single Dockerfile can build and use all the targets independently of the underlying CUDA version given that it comes with cuda-compat-12-9 which should support 12.2, 12.4, and 12.8.

More information at https://docs.nvidia.com/deploy/cuda-compatibility/forward-compatibility.html#id1

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline?
  • Was this discussed/approved via a GitHub issue or the forum? Please add a link to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the documentation guidelines.
  • Did you write any new necessary tests? If applicable, did you include or update the insta snapshots?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@alvarobartt alvarobartt marked this pull request as ready for review February 16, 2026 16:07
@alvarobartt alvarobartt merged commit 2f154d9 into main Feb 16, 2026
17 checks passed
@alvarobartt alvarobartt deleted the cuda-12-9-with-cuda-compat branch February 16, 2026 16:31
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