mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #326] [WIP] support sm90_fp4_mqa_logits #365
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepGEMM#365
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/326
Author: @laixinn
Created: 5/1/2026
Status: 🔄 Open
Base:
main← Head:sm90_fp4_mqa_logits📝 Commits (4)
4650dfbsm90_fp4_mqa_logits v1779fcd0opt v1: 20% flops improved81cc13dopt v2: 75% of the fp8, via ncu profilingc981a8drm install.sh change📊 Changes
6 files changed (+739 additions, -14 deletions)
View changed files
📝
csrc/apis/attention.hpp(+3 -0)📝
csrc/jit_kernels/impls/runtime_utils.hpp(+1 -0)📝
csrc/jit_kernels/impls/smxx_fp8_fp4_mqa_logits.hpp(+183 -0)➕
deep_gemm/include/deep_gemm/impls/sm90_fp4_mqa_logits.cuh(+551 -0)➖
install.sh(+0 -13)📝
tests/test_attention.py(+1 -1)📄 Description
This PR dequants w4a4 to w8a8 to support the FP4 Indexer in SM90, supposing to be a part of sgl-project/sglang#23602.
Currently, this operation brings 40% latency drawbacks.
cc @AniZpZ
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.