Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

WallFacer: Harnessing Multi-dimensional Ring Parallelism for Efficient Long Sequence Model Training (2407.00611v3)

Published 30 Jun 2024 in cs.DC

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 WallFacer, a multi-dimensional distributed training system for long sequences, fostering an efficient communication paradigm and providing additional tuning flexibility for communication arrangements. Specifically, WallFacer introduces an extra parallel dimension to substantially reduce communication volume and avoid bandwidth bottlenecks. Through comprehensive experiments across diverse hardware environments and on both NLP and Computer Vision (CV) tasks, we demonstrate that our approach significantly surpasses state-of-the-art methods that support near-infinite sequence lengths, achieving performance improvements of up to 77.12% on GPT-style models and up to 114.33% on DiT (Diffusion Transformer) models.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Ziming Liu (87 papers)
  2. Shaoyu Wang (15 papers)
  3. Shenggan Cheng (11 papers)
  4. Zhongkai Zhao (8 papers)
  5. Xuanlei Zhao (13 papers)
  6. James Demmel (54 papers)
  7. Yang You (173 papers)
  8. Kai Wang (624 papers)
X Twitter Logo Streamline Icon: https://streamlinehq.com