Add PyPI release infrastructure for cuda-coop-cutlass #12777
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.65) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.65 · 342 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.349
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.065
Real PR Conversation Timeline
1 comments
"Review active on #12777"
general
weight: 0.35
Jacobfaib
This PR adds the PyPI release workflow for
cuda-coop-cutlass. The build from #12311 creates a source distribution with the matching CCCL headers, then builds the wheel from that archive.A
cuda-coop-cutlass-vX.Y.Zorcuda-coop-cutlass-vX.Y.ZrcNtag on a commit reachable frommainstarts the build. CI checks the version, bundled headers and source revision in both archives, and retains the sdist as a CI artifact. An L4 job installs the original universal wheel and runs the scan example from the sdist through both CuTe compiler routes.Maintainers use the existing
release-wheels.ymldispatch with the tag build's run ID andwheel-dst=testpypiorwheel-dst=pypi. The uploader publishes only the wheel whose SHA-256 passed on L4, checks the filename and hash on the destination, and requires a matching wheel on TestPyPI before production. The shared workflow keeps its existing inputs. Regular PR CI wheels are ineligible for a CUTLASS release.The new
pip install 'cuda-coop-cutlass[cu13]'option supplies the CUDA Toolkit 13.4 components used by the compiler. CUTLASS DSL 4.9.0.dev1 rejects provider LTO-IR generated by NVRTC 13.5. Users with a compatible system toolkit can still install the base package.Maintainer setup
Before the first release, configure protection for
cuda-coop-cutlass-v*and create the main-only, reviewer-protected GitHub environmentscuda-coop-cutlass-testpypiandcuda-coop-cutlass-pypi. RegisterNVIDIA/cccl, workflowrelease-wheels.yml, and the respective environment with each index. The release guide covers staging, promotion, interrupted uploads and recovery from a conflicting file hash.Validation
python:3.12-slim-bookwormwith a driver-only host interface. Installed the final rehearsal wheel with its public dependencies, passedpip check, and verified the numerical result on both compiler routes.ghclient and a local GitHub API fixture, including legacy multi-wheel releases, GPU-only and full reruns, a changed wheel, and an off-main source. Replayed the index checks against local responses, including a conflicting hash and publication attestations.The tag-triggered L4 run and live Trusted Publishing exchanges require the merged workflow and configured environments.