使用图编辑器和容器优化AI培训部署
Optimising AI Training Deployments using Graph Compilers and Containers
摘要:
基于深度神经网络(DNN)或深度学习(DL)的人工智能(AI)应用程序已经变得流行,因为它们成功地解决了图像分析和语音识别等问题。训练DNN是计算密集型的,高性能计算(HPC)一直是AI增长的关键驱动力。虚拟化和容器技术导致了云和HPC基础设施的融合。这些具有不同硬件的基础设施增加了部署和优化人工智能培训工作负载的复杂性。HPC或云中的AI培训部署可以通过特定于目标的库、图形编译器以及通过改进数据移动或IO来优化。图形编译器旨在通过为目标硬件/后端生成优化代码来优化DNN图形的执行。作为SODALITE(Horizon 2020项目)的一部分,MODAK工具的开发旨在优化软件定义基础设施中的应用程序部署。使用数据科学家的输入和性能建模,MODAK将最佳应用程序参数映射到目标基础设施,并构建优化的容器。在本文中,我们介绍MODAK和审查容器技术和图形编译器的AI。我们使用图形编译器和Singularity容器来说明人工智能培训部署的优化。使用MNIST-CNN和ResNet 50训练工作负载进行的评估表明,定制优化的容器优于DockerHub的官方图像。我们还发现,图形编译器的性能取决于目标硬件和神经网络的复杂性。
英文摘要:
Artificial Intelligence (AI) applications based on Deep Neural Networks (DNN) or Deep Learning (DL) have become popular due to their success in solving problems likeimage analysis and speech recognition. Training a DNN is computationally intensive and High Performance Computing(HPC) has been a key driver in AI growth. Virtualisation and container technology have led to the convergence of cloud and HPC infrastructure. These infrastructures with diverse hardware increase the complexity of deploying and optimising AI training workloads. AI training deployments in HPC or cloud can be optimised with target-specific libraries, graph compilers, andby improving data movement or IO. Graph compilers aim to optimise the execution of a DNN graph by generating an optimised code for a target hardware/backend. As part of SODALITE (a Horizon 2020 project), MODAK tool is developed to optimise application deployment in software defined infrastructures. Using input from the data scientist and performance modelling, MODAK maps optimal application parameters to a target infrastructure and builds an optimised container. In this paper, we introduce MODAK and review container technologies and graph compilers for AI. We illustrate optimisation of AI training deployments using graph compilers and Singularity containers. Evaluation using MNIST-CNN and ResNet50 training workloads shows that custom built optimised containers outperform the official images from DockerHub. We also found that the performance of graph compilers depends on the target hardware and the complexity of the neural network.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。