mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[PR #731] [CLOSED] feat(low_latency): support top-16 routing and hidden-dim 3584 #736
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/DeepEP#736
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/DeepEP/pull/731
Author: @samsja
Created: 8/18/2026
Status: ❌ Closed
Base:
main← Head:fix/k3-topk16-hidden3584📝 Commits (1)
6b29c94feat(low_latency): support top-16 routing and hidden-dim 3584📊 Changes
2 files changed (+4 additions, -2 deletions)
View changed files
📝
csrc/kernels/legacy/internode_ll.cu(+2 -2)📝
csrc/kernels/legacy/launch.cuh(+2 -0)📄 Description
Problem
The low_latency internode dispatch/combine kernels hard-cap top-k at 11 and only
template-specialize on a fixed set of a2a hidden dims. Two MoE configs don't fit
(both hit by Kimi-K3 — 896 experts, top-16, routed-expert hidden 3584):
EP_HOST_ASSERT(num_topk <= kNumMaxTopK)(dispatch) and thekNumMaxTopkequivalent (combine).SWITCH_HIDDEN's default → "Unsupportedhidden". (This is the a2a hidden dim, not the model
hidden_size.)Change
kNumMaxTopK/kNumMaxTopk11 → 16 (dispatch + combine).case 3584toSWITCH_HIDDEN— 3584 satisfies the LL alignment invariants(%128, %256 = 32·kNumElemsPerRead, %512 for the combine kNumSendUnrolls=2 path).
Follows #458 (hidden-dim 3072).
Validation
mini-K3 (2 nodes, EP16,
--deepep-mode auto, cuda-graph ON): decode cuda-graph capturepasses
SWITCH_HIDDENand serves without crash; greedy A/B vs the naive-a2a baselineagrees token-for-token into the low_latency decode region. Draft pending a full-model
multi-node coherence run.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.