Lune

ASPLOS2020Top-tier venue

SwapAdvisor: Pushing Deep Learning Beyond the GPU Memory Limit via Smart Swapping

Chien-Chin Huang, Gu Jin, Jinyang Li

2020Year
161Citations
55Top-tier citations

Abstract

It is known that deeper and wider neural networks can achieve better accuracy. But it is difficult to continue the trend to increase model size due to limited GPU memory. One promising solution is to support swapping between GPU and CPU memory. However, existing work on swapping only handle certain models and do not achieve satisfactory performance. Deep learning computation is commonly expressed as a dataflow graph which can be analyzed to improve swapping. We propose SwapAdvisor, which performs joint optimization along 3 dimensions based on a given dataflow graph: operator scheduling, memory allocation, and swap decisions. SwapAdvisor explores the vast search space using a custom-designed genetic algorithm. Evaluations using a variety of large models show that SwapAdvisor can train models up to 12 times the GPU memory limit while achieving 53-99% of the throughput of a hypothetical baseline with infinite GPU memory.

Ask about this paper

Ask your agent about it.

Lune has read the top-tier papers around this one, so every answer names the papers it rests on.

Questions to start from

Your agent calls

Lunesearch_papers

Ask in Lune

Free to start. No credit card required.

lune papers get bfdb7f7e-bc24-428a-afcc-801aa1e8b416

Cited by top-tier papers55

Ask how each one uses it

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines