mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #131] Ways to do overlapping of computation and commucation. #117
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#117
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 @kuozhang on GitHub (Apr 22, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/131
Hello, I'm trying to use DeepEP and intergate it into Megatron (with this commit
github.com/NVIDIA/Megatron-LM@0d389f5e99), and accomplish overlapping of computation and commucation, I've noticed DeepEP is using previous_event and async_finish args in dispatch and combine methods to support the overlapping , whereas the FlexTokenDispatcher in that commit doesn't adopt any of them. For me, there are two ways to do that:Can you guys give me some suggestions about the two ways in term of performance?
@LyricZhao commented on GitHub (Apr 25, 2025):
I highly recommend you to use the first way, as the current DeepEP design may fail to cover some edge cases for the second (e.g. some
record_stream/reuse GPU mem problems).In terms of performance, I guess no diff between these if they can perfectly overlap.