English

Supporting Very Large Models using Automatic Dataflow Graph Partitioning

Distributed, Parallel, and Cluster Computing 2019-02-22 v2 Machine Learning

Abstract

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 in order to work transparently with a general-purpose deep learning platform like MXNet. In order to automatically partition each operator, we propose to describe the semantics of an operator in a simple language which represents tensors as lambda functions mapping from tensor coordinates to values. 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.

Keywords

Cite

@article{arxiv.1807.08887,
  title  = {Supporting Very Large Models using Automatic Dataflow Graph Partitioning},
  author = {Minjie Wang and Chien-chin Huang and Jinyang Li},
  journal= {arXiv preprint arXiv:1807.08887},
  year   = {2019}
}

Comments

Revision for Eurosys'19

R2 v1 2026-06-23T03:11:51.110Z