mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #651] ElasticBuffer.barrier doesn't ensure global sync in hybrid mode #383
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#383
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 @fishautumn on GitHub (May 30, 2026).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/651
Problem
We found
test_ep.yfirst round dispatch is usually slower than later.It uses
ElasticBuffer.barrierby default inbench_kineto, and can be walk around by switching todist.all_reduce.Reason
in
gpu_barrierimplementation:github.com/deepseek-ai/DeepEP@d4f41e4e93/deep_ep/include/deep_ep/common/comm.cuh (L213)It uses 2 SM for rail and LSA domain separately.
If a rank enters barrier quite late, members of its rail and LSA domain will be blocked;
while other ranks won't be blocked, and their dispatch kernel will have long execution time.
Possible Solution
Run rail and LSA domain sequentially
@gangxie112 commented on GitHub (Jun 1, 2026):
@sphish
@sphish commented on GitHub (Jul 7, 2026):
Fixed in https://github.com/deepseek-ai/DeepEP/pull/674. Thank you!