Harmony: Overcoming the Hurdles of GPU Memory Capacity to Train Massive DNN Models on Commodity Servers
Not on the map. Why?
Abstract (arXiv)
Deep neural networks (DNNs) have grown exponentially in size over the past decade, leaving only those who have massive datacenter-based resources with the ability to develop and train such models. One of the main challenges for the long tail of researchers who might have only limited resources (e.g., a single multi-GPU server) is limited GPU memory capacity compared to model size. The problem is so acute that the memory requirement of training massive DNN models can often exceed the aggregate capacity of all available GPUs on a single server; this problem only gets worse with the trend of ever-growing model sizes. Current solutions that rely on virtualizing GPU memory (by swapping to/from CPU memory) incur excessive swapping overhead. In this paper, we present a new training framework, Harmony, and advocate rethinking how DNN frameworks schedule computation and move data to push the boundaries of training massive models efficiently on a single commodity server. Across various massive DNN models, Harmony is able to reduce swap load by up to two orders of magnitude and obtain a training throughput speedup of up to 7.6x over highly optimized baselines with virtualized memory.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 33 of its 77 references that are in the map. First posted on arXiv 2 Feb 2022.
Builds on
33 of 77 references.
References · 33
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2017Squeeze-and-Excitation Networkscited by 4,789
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,274
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2016Identity Mappings in Deep Residual Networkscited by 1,965
21 more
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2018Regularized Evolution for Image Classifier Architecture Searchcited by 909
- 2016Training Deep Nets with Sublinear Memory Costcited by 848
- 2017Large Batch Training of Convolutional Networkscited by 535
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 341
- 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 279
- 2014One weird trick for parallelizing convolutional neural networkscited by 264
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 256
- 2019High-Resolution Representations for Labeling Pixels and Regionscited by 211
- 2017Regularizing and Optimizing LSTM Language Modelscited by 205
- 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 134
- 2020DAPPLE: A Pipelined Data Parallel Approach for Training Large Modelscited by 101
- 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 91
- 2018SuperNeurons: Dynamic GPU Memory Management for Training Deep Neural Networkscited by 55
- 2019Evaluating Modern GPU Interconnect: PCIe, NVLink, NV-SLI, NVSwitch and GPUDirectcited by 41
- 2018Decoupled Parallel Backpropagation with Convergence Guaranteecited by 39
- 2018Pipe-SGD: A Decentralized Pipelined SGD Framework for Distributed Deep Net Trainingcited by 28
- 2019Efficient Memory Management for GPU-based Deep Learning Systemscited by 6
Built on by
Citing papers per year: 2023: 3; 2024: 2; 2025: 0; 2026: 1.
6 papers.
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 575
- 2024D'ej`aVu: KV-cache Streaming for Fast, Fault-tolerant Generative LLM Servingcited by 48
- 2023Flash-LLM: Enabling Cost-Effective and Highly-Efficient Large Generative Model Inference with Unstructured Sparsitycited by 17
- 2024ProTrain: Efficient LLM Training via Memory-Aware Techniquescited by 4
- 2023ROAM: memory-efficient large DNN training via optimized operator ordering and memory layoutcited by 0
- 2026FreeBalance: Pre-Routing Online Moe Load Balancing via Residual Workload Predictioncited by 0
- 2026FreeBalance: Pre-Routing Online Moe Load Balancing via Residual Workload Prediction14 Aug 2026
- 2024ProTrain: Efficient LLM Training via Memory-Aware Techniques12 Jun 2024
- 2024D'ej`aVu: KV-cache Streaming for Fast, Fault-tolerant Generative LLM Serving4 Mar 2024
- 2023ROAM: memory-efficient large DNN training via optimized operator ordering and memory layout30 Oct 2023
- 2023Flash-LLM: Enabling Cost-Effective and Highly-Efficient Large Generative Model Inference with Unstructured Sparsity19 Sep 2023
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU13 Mar 2023