arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.08168cs.DCcs.LG
收藏

具有编译器和硬件支持的深度神经网络的自动模型并行

Automatic Model Parallelism for Deep Neural Networks with Compiler and Hardware Support

Intel Labs(英特尔实验室)

Sanket Tavarageri, Srinivas Sridharan, Bharat Kaul

摘要:

深度神经网络(DNN)在迄今为止只有人类才能完成的任务(如图像识别和语言翻译)中取得了巨大成功。由于它们的成功,DNN正在被探索用于越来越复杂的任务。DNN为复杂任务扩展的方法之一是增加其规模-更深更宽的网络可以很好地模拟额外的复杂性。在多个计算设备(诸如多GPU和多节点系统)上使用模型并行来训练这样的大型模型。在本文中,我们开发了一个编译器驱动的方法来实现模型并行。我们模拟的计算和通信成本的一个体现神经网络的训练过程,然后,分区图使用的方式,计算设备之间的通信是最小的,我们有一个很好的负载平衡。硬件调度助手的建议,以协助编译器在运行时的工作分配微调。

英文摘要:

The deep neural networks (DNNs) have been enormously successful in tasks that were hitherto in the human-only realm such as image recognition, and language translation. Owing to their success the DNNs are being explored for use in ever more sophisticated tasks. One of the ways that the DNNs are made to scale for the complex undertakings is by increasing their size -- deeper and wider networks can model well the additional complexity. Such large models are trained using model parallelism on multiple compute devices such as multi-GPUs and multi-node systems. In this paper, we develop a compiler-driven approach to achieve model parallelism. We model the computation and communication costs of a dataflow graph that embodies the neural network training process and then, partition the graph using heuristics in such a manner that the communication between compute devices is minimal and we have a good load balance. The hardware scheduling assistants are proposed to assist the compiler in fine tuning the distribution of work at runtime.

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

↑