TokenWeave: Efficient Compute-Communication Overlap for Distributed LLM Inference
Not on the map. Why?
Abstract (arXiv)
Distributed inference of large language models (LLMs) using tensor parallelism can introduce communication overheads of 20% even over GPUs connected via NVLink, a high-speed GPU interconnect. Several techniques have been proposed to mitigate these overheads by decomposing computations into smaller tasks and overlapping communication with these subtasks. However, none of these techniques are turned on by default during tensor-parallel serving in systems like vLLM, SGLang and TensorRT-LLM. This is because the number of tokens processed per iteration is typically kept small to support low-latency serving, and decomposing such smaller workloads to enable communication overlap results in worse performance. Further, the communication itself uses many streaming multiprocessors (SMs) that would otherwise be available for computation, increasing overhead. We present TokenWeave, the first system to enable efficient compute-communication overlap for tensor-parallel model inference for token lengths as small as 1024. TokenWeave identifies RMSNorm, a previously overlooked operation, as crucial and optimizes it along with communication by implementing a novel fused AllReduce--RMSNorm kernel. Further, this kernel leverages the NVSHARP/Multimem feature available on modern GPUs (e.g., Hopper, Blackwell) to jointly perform communication and RMSNorm efficiently using only 2-8 streaming multiprocessors (SMs) on an 8×H100 DGX system. Our evaluations demonstrate up to boldsymbol1.28× speedup in latency (baselinedivours) and up to boldsymbol1.19× higher throughput (oursdivbaseline) across multiple models and workloads. In several settings, TokenWeave delivers better performance than an equivalent model with all communication removed. The source code is available at https://github.com/microsoft/tokenweave.
Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 20 of its 44 references that are in the map. First posted on arXiv 16 May 2025.
Builds on
20 of 44 references.
References · 20
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2024Mixtral of Expertscited by 1,823
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
- 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 617
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 558
8 more
- 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 526
- 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 478
- 2023OpenChat: Advancing Open-source Language Models with Mixed-Quality Datacited by 252
- 2024FLUX: Fast Software-based Communication Overlap On GPUs Through Kernel Fusioncited by 57
- 2021Breaking the Computation and Communication Abstraction Barrier in Distributed Machine Learning Workloadscited by 40
- 2025Triton-distributed: Programming Overlapping Kernels on Distributed AI Systems with the Triton Compilercited by 25
- 2025TileLink: Generating Efficient Compute-Communication Overlapping Kernels using Tile-Centric Primitivescited by 24
- 2024Lancet: Accelerating Mixture-of-Experts Training via Whole Graph Computation-Communication Overlappingcited by 22
Built on by
Citing papers per year: 2025: 3; 2026: 11.
14 papers.
Sort:
By area:
- 2026LLM-42: Enabling Determinism in LLM Inference with Verified Speculationcited by 16
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programscited by 15
- 2025xLLM Technical Reportcited by 3
- 2026Kareus: Joint Reduction of Dynamic and Static Energy in Large Model Trainingcited by 3
- 2026FlashAccel: Leveraging High-Bandwidth Flash (HBF) for High-Throughput LLM Inferencecited by 3
- 2025Rearchitecting Datacenter Lifecycle for AI: A TCO-Driven Frameworkcited by 2
- 2026CUCo: An Agentic Framework for Compute and Communication Co-designcited by 2
- 2026Balancing Sustainability And Performance: The Role Of Small-Scale LLMs In Agentic Artificial Intelligence Systemscited by 0
- 2026A Switch-Centric In-Network Architecture for Accelerating LLM Inference in Shared-Memory Networkcited by 0
- 2026Rethinking Network Topologies for Cost-Effective Mixture-of-Experts LLM Servingcited by 0
- 2026DynaFlow: Transparent and Flexible Intra-Device Parallelism via Programmable Operator Schedulingcited by 0
- 2026ASAP: A Disaggregated and Asynchronous Inference System for MoE Prefillcited by 0
- 2026Echo: Error-Compensated 4-Bit Tensor-Parallel Communication for LLM Training and Inference9 Oct 2026
- 2026Weave: Fine-Grained Dynamic SM Scheduling in an MoE Megakernel for Compute-Communication Overlap18 Sep 2026
- 2026FlashAccel: Leveraging High-Bandwidth Flash (HBF) for High-Throughput LLM Inference11 Jul 2026
- 2026ASAP: A Disaggregated and Asynchronous Inference System for MoE Prefill21 Jun 2026
- 2026DynaFlow: Transparent and Flexible Intra-Device Parallelism via Programmable Operator Scheduling20 May 2026
- 2026Rethinking Network Topologies for Cost-Effective Mixture-of-Experts LLM Serving30 Apr 2026
- 2026A Switch-Centric In-Network Architecture for Accelerating LLM Inference in Shared-Memory Network30 Mar 2026
- 2026CUCo: An Agentic Framework for Compute and Communication Co-design2 Mar 2026
- 2026Balancing Sustainability And Performance: The Role Of Small-Scale LLMs In Agentic Artificial Intelligence Systems27 Jan 2026
- 2026LLM-42: Enabling Determinism in LLM Inference with Verified Speculation25 Jan 2026
- 2026Kareus: Joint Reduction of Dynamic and Static Energy in Large Model Training25 Jan 2026
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programs22 Dec 2025
2 more
- 2025xLLM Technical Report16 Oct 2025
- 2025Rearchitecting Datacenter Lifecycle for AI: A TCO-Driven Framework30 Sep 2025
- 2025xLLM Technical Reportcited by 3
- 2026FlashAccel: Leveraging High-Bandwidth Flash (HBF) for High-Throughput LLM Inferencecited by 3
- 2026FlashAccel: Leveraging High-Bandwidth Flash (HBF) for High-Throughput LLM Inference11 Jul 2026
- 2025xLLM Technical Report16 Oct 2025
- 2026LLM-42: Enabling Determinism in LLM Inference with Verified Speculationcited by 16
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programscited by 15
- 2026Kareus: Joint Reduction of Dynamic and Static Energy in Large Model Trainingcited by 3
- 2025Rearchitecting Datacenter Lifecycle for AI: A TCO-Driven Frameworkcited by 2
- 2026A Switch-Centric In-Network Architecture for Accelerating LLM Inference in Shared-Memory Networkcited by 0
- 2026DynaFlow: Transparent and Flexible Intra-Device Parallelism via Programmable Operator Schedulingcited by 0
- 2026Echo: Error-Compensated 4-Bit Tensor-Parallel Communication for LLM Training and Inferencecited by 0
- 2026Echo: Error-Compensated 4-Bit Tensor-Parallel Communication for LLM Training and Inference9 Oct 2026
- 2026DynaFlow: Transparent and Flexible Intra-Device Parallelism via Programmable Operator Scheduling20 May 2026
- 2026A Switch-Centric In-Network Architecture for Accelerating LLM Inference in Shared-Memory Network30 Mar 2026
- 2026LLM-42: Enabling Determinism in LLM Inference with Verified Speculation25 Jan 2026
- 2026Kareus: Joint Reduction of Dynamic and Static Energy in Large Model Training25 Jan 2026
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programs22 Dec 2025
- 2025Rearchitecting Datacenter Lifecycle for AI: A TCO-Driven Framework30 Sep 2025