Supporting Very Large Models using Automatic Dataflow Graph Partitioning
Minjie Wang, Chien-Chin Huang, Jinyang Li · 2019
This paper presents Tofu, a system that partitions very large DNN models across multiple GPU devices to reduce per-GPU memory footprint. Tofu is designed to partition a dataflow graph of fine-grained tensor operators used by platforms like MXNet and TensorFlow. In order to automatically partition each operator, we propose to describe the semantics of an operator in a simple language inspired by Halide. To optimally partition different operators in a dataflow graph, Tofu uses a recursive search algorithm that minimizes the total communication cost. Our experiments on an 8-GPU machine show that Tofu enables the training of very large CNN and RNN models. It also achieves 25% - 400% speedup over alternative approaches to train very large models.
Cited by 141 works. doi:10.1145/3302424.3303953 Open-access PDF
Authors
References
- Deep Residual Learning for Image Recognition
- Long Short-Term Memory
- Adam: A Method for Stochastic Optimization
- AutoResearch Lite: a reproducible paper-inspired experiment runner (Adam mechanism reproduction and convergence-speed comparison)
- MapReduce
- Large Scale Distributed Deep Networks
- Sequence to Sequence Learning with Neural Networks
- Adaptive Subgradient Methods for Online Learning and Stochastic Optimization
- Graph Theory with Applications
- TensorFlow: A system for large-scale machine learning