PAT: a new algorithm for all-gather and reduce-scatter operations at scale
PAT: a new algorithm for all-gather and reduce-scatter operations at scale
This paper describes a new algorithm called PAT, for Parallel Aggregated Trees, and which can be used to implement all-gather and reduce-scatter operations. This algorithm works on any number of ranks, has a logarithmic number of network transfers for small size operations, minimizes long-distance communication, and requires a logarithmic amount of internal buffers, independently from the total operation size. It is aimed at improving the performance of the NCCL library in cases where the ring algorithm would be inefficient, as its linear latency would show poor performance for small sizes and/or at scale.
Sylvain Jeaugey
计算技术、计算机技术
Sylvain Jeaugey.PAT: a new algorithm for all-gather and reduce-scatter operations at scale[EB/OL].(2025-06-25)[2025-07-22].https://arxiv.org/abs/2506.20252.点此复制
评论