mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #20] why enabling adaptive routing for normal internode kernels may lead to deadlocks or data corruption issues? #20
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#20
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 @VincentHITlemon on GitHub (Feb 26, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/20
Enabling adaptive routing for normal internode kernels may lead to deadlocks or data corruption issues.
I think adaptive routing should be a simple network function, why enabling adaptive routing for normal internode kernels may lead to deadlocks or data corruption issues?
@LyricZhao commented on GitHub (Feb 26, 2025):
The remote receivers will judge the data arrival by a flag. For senders, they send tokens firstly, the flag secondly. With AR enabled, the flag could arrive before the data arrival. So the receivers may read the wrong data.
Later we will add AR support, cc @sphish
@GangLuICT commented on GitHub (Feb 27, 2025):
It seems few modification is needed to guarantee the consistency.
If so, why didn't you support AR from the begining?
Is it because that may introduce lower bandwidth?
@LyricZhao commented on GitHub (Feb 27, 2025):
Because that's not very easy.
@sphish commented on GitHub (Feb 27, 2025):
Specifically, supporting adaptive routing while maintaining high performance requires a completion-based notification mechanism. However, NVSHMEM does not natively provide such APIs, making the development more challenging.
@wenduobaba commented on GitHub (Mar 6, 2025):
@sphish Just noticed this PR got merged https://github.com/deepseek-ai/DeepEP/pull/45 - IIUC now both normal and LL internode dispatch/combine support AR. Is that correct?
@sphish commented on GitHub (Mar 6, 2025):
@wenduobaba Yes