[CuTe] Beat CUTLASS across the scaled FP8 matmul sweep - #3209
Draft
yushangdi wants to merge 8 commits into
Draft
Conversation
Contributor
Author
|
Contributor
Author
[CuTe] Beat CUTLASS across the scaled FP8 matmul sweepSummaryImprove Blackwell CuTe scaled-FP8 matmul code generation and extend the Codegen optimizationsSmall-N tensor-core mainloop
Narrow SIMT epilogue
Existing wide-shape improvements in this branch
Production tuning
PerformanceTested on NVIDIA GB200 with cold-L2 CUDA-graph timing: python pretuned_kernels/scale_mm_cute/scale_mm_cute.pyFinal complete sweep:
Representative new shapes:
Verification
|
Contributor
Author
|
Contributor
Author
|
yushangdi
force-pushed
the
perf/cute-scale-mm-cutlass
branch
from
July 31, 2026 01:17
8f880f6 to
da6bb6d
Compare
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.
[CuTe] Beat CUTLASS across the scaled FP8 matmul sweep
Summary
Improve Blackwell CuTe scaled-FP8 matmul code generation and tune the production
kernels to outperform CUTLASS on all 17 benchmark shapes.
Codegen optimizations
workloads.
exactly one tile.
ownership predicates from inner TMA/MMA builders.
residency.
accumulator waits.
Scheduler safety
One-shot scheduling is admitted only when:
cluster dimensions.
These checks prevent skipped batches, omitted tiles, partial clusters, and
out-of-bounds TMA operations.
Production tuning
(512, 2048, 4096).swizzles per shape.
Performance
Tested on NVIDIA GB200 with:
Two consecutive complete sweeps:
Verification
and wide-N configurations.
ruff format --check: passedruff check: passedgit diff --check: passedPytest was unavailable in the current Conda environment (
No module named pytest).