mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #31] Why is a mechanism like PXN in NCCL not used in low-latency kernel? It should be able to achieve even lower latency. #30
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#30
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 @weishenmezhememan on GitHub (Feb 28, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/31
NCCL provides the PXN mechanism. During cross-node communication, if the GPUs are not of the same type, data can first be forwarded within the node to a GPU of the same type and then transferred via RDMA to the target node's GPU. On multi-rail networks, this can reduce the number of switch hops, theoretically achieving lower latency. In low-latency kernels, what is the reason for not adopting a similar mechanism?
@sphish commented on GitHub (Feb 28, 2025):
In our experiments, network latency accounts for only a small portion of the total execution time. The overhead introduced by the control logic of the proposed PXN strategy might exceed the benefits gained from reduced network latency.
@sphish commented on GitHub (Mar 3, 2025):
In fact, the main bottleneck here is network bandwidth, and PXN's approach does not reduce the total amount of data transmitted.
@weishenmezhememan commented on GitHub (Mar 3, 2025):
Why is the main bottleneck network bandwidth? The amount of data during the decoding phase of inference should be relatively small, so communication optimization should primarily focus on reducing latency, right? That's why a point-to-point direct sending approach is adopted, instead of the conventional all-to-all kernel. Could you help explain this further? Thanks!