mlsanityData to 14 Oct 2026

PatrickStar: Parallel Training of Pre-trained Models via Chunk-based Memory Management

arXiv 2108.05818 ↗First posted 12 Aug 2021cs.LG cs.DCcited by 15

Not on the map. Why?

Abstract (arXiv)

The pre-trained model (PTM) is revolutionizing Artificial Intelligence (AI) technology. However, the hardware requirement of PTM training is prohibitively high, making it a game for a small proportion of people. Therefore, we proposed PatrickStar system to lower the hardware requirements of PTMs and make them accessible to everyone. PatrickStar uses the CPU-GPU heterogeneous memory space to store the model data. Different from existing works, we organize the model data in memory chunks and dynamically distribute them in the heterogeneous memory. Guided by the runtime memory statistics collected in a warm-up iteration, chunks are orchestrated efficiently in heterogeneous memory and generate lower CPU-GPU data transmission volume and higher bandwidth utilization. Symbiosis with the Zero Redundancy Optimizer, PatrickStar scales to multiple GPUs on multiple nodes. % using data parallelism. The system can train tasks on bigger models and larger batch sizes, which cannot be accomplished by existing works. Experimental results show that PatrickStar extends model scales 2.27 and 2.5 times of DeepSpeed, and consistently exhibits significantly higher execution speed. PatricStar also successfully runs the 175B GPT3 training task on a 32 GPU cluster. Our code is publicly available at https://github.com/Tencent/PatrickStar.

Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Builds on 22 of its 46 references that are in the map. First posted on arXiv 12 Aug 2021.

Builds on

22 of 46 references.

References · 22

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  7. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  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. 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 256
  12. 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 169
10 more
  1. 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 91
  2. 2016Memory-Efficient Backpropagation Through Timecited by 78
  3. 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 75
  4. 2020TurboTransformers: An Efficient GPU Serving System For Transformer Modelscited by 71
  5. 2019Evaluating Modern GPU Interconnect: PCIe, NVLink, NV-SLI, NVSwitch and GPUDirectcited by 41
  6. 2020Training Large Neural Networks with Constant Memory using a New Execution Algorithmcited by 34
  7. 2019On-Device Neural Net Inference with Mobile GPUscited by 32
  8. 2021Maximizing Parallelism in Distributed Training for Huge Neural Networkscited by 23
  9. 2019Optimal checkpointing for heterogeneous chains: how to train deep neural networks with limited memorycited by 22
  10. 2020Efficient Memory Management for Deep Neural Net Inferencecited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 1; 2023: 3; 2024: 6; 2025: 1; 2026: 4.

15 papers.

Sort: