Skip to main navigation Skip to search Skip to main content

T3P: Topology-Tailored Tensor Parallelism

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

Abstract

As deep learning models continue to grow in scale and complexity, methods of distributed machine learning training, and particularly those used for large language models (LLMs), have become a critical ingredient in making such computations efficient and feasible. In such contexts, tensor parallelism (TP) is widely employed to distribute computations across multiple accelerators. However, since TP mandates frequent and high-volume communication between devices, the underlying network characteristics significantly influence performance. Previous work was mostly either model-agnostic or topology-agnostic and did not pick provably optimal configurations. This study presents Topology-Tailored Tensor Parallelism, T3P, an efficient algorithm that identifies the communication-optimal TP sharding configuration (within the considered search space) based on both the model architecture and the network topology. In particular, we show that T3P is optimal for any given resharding cost model.

Original languageEnglish
Title of host publicationNAIC 2025 - Proceedings of the 2nd Workshop on Networks for AI Computing, Part of SIGCOMM 2025
PublisherAssociation for Computing Machinery, Inc
Pages81-88
Number of pages8
ISBN (Electronic)9798400720826
DOIs
StatePublished - 8 Sep 2025
Event2nd Workshop on Networks for AI Computing, NAIC 2025, Part of SIGCOMM 2025 - Coimbra, Portugal
Duration: 8 Sep 202511 Sep 2025

Publication series

NameNAIC 2025 - Proceedings of the 2nd Workshop on Networks for AI Computing, Part of SIGCOMM 2025

Conference

Conference2nd Workshop on Networks for AI Computing, NAIC 2025, Part of SIGCOMM 2025
Country/TerritoryPortugal
CityCoimbra
Period8/09/2511/09/25

Keywords

  • Data Center Networks
  • Distributed Machine Learning
  • Tensor Parallelism

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Networks and Communications
  • Computer Science Applications
  • Information Systems
  • Signal Processing

Fingerprint

Dive into the research topics of 'T3P: Topology-Tailored Tensor Parallelism'. Together they form a unique fingerprint.

Cite this