mlsanityData to 13 Oct 2026

Comprehensive Performance Modeling and System Design Insights for Foundation Models

arXiv 2410.00273 ↗First posted 30 Sep 2024cs.LG cs.DCcited by 0

Not on the map. Why?

Abstract (arXiv)

Generative AI, in particular large transformer models, are increasingly driving HPC system design in science and industry. We analyze performance characteristics of such transformer models and discuss their sensitivity to the transformer type, parallelization strategy, and HPC system features (accelerators and interconnects). We utilize a performance model that allows us to explore this complex design space and highlight its key components. We find that different transformer types demand different parallelism and system characteristics at different training regimes. Large Language Models are performant with 3D parallelism and amplify network needs only at pre-training scales with reduced dependence on accelerator capacity and bandwidth. On the other hand, long-sequence transformers, representative of scientific foundation models, place a more uniform dependence on network and capacity with necessary 4D parallelism. Our analysis emphasizes the need for closer performance modeling of different transformer types keeping system features in mind and demonstrates a path towards this. Our code is available as open-source.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 26 of its 67 references that are in the map. First posted on arXiv 30 Sep 2024.

Builds on

26 of 67 references.

References · 26

  1. 2017Attention Is All You Needcited by 60,106
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  3. 2020Language Models are Few-Shot Learnerscited by 32,320
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,043
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,549
  6. 2020Scaling Laws for Neural Language Modelscited by 6,494
  7. 2020Training data-efficient image transformers & distillation through attentioncited by 4,574
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,637
  9. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,851
  10. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,289
  11. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,029
  12. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 626
14 more
  1. 2021XCiT: Cross-Covariance Image Transformerscited by 337
  2. 2023ClimaX: A foundation model for weather and climatecited by 332
  3. 2023FuXi: A cascade machine learning forecasting system for 15-day global weather forecastcited by 240
  4. 2022FourCastNet: Accelerating Global High-Resolution Weather Forecasting using Adaptive Fourier Neural Operatorscited by 188
  5. 2021Colossal-AI: A Unified Deep Learning System For Large-Scale Parallel Trainingcited by 96
  6. 2023Multiple Physics Pretraining for Physical Surrogate Modelscited by 94
  7. 2021FLAT: An Optimized Dataflow for Mitigating Attention Bottleneckscited by 39
  8. 2024A Practical Probabilistic Benchmark for AI Weather Modelscited by 25
  9. 2021Maximizing Parallelism in Distributed Training for Huge Neural Networkscited by 23
  10. 2021Tesseract: Parallelize the Tensor Parallelism Efficientlycited by 19
  11. 2024ORBIT: Oak Ridge Base Foundation Model for Earth System Predictabilitycited by 17
  12. 2024Analyzing and Exploring Training Recipes for Large-Scale Transformer-Based Weather Predictioncited by 15
  13. 2023Optimizing Distributed Training on Frontier for Large Language Modelscited by 12
  14. 2021Large Scale Distributed Linear Algebra With Tensor Processing Unitscited by 4

Built on by

Not cited yet.