Skip to main navigation Skip to search Skip to main content

Compass: Dissecting Communication and Computation Operators for Efficient LLM Training

  • Guangyu Xiang
  • , Lin Zhang*
  • , Haoxuan Yu
  • , Xinglin Pan
  • , Shaohuai Shi
  • , Xiaowen Chu*
  • *Corresponding author for this work
  • Hong Kong University of Science and Technology
  • Harbin Institute of Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Overlapping communication and computation operators is a common practice to hide communication overheads, accelerating large language models (LLMs) training on GPU clusters. Existing systems achieve this through either intra-operator fusion (IntraFusion), which packs operators into a single large kernel, or inter-operator decomposition (InterDecom), which splits a tensor into multiple parts for pipelined execution. However, current IntraFusion methods underutilize network topology, causing suboptimal bandwidth usage on multiGPU systems, while InterDecom struggles to determine the optimal number of decomposed parts for peak performance. To address these issues, we introduce Compass, which employs systematic optimization and comprehensive modeling. First, we design a novel IntraFusion algorithm leveraging double-ring communications to maximize bandwidth utilization in hybrid NVLink-PCIe systems, achieving 1.5x-2.5x speedups. Second, we develop a decomposition model that mathematically derives the optimal tensor decomposition degree for InterDecom, improving performance by up to 1.3x. Finally, we develop a unified performance framework that accurately determines the best strategy for different scenarios. We validate Compass through extensive evaluation across 288 configurations and end-to-end experiments on real-world applications. The results demonstrate that Compass consistently selects the optimal strategy, achieving up to a 1.42x end-to-end speedup compared to the Megatron-LM baseline.

Original languageEnglish
Title of host publicationINFOCOM 2026 - IEEE Conference on Computer Communications
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798331549619
DOIs
StatePublished - 2026
Externally publishedYes
Event2026 IEEE Conference on Computer Communications, INFOCOM 2026 - Tokyo, Japan
Duration: 18 May 202621 May 2026

Publication series

NameProceedings - IEEE INFOCOM
ISSN (Print)0743-166X

Conference

Conference2026 IEEE Conference on Computer Communications, INFOCOM 2026
Country/TerritoryJapan
CityTokyo
Period18/05/2621/05/26

Keywords

  • Collective Communication
  • Computation-Communication Overlap
  • Distributed Machine Learning

Fingerprint

Dive into the research topics of 'Compass: Dissecting Communication and Computation Operators for Efficient LLM Training'. Together they form a unique fingerprint.

Cite this