Repository navigation
Conversation
…pute capability 12 The 5090 (cc 12.0) ran the sm_86 archive through the driver's JIT, so the native block-scaled FP4 and MXFP8 kernels never ran there, and the BF16 dense prompt tile was on for cc 12.1 alone. build.sh gains the linux-x86_64-cuda-sm120a platform (BLOOMERY_ARCH=sm_120a, target/portable-sm120a), install.sh picks it when every GPU is cc 12.0 and falls back to sm86 with one stderr line otherwise, publish.sh carries it (--no-sm120a leaves it out). dense_mma holds on major 12; sm_86 is unchanged. The box built bloomery-serve for sm_120a (`ptx=[sm_120a ]`, checks passed) and its no-jit sm_86 scans equal the base; the 5090 itself is a user's card. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Verdict: CLEAN: I built no failure path that the code does not block. The predicate change is small, and the release scripts handle the new archive and the old releases.
Non-blocking
⚠ Speed claim in a doc comment with no evidence on cc 12.0: crates/gpu/src/lib.rs:2202 says the tensor cores take the tile "at a higher rate than the F32 SIMT tile". The PR body says no cc 12.0 card has run it. Cut the clause, or state it with its conditions once a 5090 owner posts gate-gpu-gemm --case dense_mma output.
⚠ dense_mma changes numbers for every build on a cc 12.0 card, not only the new archive: crates/gpu/src/lib.rs:2211. The sm_86 archive, the Docker image and the Homebrew install on a 5090 now round activations to BF16 (prompt path, wide BF16 router). The hw_ gates that hold that band have never run at 12.0. The PR names this gap. Keep the contributor issue open until output arrives.
⚠ crates/gpu/src/lib.rs:2223: the test pins only (8,6), (12,0) and (12,1). The mutant major == 12 → major != 8 stays green. Add one capability from another family, for example ((9, 0), false).
Checked
- Duplicates: 9 new items checked, none duplicated.
set_platformreplaces the inlinecasein build.sh. dryer: 0 pairs incrates/model;crates/gpuread by hand, none. - Complexity: crapper flagged nothing.
- Silent failure: 6 sites followed. Each fallback is named:
install.shsends a failednvidia-smiquery to sm_86,archivesends a 404 to sm_86 with a stderr note,set_platformrefuses another arch with rc 64. - Tests:
dense_mma_onprotectslib.rs:2211. The old== (12, 1)turns it red at (12, 0). One mutant stays green (see above). - Gates: no band or tolerance moved. The PIN comments changed wording only.
- Escape catalog: C1 to C4 checked, none matched.
- Hot path: the diff touches no kernel. No new launch, copy or allocation per token.
Notes
- No
nvidia-smiline, commit hashes or gate output in the PR body, sogpu.jsonevidence is false. - The sm_120a archive was compiled, not run on a 12.0 card. The README and
docs/HARDWARE.mdsay so.
Card check: needs-gpu. This pull request changes crates/gpu-gates/src/bin/gate_bf16.rs, crates/gpu-gates/src/bin/gate_gemm.rs, crates/gpu-gates/src/bin/gate_hc_gated.rs … and carries no gate run on a card (CONTRIBUTING's evidence list); a maintainer adds gpu-verified after one.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
…owner) Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Verdict: CLEAN: the new commits change one comment block in justfile, and the comment is true.
Since the last review:
- ⚠ Speed claim in the doc comment at
crates/gpu/src/lib.rs: still open. The new commits do not touch it. - ⚠
dense_mmachanges numbers on every build on a cc 12.0 card: still open. The PR body names the gap. - ⚠ Test misses the mutant
major == 12→major != 8: still open. Add((9, 0), false)to the pinned cases.
Checked
- Duplicates: 0 new items; the diff is comment lines only.
- Complexity: crapper flagged nothing.
- Silent failure: no code changed.
- Tests: none changed.
- Gates: none moved.
- Comment claim: the
justfiletext saystools/release/build.sh's header names the archs. tools/release/build.sh:9 names sm_120a. True. - Escape catalog: nothing in the new lines to match.
Notes
- No
nvidia-smiline, commit hashes or gate output in the PR body, sogpu.jsonevidence is false.
Card check: needs-gpu. This pull request changes crates/gpu-gates/src/bin/gate_bf16.rs, crates/gpu-gates/src/bin/gate_gemm.rs, crates/gpu-gates/src/bin/gate_hc_gated.rs … and carries no gate run on a card (CONTRIBUTING's evidence list); a maintainer adds gpu-verified after one.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
An RTX 5090 (cc 12.0) runs the sm_86 archive today, through the driver's JIT. Two things follow from that:
Changes:
tools/release/build.sh: new platformlinux-x86_64-cuda-sm120a(BLOOMERY_ARCH=sm_120a,target/portable-sm120a).install.sh: picks it when every GPU is cc 12.0. Otherwise it falls back to sm86 and prints one stderr line.publish.shcarries it, and--no-sm120aleaves it out.dense_mma: on for compute capability major 12. sm_86 is unchanged.Proof:
bloomery-servefor sm_120a:ptx=[sm_120a ],release: checks passed.dense_mma_testspasses. With the old== (12, 1)predicate it fails at (12, 0).--no-jitsm_86 scans equal the base.Not proven here: the box has no cc 12.0 card. A contributor issue asks 5090 users for
gate-gpu-gemm --case dense_mma / nvfp4_native / mxfp8_w8a8output. Predicted prompt gain on NVFP4/MXFP8 folders is +2 to +13 % [derived]; GGUF Q4_K_M is unchanged.Stacked on #924. Merge that first.
This was written with AI help (Claude) and reviewed by the maintainer's lead session.
🤖 Generated with Claude Code