mlsanityData to 7 Oct 2026

Colossal-Auto: Unified Automation of Parallelization and Activation Checkpoint for Large-scale Models

arXiv 2302.02599 ↗First posted 6 Feb 2023cs.LG cs.AI cs.DCcited by 5

Not on the map. Why?

Abstract (arXiv)

In recent years, large-scale models have demonstrated state-of-the-art performance across various domains. However, training such models requires various techniques to address the problem of limited computing power and memory on devices such as GPUs. Some commonly used techniques include pipeline parallelism, tensor parallelism, and activation checkpointing. While existing works have focused on finding efficient distributed execution plans (Zheng et al. 2022) and activation checkpoint scheduling (Herrmann et al. 2019, Beaumont et al. 2021}, there has been no method proposed to optimize these two plans jointly. Moreover, ahead-of-time compilation relies heavily on accurate memory and computing overhead estimation, which is often time-consuming and misleading. Existing training systems and machine learning pipelines either physically execute each operand or estimate memory usage with a scaled input tensor. To address these challenges, we introduce a system that can jointly optimize distributed execution and gradient checkpointing plans. Additionally, we provide an easy-to-use symbolic profiler that generates memory and computing statistics for any PyTorch model with a minimal time cost. Our approach allows users to parallelize their model training on the given hardware with minimum code change based. The source code is publicly available at Colossal-AI GitHub or https://github.com/hpcaitech/ColossalAI

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 27 of its 41 references that are in the map. First posted on arXiv 6 Feb 2023.

Builds on

27 of 41 references.

References · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  7. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  8. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  9. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  10. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  11. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
  12. 2018Horovod: fast and easy distributed deep learning in TensorFlowcited by 275
15 more
  1. 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
  2. 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
  3. 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 109
  4. 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 90
  5. 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 74
  6. 2021Chimera: Efficiently Training Large-Scale Neural Networks with Bidirectional Pipelinescited by 68
  7. 2020Dynamic Tensor Rematerializationcited by 45
  8. 2018Supporting Very Large Models using Automatic Dataflow Graph Partitioningcited by 43
  9. 2021Torch.fx: Practical Program Capture and Transformation for Deep Learning in Pythoncited by 38
  10. 2022POET: Training Neural Networks on Tiny Devices with Integrated Rematerialization and Pagingcited by 26
  11. 2021Maximizing Parallelism in Distributed Training for Huge Neural Networkscited by 23
  12. 2019Optimal checkpointing for heterogeneous chains: how to train deep neural networks with limited memorycited by 22
  13. 2021PatrickStar: Parallel Training of Pre-trained Models via Chunk-based Memory Managementcited by 15
  14. 2022Merak: An Efficient Distributed DNN Training Framework with Automated 3D Parallelism for Giant Foundation Modelscited by 11
  15. 2022Elixir: Train a Large Language Model on a Small GPU Clustercited by 2

Built on by

Cited by year

Citing papers per year: 2023: 2; 2024: 2; 2025: 1.

5 papers.