Repository navigation
Conversation
Contributor
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
Author
|
/ok to test b7c7625 |
Contributor
Author
|
/ok to test eaf85d9 |
Contributor
|
Contributor
Author
|
/ok to test 792b7d1 |
Contributor
Author
|
/ok to test 4e22130 |
rwgk
force-pushed
the
rwgk/cb12-staged-02-developer
branch
from
November 1, 2026 22:38
4e22130 to
46e13aa
Compare
This was referenced Nov 2, 2026
Signed-off-by: Ralf W. Grosse-Kunstleve <[email protected]>
Signed-off-by: Ralf W. Grosse-Kunstleve <[email protected]>
Signed-off-by: Ralf W. Grosse-Kunstleve <[email protected]>
Signed-off-by: Ralf W. Grosse-Kunstleve <[email protected]>
Signed-off-by: Ralf W. Grosse-Kunstleve <[email protected]>
Signed-off-by: Ralf W. Grosse-Kunstleve <[email protected]>
rwgk
force-pushed
the
rwgk/cb12-staged-02-developer
branch
from
November 2, 2026 03:53
46e13aa to
968ad32
Compare
This branch has not been deployed
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.
— codex GPT-6 on behalf of Ralf —
Layer 2 of 7 of the staged "CUDA 12 bindings on
main" stack. Previous: #3314. Next: #3317. Stack map at the bottom.What this PR does
Makes
cuda_bindings_12/a place a developer can actually work in onmain: install it, run its tests, build its docs. It also carries the three runtime fixes that CUDA 13 already has, and the NVML test adaptations the current CI runners need.Size: 37 files, +14,041 / -155, of which 13,185 lines are the new
cuda_bindings_12/pixi.lock. The hand-written part is about 850 lines, roughly half of it documentation.cuda_bindings_12/pyproject.toml): Python >= 3.11 (3.10 dropped, as agreed with Mike on cuda.bindings: configure independent CUDA 12 and CUDA 13 packages #3174), 3.14/3.15 classifiers,[dependency-groups]mirroring CUDA 13, standard setuptools-scm tag parsing with selectorv12.9.*(the customtag_regexis gone), and ascm-bootstrap-release = "12.9.11"preview target.cuda_bindings_12/pixi.toml+ lock (cu12, docs, cython-tests features). The roottest-bindingstask picks the root from the environment name. The pin check covers both roots and Core.ci/tools/bindings_scm_version.py, 124 lines). Copying the sources did not bring the12.9.xtags along, so a plain checkout derives12.9.1.devN. In a disposable CI checkout the helper creates one local tagv12.9.11a0.dev0atHEAD^, so builds get12.9.11a0.devN. It never pushes, never moves an existing tag, and stands down once a realv12.9.*tag at or above 12.9.10 is reachable. The lifecycle rules are written intoAGENTS.md.ci/pyproject.toml, installed withpip install -e ./ci.ci-pixi-source-test.yml): the PR job runs acu12and acu13leg; the nightly GPUfull-testtoo. A container checkout needsgit config --global --add safe.directorybefore the SCM bootstrap runs; that was found and fixed here.NotSupportedErrorfor PCI info, driver >= 13.4 refcount skip, removal of the flaky energy test,thread_unsafemarkers.AGENTS.md(the rule that a change in one root must be checked against the other), README, install/support pages (Python 3.11), rewritten12.X.Y-notes.rst.After this merges
pixi run --manifest-path cuda_bindings_12 -e cu12 test, orpython -m pip install -e . --group testinsidecuda_bindings_12/, work.cuda.corestill gets its CUDA 12 bindings from the12.9.xbranch. New: the PR-time CPU smoke job also source-builds the CUDA 12 root.Where to look
ci/tools/bindings_scm_version.pyand the lifecycle section ofAGENTS.md: the one piece of "magic" in the stack. Check that it can only ever add a local tag.cuda_bindings_12/pyproject.toml: the Python 3.11 floor and thev12.9.*selector.cuda_bindings_12/cuda/bindings/(31 lines total), side by side with their CUDA 13 counterparts.cuda_core/pixi.toml: Core'spixi run testnow collectstests/instead of the package root. This retains Core's owned Python and Cython tests while excluding vendored CCCL tests.All changes (37 files; 36 without the lockfile, +856 / -155)
Tooling:
ci/pyproject.toml(new),ci/tools/bindings_config.py(JSON CLI,python.supported),ci/tools/bindings_scm_version.py(new),ci/tools/check_pixi_cuda_version.py(both roots),ci/tools/compute_ci_plan.py(mapcuda_bindings_12/to the bindings module), tests for the new helper and the registry CLI, removal of a workflow-text test.Workflows:
ci-pixi-source-test.yml(cu12/cu13 matrix for build-smoke and full-test, SCM bootstrap,safe.directory),ci.ymlandci-nightly.yml(install./ci[test]for the tool tests),.pre-commit-config.yaml(pixi hook paths, large-file exception for the lockfiles).Package:
cuda_bindings_12/pyproject.toml,pixi.toml(new),pixi.lock(new),tests/pytest.ini(thread_unsafemarker), runtime fixes in_internal/utils.pyx,_lib/utils.pxd,_lib/utils.pxi,utils/__init__.py, tests intest_nvjitlink.py,test_nvvm.py,test_utils.py,test_cuda.py, NVML tests.Pixi: root
pixi.toml(test-bindingsroot selection),cuda_core/pixi.toml(test task scope).Docs:
AGENTS.md,README.md,cuda_bindings_12/AGENTS.md(new),cuda_bindings_12/README.md,docs/source/install.md,support.rst,release/12.X.Y-notes.rst.Validation
4e22130d(run 41183676173, 104 jobs).cu12at that head (run 41183098858):build smoke (cu12),pixi run test (cu12, GPU), and the cu13/cu12/cu13 round trip all passed. Three earlier dispatches at intermediate commits failed or were cancelled; the fixes they produced (safe.directory, root task forwarding, Core test scope) are included in this layer.968ad32089f4a0f1ee8f0f223982527cc2c67b24includes the follow-up fixes. Local validation: 303 CI-tool tests, actionlint passed. Full CI and native Pixi source/GPU checks have not been rerun for it.Stack map: what
maincan do after each layer mergesmain...v12.*tagcuda_bindings_12/; the PR-time CPU source-build smoke covers both roots; three CUDA 12 runtime fixes are incuda.coreand the metapackage still consume12.9.xartifacts12.9.xbranchv12.9.Ntag onmain; CUDA 13 releases are unchanged12.9.xis frozenEvery layer was designed to be mergeable on its own and had a green full CI run at its pre-rebase head on 2026-10-31. The stack is the "individually mergeable pieces" alternative to #3174-#3182; both stacks reach the same end state except that this one keeps compatibility routes for older artifact sources and retained CUDA 13 tags.