Optimal GPU-CPU Offloading Strategies for Deep Neural Network Training - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2020

Optimal GPU-CPU Offloading Strategies for Deep Neural Network Training

Abstract

Training Deep Neural Networks is known to be an expensive operation, both in terms of computational cost and memory load. Indeed, during training, all intermediate layer outputs (called activations) computed during the forward phase must be stored until the corresponding gradient has been computed in the backward phase. These memory requirements sometimes prevent to consider larger batch sizes and deeper networks, so that they can limit both convergence speed and accuracy. Recent works have proposed to offload some of the computed forward activations from the memory of the GPU to the memory of the CPU. This requires to determine which activations should be offloaded and when these transfers from and to the memory of the GPU should take place. We prove that this problem is NP-hard in the strong sense, and we propose two heuristics based on relaxations of the problem. We perform extensive experimental evaluation on standard Deep Neural Networks. We compare the performance of our heuristics against previous approaches from the literature, showing that they achieve much better performance in a wide variety of situations.
Fichier principal
Vignette du fichier
report.pdf (757.81 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-02316266 , version 1 (15-10-2019)
hal-02316266 , version 2 (21-10-2019)
hal-02316266 , version 3 (21-02-2020)

Identifiers

Cite

Olivier Beaumont, Lionel Eyraud-Dubois, Alena Shilova. Optimal GPU-CPU Offloading Strategies for Deep Neural Network Training. Euro-Par 2020 - 26th International Conference on Parallel and Distributed Computing, Aug 2020, Warsaw / Virtual, Poland. pp.151-166, ⟨10.1007/978-3-030-57675-2_10⟩. ⟨hal-02316266v3⟩

Collections

CNRS INRIA INRIA2
575 View
1036 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More