[TRTLLM-12316][feat] Integrate FP4 indexer for DSv4#13575
Conversation
0a93d10 to
118e7a5
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #48423 [ run ] triggered by Bot. Commit: |
|
PR_Github #48423 [ run ] completed with state
|
Signed-off-by: Mike Iovine <miovine@nvidia.com>
|
PR_Github #48610 [ run ] completed with state |
|
PR_Github #48633 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #48648 [ run ] triggered by Bot. Commit: |
|
PR_Github #48648 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #48693 [ run ] triggered by Bot. Commit: |
|
PR_Github #48693 [ run ] completed with state
|
Signed-off-by: Mike Iovine <6158008+mikeiovine@users.noreply.github.com>
|
/bot run --disable-fail-fast |
|
PR_Github #48701 [ run ] triggered by Bot. Commit: |
|
PR_Github #48701 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #48730 [ run ] triggered by Bot. Commit: |
Signed-off-by: Fanrong Li <23290157+lfr-0531@users.noreply.github.com>
|
/bot run --disable-fail-fast |
|
PR_Github #48734 [ run ] triggered by Bot. Commit: |
|
PR_Github #48730 [ run ] completed with state |
|
PR_Github #48734 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #48772 [ run ] triggered by Bot. Commit: |
|
PR_Github #48772 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #48782 [ run ] triggered by Bot. Commit: |
|
PR_Github #48782 [ run ] completed with state |
Signed-off-by: Mike Iovine <miovine@nvidia.com> Signed-off-by: Mike Iovine <6158008+mikeiovine@users.noreply.github.com> Signed-off-by: Fanrong Li <23290157+lfr-0531@users.noreply.github.com> Co-authored-by: Fanrong Li <23290157+lfr-0531@users.noreply.github.com> (cherry picked from commit 7fbe349) Signed-off-by: Fanrong Li <lfr-0531@users.noreply.github.com>
Description
Integrate the fp4 indexer kernels from DeepGEMM into DSV4. It can be used by setting
DeepSeekV4SparseAttentionConfig(indexer_k_dtype="fp4").Test Coverage
Existing tests plus a few new new unit tests. I also manually tested accuracy - confirmed that there is no drop in gsm8k for both Flash and Pro (a small drop is expected due to the lower precision):
PR Checklist
Please review the following before submitting your PR:
PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.
PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.
Test cases are provided for new code paths (see test instructions)
Any new dependencies have been scanned for license and vulnerabilities
CODEOWNERS updated if ownership changes
Documentation updated as needed
Update tava architecture diagram if there is a significant design change in PR.
The reviewers assigned automatically/manually are appropriate for the PR.
Please check this after reviewing the above items as appropriate for this PR.
GitHub Bot Help
To see a list of available CI bot commands, please comment
/bot help.