Add instructions for building CUDA wheels#2896
Merged
Merged
Conversation
Contributor
|
I tested this in pybind/cmake_example#194, built locally via cibuildwheel on my Mac, and ran on a linux GPU machine. Works great! |
Contributor
|
Should we only show the env var version, or maybe have tabs with the config version? It's not perfectly suited to config, as often you probably want multiple CUDA versions. I have ideas for that, but I rather want to see where wheel variants go. (I'm okay with it as is) |
henryiii
approved these changes
Jun 6, 2026
henryiii
added a commit
to henryiii/cibuildwheel
that referenced
this pull request
Jun 9, 2026
The manylinux_cuda project publishes manylinux containers bundling the CUDA Toolkit (documented in pypa#2896). Add pinned aliases for them so users can pass a short name (e.g. manylinux_2_28_cuda13_1) to the manylinux-*-image options, just like the existing manylinux_2_28 alias, instead of a full registry URL. These images are only published with a 'latest' tag, and each architecture has its own repository, so (unlike the PyPA images) they are pinned by digest. bin/update_docker.py learns to resolve and pin these, keeping them up to date via `nox -s update_pins`. Aliases are added for x86_64 and aarch64 (the only arches these images exist for): manylinux_{2_28,2_34}_cuda{12_9,13_1}. Assisted-by: ClaudeCode:claude-opus-4.8 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In the tips and tricks page, add instructions for building CUDA wheels for Linux.