Metraipolis › archive › dc_a5a55506d7cc
Affinity-Aware Sharding for Delayed Tensor Parallelism — arXiv:2609.13846
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.13846
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T23:16:53.320Z
- SHA-256 of the archived text
4358968edb11df8ea06603d92434f3527e462c3f06c955a086689ebee5a68dfc- Stable URL of this page
https://metraipolis.com/documento/dc_a5a55506d7cc
How to cite
Affinity-Aware Sharding for Delayed Tensor Parallelism — arXiv:2609.13846 — arXiv (en), https://arxiv.org/abs/2609.13846 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a5a55506d7cc (Metraipolis archive dc_a5a55506d7cc, sha256 4358968edb11df8ea06603d92434f3527e462c3f06c955a086689ebee5a68dfc)
BibTeX
@misc{dca5a55506d7cc,
title = {Affinity-Aware Sharding for Delayed Tensor Parallelism — arXiv:2609.13846},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.13846},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a5a55506d7cc; sha256 4358968edb11df8ea06603d92434f3527e462c3f06c955a086689ebee5a68dfc},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.13846. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Delayed Tensor Parallelism (DTP) removes the blocking all-reduce of tensor-parallel Transformer inference. Every device adds its own partial output to its residual stream (and broadcasts it) immediately, but only gathers (receives) the other devices' partials $\delta$ modules later. A TP to DTP change therefore amounts to a real architecture change, and dense Transformer models need to be retrained or distilled after adaptation. We show that DTP breaks the permutation symmetry of neurons inside FFNs and of KV heads inside attention modules, and that this symmetry breakage makes the sharding itself a modelling decision. We show that maximising the affinity between the KV heads and the FFN neurons co-located on a device, by permuting the dense model before sharding, speeds up the distillation or retraining process. The affinity is measured with a first-order approximation of the damage that losing a head's contribution does to each neuron's output, and the co-located affinity is maximised with a coordinate-ascent optimiser that alternates an exact balanced assignment of neurons with an exhaustive search over the KV head partitions. The whole procedure takes under two minutes on one GPU for Qwen3-0.6B and Danube3-500M. On these models, at $\delta=1$, the affinity-optimised layouts reach any distillation target in about half to two thirds of the steps needed by the naive contiguous layouts, over the whole 10k-step range we tested, and every optimised seed beats every contiguous seed and all but one of the sixteen random layouts. We also show that the co-located affinity score at initialisation predicts the KL to the base model after training, across seventeen layouts ranging from anti-optimised to optimised (Pearson $-0.81$ and $-0.89$). Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-15 in cs.CL). Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL); Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2609.13846 — 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-15T22:51:10.011Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-15?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).