Metraipolis › archive › dc_be31d10df0d5
NCCL M2N: A Layout- and Topology-Aware Collective for Distributed Tensor Resharding — arXiv:2610.07516
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.07516
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T11:24:37.729Z
- SHA-256 of the archived text
c6fd8466b56e0126f54069cdc31f5f1d353934f3865c80e0be8f4dd3ef87adca- Stable URL of this page
https://metraipolis.com/documento/dc_be31d10df0d5
How to cite
NCCL M2N: A Layout- and Topology-Aware Collective for Distributed Tensor Resharding — arXiv:2610.07516 — arXiv (en), https://arxiv.org/abs/2610.07516 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_be31d10df0d5 (Metraipolis archive dc_be31d10df0d5, sha256 c6fd8466b56e0126f54069cdc31f5f1d353934f3865c80e0be8f4dd3ef87adca)
BibTeX
@misc{dcbe31d10df0d5,
title = {NCCL M2N: A Layout- and Topology-Aware Collective for Distributed Tensor Resharding — arXiv:2610.07516},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.07516},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_be31d10df0d5; sha256 c6fd8466b56e0126f54069cdc31f5f1d353934f3865c80e0be8f4dd3ef87adca},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.07516. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Distributed training and rollout generation often use different tensor layouts, requiring model weights to be resharded across distinct process groups. This M-to-N redistribution is not directly expressed by standard collectives. Flat direct sends duplicate traffic across destination replicas, while gather-then-broadcast concentrates network injection at one root and transfers data that destinations do not need. For DeepSeek-V3 on 256 GPUs, legacy all-gather plus broadcast accounts for 29.4% of the reported reinforcement-learning step time. We present NCCL M2N, a layout- and topology-aware collective primitive for distributed tensor resharding. Given source and destination meshes and placements, it derives the required transfer regions and a global communication schedule. Its hierarchical route balances source contributions across eligible destination ranks, forwards one copy between destination NVLink domains, and completes local replication over NVLink. Network transfer and local replication overlap, avoiding replica-multiplied source egress. An aggregate data-movement model captures the limits of both stages. We evaluate NCCL M2N on up to 256 GB200 GPUs in an NVL72 cluster with NDR InfiniBand. A single FFN-MoE layer transfer achieves up to 7.9x speedup over flat direct sends (9.8 ms versus 77.3 ms). In a separate 256-GPU DeepSeek-V3 NeMo-RL experiment, NCCL M2N reduces reported weight-sync time from 5.78 s to 2.77 s, a 2.09x speedup over legacy all-gather plus broadcast, and reduces step time by 12.7%. Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.DC, nuovi lavori del giorno). Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2610.07516 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T11:15:54.470Z dalla pagina https://arxiv.org/list/cs.DC/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).