mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #303] [CLOSED] Eliminate redundant global stores in SM90 MQA logits kernels #354
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#354
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/303
Author: @Gregory-Pereira
Created: 4/11/2026
Status: ❌ Closed
Base:
main← Head:fix-279/optimize-SM90_fp8_mqa_logits📝 Commits (4)
2f9199dEliminate redundant global stores in SM90 MQA logits kernels69a2f5dremove reduced writes and increased num_kv_stages = 5515009aHalve SM90 math threads and BLOCK_KV to fit 2 threadblocks per SM, moving weights from registers to on-demand shared memory loads to stay within register budgetbf3643ekeep 1 block per SM, but with halved threads (256 math) and halved BLOCK_KV (128)📊 Changes
2 files changed (+11 additions, -13 deletions)
View changed files
📝
csrc/jit_kernels/impls/smxx_fp8_mqa_logits.hpp(+5 -2)📝
deep_gemm/include/deep_gemm/impls/sm90_fp8_mqa_logits.cuh(+6 -11)📄 Description
Seeks to address: #279
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.