MaxEVA:最大化 Versal AI Engine 上矩阵乘法的效率
MaxEVA: Maximizing the Efficiency of Matrix Multiplication on Versal AI Engine
AI总结:
提出MaxEVA框架,通过利用Versal AIE架构特性并多角度解决性能瓶颈,高效映射矩阵乘法,实现高达5.44 TFLOPs(fp32)和77.01 TOPs(int8)吞吐量,能效最高124.16 GFLOPs/W,较最先进方法吞吐量提升2.19倍。
摘要:
深度学习(DL)工作负载日益增长的计算和内存需求推动了硬件架构的卓越创新。此类架构的一个典型代表是 AMD/Xilinx 推出的新型 Versal AI Engine(AIE)。AIE 包含多个针对基于向量的算法优化的可编程处理器。一个由 400 个处理器核心组成的 AIE 阵列,以 1.25 GHz 的频率运行,能够为 32 位浮点(fp32)精度提供 8 TFLOPs 的峰值吞吐量,为 8 位整数(int8)精度提供 128 TOPs 的峰值吞吐量。在这项工作中,我们提出了 MaxEVA:一种新颖的框架,用于在 Versal AIE 设备上高效映射矩阵乘法(MatMul)工作负载。我们的框架通过有效利用 AIE 架构的特性并从多个角度解决性能瓶颈,最大化 MatMul 应用的性能和能效。在 VCK190 板卡的 VC1902 器件上进行演示时,MaxEVA 分别实现了高达 5.44 TFLOPs 和 77.01 TOPs 的 fp32 和 int8 精度吞吐量。在能效方面,MaxEVA 在 fp32 精度下达到了高达 124.16 GFLOPs/W,在 int8 精度下达到了 1.16 TOPs/W。我们提出的方法显著优于最先进的方法,吞吐量提升高达 2.19 倍,能效提高 20.4%。MaxEVA 框架提供了重要的见解,填补了在新的 Versal AIE 设备上有效设计基于 MatMul 的深度学习工作负载的知识空白。
英文摘要:
The increasing computational and memory requirements of Deep Learning (DL) workloads has led to outstanding innovations in hardware architectures. An archetype of such architectures is the novel Versal AI Engine (AIE) by AMD/Xilinx. The AIE comprises multiple programmable processors optimized for vector-based algorithms. An AIE array consisting of 400 processor cores, operating at 1.25 GHz is able to deliver a peak throughput of 8 TFLOPs for 32-bit floating-point (fp32), and 128 TOPs for 8-bit integer (int8) precision. In this work, we propose MaxEVA: a novel framework to efficiently map Matrix Multiplication (MatMul) workloads on Versal AIE devices. Our framework maximizes the performance and energy efficiency of MatMul applications by efficiently exploiting features of the AIE architecture and resolving performance bottlenecks from multiple angles. When demonstrating on the VC1902 device of the VCK190 board, MaxEVA accomplishes up to 5.44 TFLOPs and 77.01 TOPs throughput for fp32 and int8 precisions, respectively. In terms of energy efficiency, MaxEVA attains up to 124.16 GFLOPs/W for fp32, and 1.16 TOPs/W for int8. Our proposed method substantially outperforms the state-of-the-art approach by exhibiting up to 2.19x throughput gain and 20.4% higher energy efficiency. The MaxEVA framework provides notable insights to fill the knowledge gap in effectively designing MatMul-based DL workloads on the new Versal AIE devices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。