mlsanityData to 7 Oct 2026

Affinity-Aware Sharding for Delayed Tensor Parallelism

arXiv 2609.13846 ↗First posted 12 Sep 2026cs.LG cs.CL cs.DCcited by 0

Not on the map. Why?

Abstract (arXiv)

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 δ 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 δ=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).

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 28 of its 38 references that are in the map. First posted on arXiv 12 Sep 2026.

Builds on

28 of 38 references.

References · 28

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  2. 2016Pointer Sentinel Mixture Modelscited by 2,992
  3. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  4. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  5. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  6. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  7. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  8. 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 460
  9. 2021The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networkscited by 285
  10. 2024Massive Activations in Large Language Modelscited by 277
  11. 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 149
  12. 2024Compact Language Models via Pruning and Knowledge Distillationcited by 142
16 more
  1. 2024FLUX: Fast Software-based Communication Overlap On GPUs Through Kernel Fusioncited by 53
  2. 2024The Super Weight in Large Language Modelscited by 51
  3. 2023Emergent Modularity in Pre-trained Transformerscited by 37
  4. 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinkscited by 23
  5. 2024Interpreting Context Look-ups in Transformers: Investigating Attention-MLP Interactionscited by 11
  6. 2024Flash Communication: Reducing Tensor Parallelization Bottleneck for Fast Large Language Model Inferencecited by 9
  7. 2025Ladder-residual: parallelism-aware architecture for accelerating large model inference with communication overlappingcited by 9
  8. 2024Domino: Eliminating Communication in LLM Training via Generic Tensor Slicing and Overlappingcited by 8
  9. 2025SPD: Sync-Point Drop for Efficient Tensor Parallelism of Large Language Modelscited by 6
  10. 2024Communication Compression for Tensor Parallel LLM Inferencecited by 5
  11. 2024Kraken: Inherently Parallel Transformers For Efficient Multi-Device Inferencecited by 4
  12. 2025Tensor-Parallelism with Partially Synchronized Activationscited by 4
  13. 2026Functional Equivalence in Attention: A Comprehensive Study with Applications to Linear Mode Connectivitycited by 2
  14. 2026Parallel Track Transformers: Enabling Fast GPU Inference with Reduced Synchronizationcited by 1
  15. 2026SiFAR: Synchronization-Free All-Reduce for Low-Latency LLM Inferencecited by 1
  16. 2026Sparse Inter-Layer Dependencies of Transformer FFN Neuronscited by 1

Built on by

Not cited yet.