mlsanityData to 14 Oct 2026

An Efficient 2D Method for Training Super-Large Deep Learning Models

arXiv 2104.05343 ↗First posted 12 Apr 2021cs.LG cs.DCcited by 0

Not on the map. Why?

Abstract (arXiv)

Huge neural network models have shown unprecedented performance in real-world applications. However, due to memory constraints, model parallelism must be utilized to host large models that would otherwise not fit into the memory of a single device. Previous methods like Megatron partition the parameters of the entire model among multiple devices, while each device has to accommodate the redundant activations in forward and backward pass. In this work, we propose Optimus, a highly efficient and scalable 2D-partition paradigm of model parallelism that would facilitate the training of infinitely large language models. In Optimus, activations are partitioned and distributed among devices, further reducing redundancy. In terms of isoefficiency, Optimus significantly outperforms Megatron. On 64 GPUs of TACC Frontera, Optimus achieves 1.48X speedup for training, 1.78X speedup for inference, and 8X increase in maximum batch size over Megatron. Optimus surpasses Megatron in scaling efficiency by a great margin. The code is available at https://github.com/xuqifan897/Optimus.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 27 references that are in the map. First posted on arXiv 12 Apr 2021.

Builds on

14 of 27 references.

References · 14

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  5. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  6. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  7. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
  8. 2017Mixed Precision Trainingcited by 1,156
  9. 2016Training Deep Nets with Sublinear Memory Costcited by 848
  10. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 341
  11. 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 169
  12. 2018PipeDream: Fast and Efficient Pipeline Parallel DNN Trainingcited by 117
2 more
  1. 2020Data Movement Is All You Need: A Case Study on Optimizing Transformerscited by 108
  2. 2020Exploring the limits of Concurrency in ML Training on Google TPUscited by 9

Built on by

Not cited yet.