Repository navigation
[None][feat] Add isolated NVFP4 Kimi K3 targets with fused FP8 attention - #1
Draft
VALLIS-NERIA wants to merge 8 commits into
Draft
VALLIS-NERIA wants to merge 8 commits into
VALLIS-NERIA wants to merge 8 commits into
Conversation
Closed
2 of 3 tasks
Signed-off-by: Xiwen Yu <13230610+VALLIS-NERIA@users.noreply.github.com>
Signed-off-by: Xiwen Yu <13230610+VALLIS-NERIA@users.noreply.github.com>
VALLIS-NERIA
force-pushed
the
pr19991-nvfp4-agentx
branch
from
October 19, 2026 07:13
5c870f5 to
7cfaa4d
Compare
Restore the original PR19991 MXFP4 SM100 target trees. Keep NVFP4 modeling in an independent copy shared by the SM103 and SM107 targets. Preserve FP8 projections while fusing KDA decode and MLA query, cache update, attention, V-B and output gating. Validation: 13 B300 kernel parity cases including CUDA Graph replay and changing KV lengths; 16 source structure checks. SM107 hardware and full-model validation remain outstanding. Signed-off-by: Xiwen Yu <13230610+VALLIS-NERIA@users.noreply.github.com>
Signed-off-by: Xiwen Yu <13230610+VALLIS-NERIA@users.noreply.github.com>
Signed-off-by: Xiwen Yu <13230610+VALLIS-NERIA@users.noreply.github.com>
Signed-off-by: Xiwen Yu <13230610+VALLIS-NERIA@users.noreply.github.com>
Signed-off-by: Xiwen Yu <13230610+VALLIS-NERIA@users.noreply.github.com>
Compose the native FP4 MLA layout with the hybrid V2 cache manager so quantized KV and recurrent-state pools share the existing lifecycle. Match fused Q-B quantization to the selected FP8 GEMM recipe and cover the cache factory, real hybrid allocation and precision combinations. Signed-off-by: Xiwen Yu <13230610+VALLIS-NERIA@users.noreply.github.com>
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.
Description
Extend NVIDIA/TensorRT-LLM#19991 with isolated NVFP4 Kimi K3 targets, fused FP8 decode attention, and independent KV/SSM storage choices.
7b203f8c80), and leave the original shared KDA verify kernel unchanged.NVFP4 KV uses the TRTLLM attention backend and V2 cache manager, with chunked prefill disabled. Existing native restrictions on cached context, context parallelism and disaggregated FP4 MLA remain in place.
The head retains the updated parent-PR stack. Supersedes NVIDIA/TensorRT-LLM#20532.
Validation
Validated head:
fbde4c91b39c13c54a8736e400751428bb790508.100f-realsetting.enable_autotuner=Falseto avoid compiling the complete performance-tuning search space; it retained the 4096-token prefill warmup. This is a functionality check, not a full-dataset accuracy or performance result.Earlier full-model accuracy baseline
The earlier stock-attention code at
5c870f584ccompleted a clean SM103 Release build, 312 CPU tests, 117 B200 component tests, and full 93-layer inference on 16 B300 GPUs (TP16, MoE TP4/EP4, attention DP off, CUDA Graph on).These scores apply to that earlier code, not the fused FP8 attention/FP4 KV/BF16 SSM implementation. Original wrapper jobs exited 1 during summary postprocessing after per-question outputs were saved; an independent audit recovered all 1,319 unique questions per filter and reproduced the scores. The external harness issues were duplicate per-filter counting and NumPy-boolean JSON serialization.
Draft limitations