mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #63] About the setting of kNumWarpsPerGroup and kNumWarpGroups #59
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#59
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?
Originally created by @GitAlice123 on GitHub (Mar 10, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/63
Why exactly you set kNumWarpsPerGroup=10, kNumWarpGroups=3?
@LyricZhao commented on GitHub (Mar 11, 2025):
int4read (16 bytes), we will use7168 * 2 / (32 * 16) = 28warp-rounds to cast, if we are using less than 28 warps then it will cost 2 rounds, so10 * 3 - 1 = 29(- 1due to some other jobs for the extra warp, please read the code), 29 > 28, so we only require all warps to cast one round.Overall, it is a delicate tradeoff for V3/R1 towards extreme performance, you can change them for your own model settings.
@alpha-baby commented on GitHub (Jun 13, 2025):
Can we automatically find the best configuration of kNumWarpsPerGroup and kNumWarpGroups according to this rule? If so, I can submit a PR to support this capability, so that we can compile only one DeeoEp program to adapt to different types of GPUs.
@LyricZhao commented on GitHub (Jun 16, 2025):
Fixed in #213, close it now.