vix.ing · top · new · best · stats · spec

StarTrail: Concentric Ring Sequence Parallelism for Efficient Near-Infinite-Context Transformer Model Training

2024/06/30 by Liu Ziming, Liu, Ziming, Shaoyu Wang +12 · 1 citation
Computer Science · Physics and Astronomy · #Computational Physics and Python Applications #Distributed #FOS: Computer and information sciences #Gamma-ray bursts and supernovae #Magnetic confinement fusion research #Parallel #and Cluster Computing (cs.DC)

paper · pdf · doi:10.48550/arxiv.2407.00611

openalex publication_date 2024/06/30 · openalex created_date 2024/07/06 · openalex updated_date 2026/07/28

Abstract

Training Transformer models on long sequences in a distributed setting poses significant challenges in terms of efficiency and scalability. Current methods are either constrained by the number of attention heads or excessive communication overheads. To address this problem, we propose StarTrail, a multi-dimensional concentric distributed training system for long sequences, fostering an efficient communication paradigm and providing additional tuning flexibility for communication arrangements. Specifically, StarTrail introduces an extra parallel dimension and divides the peer-to-peer communication into sub-rings to substantially reduce communication volume and avoid bandwidth bottlenecks. Through comprehensive experiments across diverse hardware environments and on both Natural Language Processing (NLP) and Computer Vision (CV) tasks, we demonstrate that our approach significantly surpasses state-of-the-art methods that support Long sequence lengths, achieving performance improvements of up to 77.12% on GPT-style models and up to 114.33% on DiT (Diffusion Transformer) models without affecting the computations results.

Cited by

Related