SuperNeurons: Dynamic GPU Memory Management for Training Deep Neural Networks
- Brown University
- University of Electronic Science and Technology of China
- Los Alamos National Laboratory
- BATTELLE (PACIFIC NW LAB)
- Massachusetts Institute of Technology
Going deeper and wider in neural architectures improves their accuracy, while the limited GPU DRAM places an undesired restriction on the network design domain. Deep Learning (DL) practitioners either need to change to less de- sired network architectures, or nontrivially dissect a network across multiGPUs. These distract DL practitioners from concentrating on their original machine learning tasks. We present SuperNeurons: a dynamic GPU memory scheduling runtime to enable the network training far beyond the GPU DRAM capacity. SuperNeurons features 3 memory optimizations, Liveness Analysis, Unified Tensor Pool, and Cost-Aware Recomputation; together they effectively reduce the network-wide peak memory usage down to the maximal memory usage among layers. We also address the performance issues in these memory-saving techniques. Given the limited GPU DRAM, SuperNeurons not only provisions the necessary memory for the training, but also dynamically allocates the memory for convolution workspaces to achieve the high performance. Evaluations against Caffe, Torch, MXNet and TensorFlow have demonstrated that SuperNeurons trains at least 3.2432 deeper network than current ones with the leading performance. Particularly, SuperNeurons can train ResNet2500 that has 104 basic network layers on a 12GB K40c.
- Research Organization:
- Pacific Northwest National Laboratory (PNNL), Richland, WA (United States)
- Sponsoring Organization:
- USDOE
- DOE Contract Number:
- AC05-76RL01830
- OSTI ID:
- 1525779
- Report Number(s):
- PNNL-SA-143407
- Country of Publication:
- United States
- Language:
- English
Similar Records
The Case for Co-Designing Model Architectures with Hardware
MARBLE: A Multi-GPU Aware Job Scheduler for Deep Learning on HPC Systems
Performance Profile of Transformer Fine-Tuning in Multi-GPU Cloud Environments
Conference
·
Wed Jul 31 20:00:00 EDT 2024
·
OSTI ID:2434350
MARBLE: A Multi-GPU Aware Job Scheduler for Deep Learning on HPC Systems
Conference
·
Fri May 01 00:00:00 EDT 2020
·
OSTI ID:1649080
Performance Profile of Transformer Fine-Tuning in Multi-GPU Cloud Environments
Conference
·
Tue Nov 30 23:00:00 EST 2021
·
OSTI ID:1883970