SOL:减少将硬件支持集成到AI框架中的维护开销
SOL: Reducing the Maintenance Overhead for Integrating Hardware Support into AI Frameworks
摘要:
对人工智能(AI)的兴趣增加,需要高度优化和复杂的AI框架。从基于Lua的Torch开始,随着时间的推移,出现了许多框架,如Theano,Caffe,Chainer,CNTK,MxNet,PyTorch,DL4J或TensorFlow。所有这些都提供了一个高级脚本API,允许用户轻松设计神经网络并在各种硬件上运行这些网络。用户通常看不到的是,这些框架为提供峰值执行性能而付出的巨大努力。虽然主流CPU和GPU在开源社区中拥有广泛的用户群,但主流CPU,GPU或加速器供应商需要投入大量精力来获得这些框架支持的硬件。这不仅包括开发CUDNN、OneDNN或VEDNN等高效计算库,还包括支持越来越多的简单计算操作,如求和和乘法。如今,这些框架中的每一个都支持数百种独特的操作,具有各种大小,形状和数据类型的张量,最终在每个设备类型所需的数千个计算内核中结束。手术的数量不断增加。这就是为什么NEC实验室欧洲几年前就开始开发SOL AI优化项目,为用户提供最佳性能,同时保持最小的维护负担。
英文摘要:
The increased interest in Artificial Intelligence (AI) raised the need for highly optimized and sophisticated AI frameworks. Starting with the Lua-based Torch many frameworks have emerged over time, such as Theano, Caffe, Chainer, CNTK, MxNet, PyTorch, DL4J, or TensorFlow. All of these provide a high level scripting API that allows users to easily design neural networks and run these on various kinds of hardware. What the user usually does not see is the high effort put into these frameworks to provide peak execution performance. While mainstream CPUs and GPUs have the "luxury" to have a wide spread user base in the open source community, less mainstream CPU, GPU or accelerator vendors need to put in a high effort to get their hardware supported by these frameworks. This includes not only the development of highly efficient compute libraries such as CUDNN, OneDNN or VEDNN but also supporting an ever growing number of simpler compute operations such as summation and multiplications. Each of these frameworks, nowadays, supports several hundred of unique operations, with tensors of various sizes, shapes and data types, which end up in thousands of compute kernels required for each device type. And the number of operations keeps increasing. That is why NEC Laboratories Europe started developing the SOL AI Optimization project already years ago, to deliver optimal performance to users while keeping the maintenance burden minimal.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。