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

基于T10在核间互连智能处理器上扩展深度学习计算

Scaling Deep Learning Computation over the Inter-Core Connected Intelligence Processor with T10

Microsoft Research(微软研究院)

Yiqi Liu, Yuqi Xue, Yu Cheng, Lingxiao Ma, Ziming Miao, Jilong Xue, Jian Huang

AI总结:

提出首个DL编译器T10,通过引入分布式张量抽象rTensor和广义计算-移位模式,优化AI芯片核间通信与片上存储,在Graphcore IPU上实现最高3.3倍性能提升及更大模型支持。

摘要:

随着AI芯片集成大量并行核心以扩展深度学习(DL)计算,近期通过在芯片上采用高带宽和低延迟的互连链路(例如Graphcore IPU)实现了核间通信。这使得每个核心能够直接访问其他核心中的快速暂存存储器,从而实现了新的并行计算范式。然而,由于当前的DL编译器缺乏对可扩展核间连接的适当支持,开发者很难利用这种新架构的优势。我们提出了T10,这是首个利用AI芯片上核间通信带宽和分布式片上存储的DL编译器。为了在此新架构中形式化张量算子的计算和通信模式,T10引入了分布式张量抽象rTensor。T10通过将DNN计算划分为子算子并将其映射到核心,使得核心能够按照可预测的模式交换数据,从而将DNN模型映射为具有广义计算-移位模式的执行计划。T10在片上存储消耗和核间通信开销之间进行全局优化的权衡,从庞大的优化空间中选择最佳执行计划,并减少不必要的核间通信。我们在真实的核间互连AI芯片Graphcore IPU上的评估表明,与最先进的DL编译器和厂商库相比,性能提升了高达3.3倍,并支持更大模型的可扩展性。

英文摘要:

As AI chips incorporate numerous parallelized cores to scale deep learning (DL) computing, inter-core communication is enabled recently by employing high-bandwidth and low-latency interconnect links on the chip (e.g., Graphcore IPU). It allows each core to directly access the fast scratchpad memory in other cores, which enables new parallel computing paradigms. However, without proper support for the scalable inter-core connections in current DL compilers, it is hard for developers to exploit the benefits of this new architecture. We present T10, the first DL compiler to exploit the inter-core communication bandwidth and distributed on-chip memory on AI chips. To formulate the computation and communication patterns of tensor operators in this new architecture, T10 introduces a distributed tensor abstraction rTensor. T10 maps a DNN model to execution plans with a generalized compute-shift pattern, by partitioning DNN computation into sub-operators and mapping them to cores, so that the cores can exchange data following predictable patterns. T10 makes globally optimized trade-offs between on-chip memory consumption and inter-core communication overhead, selects the best execution plan from a vast optimization space, and alleviates unnecessary inter-core communications. Our evaluation with a real inter-core connected AI chip, the Graphcore IPU, shows up to 3.3$\times$ performance improvement, and scalability support for larger models, compared to state-of-the-art DL compilers and vendor libraries.

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

↑