Repository navigation
Implement milestone 7b GEMM ladder - #8
Merged
Merged
Conversation
M=N=256, K=192 exercises nonzero TMA tile coordinates and the mbarrier phase-parity toggle across three k-iterations; 128x128x64 covered only a single CTA at phase 0.
feitreim
added a commit
that referenced
this pull request
Jul 26, 2026
The GPU is moving its master weights to bf16 (SPEC decision #8 successor), so the CPU reference has to walk the same grid or parity stops measuring the update. adamw_step/muon_step gain a MasterStorage that snaps the written value onto bf16, with a deterministic stochastic-rounding alternative keyed on (step, parameter id, element index) via splitmix64 — the same mixer the device kernels will port. overfit_probe now runs both roundings.
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.
Summary
gpu/gemmcuda-oxide crate for milestone 7bC += A Bvariantstcgen05bf16 GEMM with fp32 TMEM accumulation and packed-bf16 overwrite/accumulate epiloguesSPEC.mdlayout and mark 7b completeB200 validation
./run.sh gemmonNVIDIA B200,sm_100a: all fp32 and tcgen05 bf16 store/accumulate parity checks passed./run.sh gemm bench:SWEEP: checked-inBM=64 BN=64 BK=16 TM=4 TN=4won at 23.61 TFLOP/s; all configurations passed correctness before benchmarking./run.sh gemm: passedOther validation
cargo test --workspace: passed (21 tests)cargo fmt --manifest-path gpu/gemm/Cargo.toml -- --check: passedgit diff --check: passedcompute-sanitizer --tool memcheckcould not run because the installed sanitizer reports the B200 as unsupported and exits before the first device allocation (Device not supported)