Superneurons: dynamic GPU memory management for training deep neural networks

By Linnan Wang, Jinmian Ye, Yiyang Zhao, Wei Wu, Ang Li, Shuaiwen Leon Song, Zenglin Xu, Tim Kraska. 2018

294 citations recorded by the source corpus.

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 desired 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.

Subfields: Statistical and Nonlinear Physics, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Statistical and Nonlinear Physics

  1. Percy Liang
  2. Medhi Bennis
  3. Ce Zhang
  4. Christopher R'e
  5. Lianmin Zheng
  6. Sumudu Samarakoon
  7. Ion Stoica
  8. Ping Luo

In Efficiency & Compression

  1. Yuxiong He
  2. Samyam Rajbhandari
  3. Ion Stoica
  4. Reza Yazdani Aminabadi
  5. Minjia Zhang
  6. Jeff Rasley
  7. Olatunji Ruwase
  8. Zhuohan Li

Citations in the corpus