File tree Expand file tree Collapse file tree
cuda_bindings_13/docs/source Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,14 +121,16 @@ correct.** Packages select tags for their own release line:
121121
122122| Package | Tag pattern |
123123| --- | --- |
124- | ` cuda-bindings ` from ` cuda_bindings_12/ ` | ` v12.9. * ` (e.g. ` v12.9.10 ` ) |
125- | ` cuda-bindings ` from ` cuda_bindings_13/ ` | ` v13.4. * ` (e.g. ` v13.4.2 ` ) |
126- | ` cuda-python ` | The matching bindings selector, chosen with ` CUDA_PYTHON_BUILD_MAJOR=12 ` or ` 13 ` (default) |
124+ | ` cuda-bindings ` from ` cuda_bindings_12/ ` | ` v12.* ` (e.g. ` v12.9.10 ` ) |
125+ | ` cuda-bindings ` from ` cuda_bindings_13/ ` | ` v13.* ` (e.g. ` v13.4.2 ` ) |
126+ | ` cuda-python ` | The matching bindings selector, chosen explicitly with ` CUDA_PYTHON_BUILD_MAJOR=12 ` or ` 13 ` , or inferred as described below |
127127| ` cuda-core ` | ` cuda-core-v* ` (e.g. ` cuda-core-v1.1.0 ` ) |
128128| ` cuda-pathfinder ` | ` cuda-pathfinder-v* ` (e.g. ` cuda-pathfinder-v1.6.0 ` ) |
129129
130- Git source builds of ` cuda-python ` default to CUDA 13. Set
131- ` CUDA_PYTHON_BUILD_MAJOR=12 ` to select CUDA 12, or ` 13 ` explicitly for CUDA 13.
130+ Git source builds of ` cuda-python ` honor ` CUDA_PYTHON_BUILD_MAJOR=12 ` or ` 13 `
131+ when set. Without it, an exact ` v12.* ` tag at ` HEAD ` selects CUDA 12 when no
132+ ` v13.* ` tag points to that commit. Untagged commits and commits tagged for
133+ both majors default to CUDA 13.
132134The resolved version determines dependencies: CUDA 12 depends on matching
133135bindings, while CUDA 13 also depends on Core and Pathfinder. A standalone
134136sdist retains its version and dependency major without requiring this variable.
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ Requirements
138138
139139[^3]: The version is derived from git tags via ``setuptools-scm ``, so the clone
140140must include a reachable tag matching the release line configured in this
141- package's ``pyproject.toml `` (currently ``v13.4. * ``). A tag from the other CUDA
141+ package's ``pyproject.toml `` (currently ``v13.* ``). A tag from the other CUDA
142142major does not determine this package's version. Do not use ``--depth `` or
143143``--no-tags ``: a clone without matching reachable tags can build with a
144144bogus version such as ``0.1.dev1+g0d22cb444 ``. See `Cloning the repository
You can’t perform that action at this time.
0 commit comments