mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[PR #153] [MERGED] Shuffling the starting index of target rank for different ranks and channels #444
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#444
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?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepEP/pull/153
Author: @wangfakang
Created: 5/12/2025
Status: ✅ Merged
Merged: 5/12/2025
Merged by: @LyricZhao
Base:
main← Head:opt-shuffled_dst📝 Commits (1)
63c29d0To mitigate incast congestion, shuffle the starting index of target rank for different ranks and channels📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
csrc/kernels/internode.cu(+2 -1)📄 Description
To mitigate incast congestion, shuffle the starting index of target rank for different ranks and channels. cc @LyricZhao
Example
When the number of ranks and channels is unequal (e.g., 4 ranks and 5 channels), distributing the initial target rank positions through rank-channel shuffling can balance the send/receive network traffic per rank, thereby mitigating incast congestion.
The following demonstrates the target rank positions computed per iteration for each rank and channel under two shuffling modes.
channel shuffle
Round-0
Round-1
channel-rank shuffle
Round-0
Round-1
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.