Repository navigation
[TRTLLM-35237][feat] Tune cute dsl paged MQA logits decode kernel #14133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
yuxianq
merged 59 commits into
NVIDIA:main
from
limin2021:dsa-cute-dsl-indexer-tune-atom-split
May 22, 2026
Merged
Changes from 57 commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
255cd9d
[None][feat] Add CuTE DSL FP8 paged MQA logits kernel for Blackwell S…
limin2021 c32db8f
[None][fix] Fix docstring script filename in fp8_paged_mqa_logits.py
limin2021 b235eb1
[None][fix] Update copyright year in paged_mqa_logits __init__.py
limin2021 69d7170
[None][fix] Remove unused max_mem_gb argument from benchmark
limin2021 a2b9b43
[None][fix] Fix stream handling, add arch guard, and rename kernel class
limin2021 a2b0de7
[None][fix] Ensure CuTE DSL op registration when only logits kernel i…
limin2021 fe637c8
[None][refactor] Rename use_cute_dsl_logits to use_cute_dsl_paged_mqa…
limin2021 8f9b0e1
[None][fix] Remove redundant SM version check from DSA logits config
limin2021 cf418ab
[None][fix] Clean up DeepGEMM/DG-FullK references in docstrings and u…
limin2021 b1260fb
[None][refactor] Migrate MQA logits runner to fake tensor + TVM FFI
limin2021 4ef3d13
[None][fix] Remove commented-out debug code from fp8_paged_mqa_logits
limin2021 670cd16
[None][fix] Replace compile print with logger.debug in MQA logits
limin2021 0a1e93d
[None][fix] Add dtype validation to cute_dsl_fp8_paged_mqa_logits wra…
limin2021 fabc902
[None][test] Improve fp16 accuracy test and benchmark for MQA logits
limin2021 aeb32d8
[None][cleanup] Remove dead standalone test code and deduplicate dtyp…
limin2021 d0fa1cb
[None][fix] Validate num_heads divisible by 4 regardless of num_epi_s…
limin2021 38ec767
[None][cleanup] Remove unused variables and unnecessary noqa comments
limin2021 719b333
[None][fix] Add missing use_cute_dsl_paged_mqa_logits to test mock co…
limin2021 1a157f4
[None][fix] Fix TMA SMEM alignment for fp16 epilogue and support DSL …
limin2021 6681031
[None][fix] Fix OOB read in zero-work CTA and move test seed into helper
limin2021 1c68831
[None][feat] Support multi-block TMA for phys_block_kv < 128 in DSL p…
limin2021 862260c
[None][fix] Move shuffle before barrier acquire to match DeepGEMM sch…
limin2021 0331897
[None][cleanup] Remove commented-out test_deepgemm_fp8_paged_mqa_logits
limin2021 0ca0f27
Merge branch 'main' into add_dsl_indexer_gemm
limin2021 26effcc
[None][cleanup] Remove unused helpers in DSL paged MQA logits kernel …
limin2021 f34fb16
[None][fix] Skip DSL backend on non-SM100 archs in indexer decode test
limin2021 9db90f0
Merge remote-tracking branch 'github-upstream/main' into add_dsl_inde…
limin2021 0a84ecc
Merge remote-tracking branch 'github-upstream/main' into add_dsl_inde…
limin2021 4bcbd79
[None][test] Fix DSL indexer scheduler buffer aliasing and extend FP8…
limin2021 a5f21fb
[None][wip] Add FP4 paged MQA logits CuTe DSL kernel (Stage 0 in-prog…
limin2021 6ee3741
[None][bug] Fix FP4 paged MQA logits flaky hang, stride mismatch, ena…
limin2021 f6b2107
[None][bug] Fix FP4 paged MQA logits cross-warp SFB synchronization
limin2021 93f56b2
[None][test] Merge multi_block test into main FP4 paged MQA logits sweep
limin2021 fcbe873
[None][opt] FP4 paged MQA logits: drop SF Q GMEM padding
limin2021 5f06658
[None][cleanup] FP4 paged MQA logits: simplify TMEM column rounding
limin2021 b556fa1
[None][opt] FP4 paged MQA logits: raise weight cache for next_n=2 to 64
limin2021 99c1769
[None][test] FP4 paged MQA logits: add standalone bench driver
limin2021 9a18944
[None][test] FP4 paged MQA logits: migrate to DG c491439e metadata API
limin2021 8a42a96
Merge remote-tracking branch 'github-upstream/main' into add_dsl_inde…
limin2021 042c094
[None][cleanup] FP4 paged MQA logits: move standalone runner to tests…
limin2021 cb3cbd7
[None][cleanup] FP4 paged MQA logits: finish runner migration, tighte…
limin2021 d210c73
[None][test] FP8 paged MQA logits: add standalone runner under tests/…
limin2021 76a7ba2
add bench routine.
limin2021 83ba975
[None][cleanup] FP4 paged MQA logits: tidy kernel comments and align …
limin2021 b5952d4
[None][cleanup] FP4 paged MQA logits: address review — shape checks +…
limin2021 cf3e400
[None][test] DSA FP4 paged decode baseline (DG kernel)
limin2021 17b1abc
[None][feat] DSA: wire DSL FP4 paged MQA logits with next_n expand
limin2021 f6acf92
[None][test] integration: DSL FP4 indexer paged across mtp_nextn
limin2021 2798696
[None][test] FP4 paged MQA logits: CuTe DSL port of get_paged_mqa_log…
limin2021 e773e5c
[None][cleanup] DSA FP4 review: lighten validation, polish comments
limin2021 d4a6de9
[None][bug] CuTe DSL kernels: cross-version compat for 4.4.2 / 4.5.0+…
limin2021 33a803d
[None][test] address PR reviews: drop unused seq_offset; register fp4…
limin2021 a0bde82
[None][perf] DSA: wave-aware atom-split picker for DSL paged MQA logi…
limin2021 2fc4bbb
Merge remote-tracking branch 'github-upstream/main' into dsa-cute-dsl…
limin2021 ac48ef7
[None][perf] DSA FP4: opt-in remove_online_sf_transpose for phys_bloc…
limin2021 d87f661
[None][perf] DSA FP4: batched STG in epilogue (default on)
limin2021 127a156
fix kv stride issue to not be compact
limin2021 aac6e9d
[None][fix] DSA: refresh DSL-expanded buffers in on_update_kv_lens
limin2021 fed71fe
[None][chore] DSA DSL paged MQA logits: address review comments
limin2021 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.