English

Towards Compute-Aware In-Switch Computing for LLMs Tensor-Parallelism on Multi-GPU Systems

Hardware Architecture 2026-05-08 v1 Distributed, Parallel, and Cluster Computing

Abstract

Tensor parallelism (TP) in large-scale LLM inference and training introduces frequent collective operations that dominate inter-GPU communication. While in-switch computing, exemplified by NVLink SHARP (NVLS), accelerates collective operations by reducing redundant data transfer, its communication-centric design philosophy introduces the mismatch between its communication mode and the memory semantic requirement of LLM's computation kernel. Such a mismatch isolates the compute and communication phases, resulting in underutilized resources and limited overlap in multi-GPU systems. To address the limitation, we propose CAIS, the first Compute-Aware In-Switch computing framework that aligns communication modes with computation's memory semantics requirement. CAIS consists of three integral techniques: (1) compute-aware ISA and microarchitecture extension to enable compute-aware in-switch computing. (2) merging-aware TB (Thread Block) coordination to improve the temporal alignment for efficient request merging. (3) graph-level dataflow optimizer to achieve a tight cross-kernel overlap. Evaluations on LLM workloads show that CAIS achieves 1.38×\times average end-to-end training speedup over the SOTA NVLS-enabled solution, and 1.61×\times over T3, the SOTA compute-communicate overlap solutions but do not leverage NVLS, demonstrating its effectiveness in accelerating TP on multi-GPU systems.

Keywords

Cite

@article{arxiv.2605.05628,
  title  = {Towards Compute-Aware In-Switch Computing for LLMs Tensor-Parallelism on Multi-GPU Systems},
  author = {Chen Zhang and Qijun Zhang and Zhuoshan Zhou and Yijia Diao and Haibo Wang and Zhe Zhou and Zhipeng Tu and Zhiyao Li and Guangyu Sun and Zhuoran Song and Zhigang Ji and Jingwen Leng and Minyi Guo},
  journal= {arXiv preprint arXiv:2605.05628},
  year   = {2026}
}

Comments

15 pages, 18 figures, HPCA 2026

R2 v1 2026-07-01T12:54:02.272Z