arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2008.08636cs.DC
收藏

一种用于训练内存受限DNN的计算图划分方法

A Computational-Graph Partitioning Method for Training Memory-Constrained DNNs

Fareed Qararyah, Mohamed Wahib, Doğa Dikbayır, Mehmet Esat Belviranli, Didem Unat

摘要:

许多最先进的深度神经网络(DNN)具有大量的内存需求。有限的设备内存成为训练这些模型时的瓶颈。我们提出了ParDNN,一个自动的,通用的,非侵入性的分区策略DNN表示为计算图。ParDNN决定DNN的底层计算图操作在多个设备上的放置,以便满足设备的内存约束并最小化训练时间。ParDNN完全独立于DNN的深度学习方面。它既不需要修改模型,也不需要修改其操作内核的系统级实现。ParDNN在几秒到几分钟内对具有数十亿个参数和数十万个操作的DNN进行分区。我们在16个GPU上使用TensorFlow进行的实验证明了5个非常大的模型的有效训练,同时实现了批量大小和训练吞吐量的超线性扩展。ParDNN的性能优于或在质量上改进了相关工作。

英文摘要:

Many state-of-the-art Deep Neural Networks (DNNs) have substantial memory requirements. Limited device memory becomes a bottleneck when training those models. We propose ParDNN, an automatic, generic, and non-intrusive partitioning strategy for DNNs that are represented as computational graphs. ParDNN decides a placement of DNN's underlying computational graph operations across multiple devices so that the devices' memory constraints are met and the training time is minimized. ParDNN is completely independent of the deep learning aspects of a DNN. It requires no modification neither at the model nor at the systems level implementation of its operation kernels. ParDNN partitions DNNs having billions of parameters and hundreds of thousands of operations in seconds to few minutes. Our experiments with TensorFlow on 16 GPUs demonstrate efficient training of 5 very large models while achieving superlinear scaling for both the batch size and training throughput. ParDNN either outperforms or qualitatively improves upon the related work.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑