[GH-ISSUE #396] Why the internode_ll::dispatch and internode_ll::combine use all SMs? #268

Open
opened 2026-10-26 09:57:41 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @ican2002 on GitHub (Sep 8, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/396

@LyricZhao , hello, I read the code for low latency:

github.com/deepseek-ai/DeepEP@c18eabdebf/csrc/deep_ep.cpp (L1169-L1182)
github.com/deepseek-ai/DeepEP@c18eabdebf/csrc/deep_ep.cpp (L1274-L1285)

I found that num_device_sms (the number of SMs) is from,
github.com/deepseek-ai/DeepEP@c18eabdebf/csrc/deep_ep.cpp (L43-L46)

Does it means that all SMs are used for dispatch and combine? to minimize the time cost?

As all SMs are used, will this affect the compute-communication overlap? or we should assume that there is no computation as Experts are waiting for dispatch/combind?

Thanks.

Originally created by @ican2002 on GitHub (Sep 8, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/396 @LyricZhao , hello, I read the code for low latency: https://github.com/deepseek-ai/DeepEP/blob/c18eabdebf1381978ff884d278f6083a6153be3f/csrc/deep_ep.cpp#L1169-L1182 https://github.com/deepseek-ai/DeepEP/blob/c18eabdebf1381978ff884d278f6083a6153be3f/csrc/deep_ep.cpp#L1274-L1285 I found that num_device_sms (the number of SMs) is from, https://github.com/deepseek-ai/DeepEP/blob/c18eabdebf1381978ff884d278f6083a6153be3f/csrc/deep_ep.cpp#L43-L46 Does it means that all SMs are used for dispatch and combine? to minimize the time cost? As all SMs are used, will this affect the compute-communication overlap? or we should assume that there is no computation as Experts are waiting for dispatch/combind? Thanks.
Author
Owner

@sphish commented on GitHub (Sep 10, 2025):

You can get answer from https://github.com/deepseek-ai/profile-data?tab=readme-ov-file#decoding

<!-- gh-comment-id:3273850458 --> @sphish commented on GitHub (Sep 10, 2025): You can get answer from https://github.com/deepseek-ai/profile-data?tab=readme-ov-file#decoding
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepEP#268
No description provided.