Repository navigation
[None][chore] Follow-ups for #21067 review comments #21976
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
Open
xguannv
wants to merge
19
commits into
NVIDIA:main
Choose a base branch
from
xguannv:xguan/k3-21067-followups
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+482
−1,361
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
adee029
[None][fix] DSpark FP8 producers: round UE8M0 scales up explicitly
dc3671 a4321c1
[None][fix] DSpark: one BF16 attention binder; V4.1 rejects fp8 proje…
dc3671 941e201
[None][chore] DSpark: check fused WKV width, document ring mapping, m…
dc3671 fbf3b55
[None][chore] DSpark: restore the dspark_attention_forward name and e…
dc3671 6fa9121
[None][fix] DSpark attention op: reject zero page stride, report reje…
dc3671 fce1445
[None][chore] DSpark draft-block prep: drop the per-device compile ca…
dc3671 1266c26
[None][chore] DSpark: remove the unwired fused_dsv4_dspark_attention_…
dc3671 a6aeac2
[None][chore] DFlash TRTLLM: drop context-kernel leftovers after the …
dc3671 54ccfb2
[None][chore] Revert no-op Helix V-up flag parametrization and autotu…
dc3671 af72cfa
[None][chore] CuteDSL FC12 MoE: drop the unreachable input-ready even…
dc3671 b84ed54
[None][fix] Rejection sampling: reject padding slots that alias the s…
dc3671 3f1e135
[None][chore] FP4 MLA packed plan test: pin the default rule plan as …
dc3671 ef653dd
[None][chore] FP4 MLA mufu16: delete the dead score-slot row-sum prot…
dc3671 793558a
[None][chore] DSpark attention op: one source for the shape contract,…
xguannv 1efaab7
[None][chore] DSpark FP8 producers: reuse the dense GEMM UE8M0 helper…
xguannv 1b38a68
[None][fix] DSpark: post_load_weights(weights) is the only attention-…
xguannv a020441
[None][chore] Annotate the rejection-guard padding test and the Helix…
xguannv 6e14cb3
[None][chore] FP4 MLA packed plan test: drop the duplicated default-p…
xguannv 7385f85
[None][chore] FP4 MLA mufu16: delete code left unreferenced by the de…
xguannv 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
There are no files selected for viewing
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
640 changes: 10 additions & 630 deletions
640
tensorrt_llm/_torch/attention/backends/fp4_mla/fp4_mla_cutedsl_mufu16.py
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Nice to have] The rename leaves two class attributes for the same 128-row window.
window_size(:200) is used forfixed_cache_seq_len.window_lenis used only by the age mask (attention_kernel.py:1073-1074) and is validated only against itself. Suggest usingwindow_sizefor the mask (or checking that the two match) and replacing the hard-coded 128s in the ring arithmetic.mO(attention_kernel.py:590) can also be typedcute.Tensornow that the output is always BF16.