pith. sign in

arxiv: 2301.08658 · v1 · pith:PILO62OPnew · submitted 2023-01-20 · 💻 cs.DC

ATP: Adaptive Tensor Parallelism for Foundation Models

classification 💻 cs.DC
keywords parallelismtensorfoundationmodelstrainingcommunicationmodelperformance
0
0 comments X
read the original abstract

Foundation models have impressive performance and generalization capabilities across a wide range of applications. The increasing size of the models introduces great challenges for the training. Tensor parallelism is a critical technique that is currently used in almost all foundation model training and has a significant impact on overall training performance. However, current tensor parallelism in machine learning frameworks misses optimization opportunities in fitting various interconnection topologies. In this work, we present ATP, an adaptive tensor parallelism framework for foundation models, which can automatically select the optimal parallel strategy on different interconnections. We propose column- and row-first tensor parallelism based on 2D device meshes and construct a search space. Combined with the hierarchical communication matrix, ATP can identify the optimal strategy in the search space. We also propose chunk-based overlapping to reduce communication overhead. Our evaluations show ATP consistently outperforms the state-of-the-art approaches for various model sizes and interconnects, achieving end-to-end training performance improvements of up to 37-64% on specific interconnects. Based on our theoretical model, the communication overhead of ATP decreases with scaling, indicating a qualitative leap forward.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. On Harnessing Idle Compute at the Edge for Foundation Model Training

    cs.DC 2025-12 unverdicted novelty 6.0

    Cleave trains foundation models on heterogeneous edge devices by decomposing GEMM operations to exploit downlink-uplink asymmetry, achieving cloud-comparable speed and scaling to thousands of devices with fast failure...