arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.11702cs.ARcs.CVcs.DCcs.ETeess.IV
收藏

Flex-PE:灵活且支持SIMD多精度的处理单元用于AI工作负载

Flex-PE: Flexible and SIMD Multi-Precision Processing Element for AI Workloads

Department of Electrical Engineering, IIT Indore(电子工程系,印度理工学院 indore);NSDCS Research Group(NSDCS研究组)

Mukul Lokhande, Gopal Raut, Santosh Kumar Vishvakarma

AI总结:

本文提出FlexPE,一种灵活且支持SIMD多精度的处理单元,用于提升AI工作负载的性能与能效。

摘要:

数据驱动的AI模型的快速适应,如深度学习推理、训练、视觉Transformer(ViTs)和其他HPC应用,推动了对运行时可配置非线性激活函数(AF)硬件支持的强烈需求。现有解决方案支持多样化的精度或运行时AF可配置性,但未能同时解决这两个问题。本文提出了一种灵活且支持SIMD多精度的处理单元(FlexPE),支持多种运行时可配置的AF,包括Sigmoid、Tanh、ReLU和Softmax,以及MAC运算。所提出的设计在流水线模式下实现了高达16倍FxP4、8倍FxP8、4倍FxP16和1倍FxP32的吞吐量,使用100%时间复用的硬件。本文提出了一种在SIMD脉动数组中具有面积高效多精度迭代模式的设计,用于边缘AI使用案例。该设计在VGG16中实现了高达62倍和371倍的DMA读取减少,能量效率为8.42 GOPS/W,在精度损失2%的范围内。所提出架构支持新兴的4位计算用于DL推理,同时在transformers和其他HPC应用中增强FxP8/16模式的吞吐量。所提出的方法使未来在边缘和云环境中的能源高效AI加速器成为可能。

英文摘要:

The rapid adaptation of data driven AI models, such as deep learning inference, training, Vision Transformers (ViTs), and other HPC applications, drives a strong need for runtime precision configurable different non linear activation functions (AF) hardware support. Existing solutions support diverse precision or runtime AF reconfigurability but fail to address both simultaneously. This work proposes a flexible and SIMD multiprecision processing element (FlexPE), which supports diverse runtime configurable AFs, including sigmoid, tanh, ReLU and softmax, and MAC operation. The proposed design achieves an improved throughput of up to 16X FxP4, 8X FxP8, 4X FxP16 and 1X FxP32 in pipeline mode with 100% time multiplexed hardware. This work proposes an area efficient multiprecision iterative mode in the SIMD systolic arrays for edge AI use cases. The design delivers superior performance with up to 62X and 371X reductions in DMA reads for input feature maps and weight filters in VGG16, with an energy efficiency of 8.42 GOPS / W within the accuracy loss of 2%. The proposed architecture supports emerging 4-bit computations for DL inference while enhancing throughput in FxP8/16 modes for transformers and other HPC applications. The proposed approach enables future energy-efficient AI accelerators in edge and cloud environments.

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

↑