arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.01532cs.DC
收藏

支持多GPU DNN训练的工作负载感知的自动并行化

Workload-aware Automatic Parallelization for Multi-GPU DNN Training

Sungho Shin, Youngmin Jo, Jungwook Choi, Swagath Venkataramani, Vijayalakshmi Srinivasan, Wonyong Sung

摘要:

深度神经网络(DNN)已经成为各种人工智能应用的成功解决方案,但其非常大且深度的模型在训练期间对计算要求很高。多GPU并行化是DNN训练中加速高要求计算的一种流行选择,但大多数最先进的多GPU深度学习框架不仅要求用户深入了解框架本身的实现,而且还要求用户在不优化GPU利用率的情况下直接应用并行化。在这项工作中,我们提出了一个用于DNN训练的工作负载感知自动并行化框架(WAP),其中工作根据工作负载特性自动分配到多个GPU。我们使用流行的DNN基准测试(AlexNet和VGG-16)使用TensorFlow评估WAP,并与最先进的框架相比显示出具有竞争力的训练吞吐量,并证明WAP可以根据工作负载的计算要求自动优化GPU分配,从而提高能源效率。

英文摘要:

Deep neural networks (DNNs) have emerged as successful solutions for variety of artificial intelligence applications, but their very large and deep models impose high computational requirements during training. Multi-GPU parallelization is a popular option to accelerate demanding computations in DNN training, but most state-of-the-art multi-GPU deep learning frameworks not only require users to have an in-depth understanding of the implementation of the frameworks themselves, but also apply parallelization in a straight-forward way without optimizing GPU utilization. In this work, we propose a workload-aware auto-parallelization framework (WAP) for DNN training, where the work is automatically distributed to multiple GPUs based on the workload characteristics. We evaluate WAP using TensorFlow with popular DNN benchmarks (AlexNet and VGG-16), and show competitive training throughput compared with the state-of-the-art frameworks, and also demonstrate that WAP automatically optimizes GPU assignment based on the workload's compute requirements, thereby improving energy efficiency.

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

↑