arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.01607cs.AR
收藏

MxGLUT:面向混合精度GEMM的可重构LUT中心广播数据流加速器

MxGLUT: A Reconfigurable LUT-Centric Broadcast Dataflow Accelerator for Mixed-Precision GEMM

University of Macau(澳门大学);Guangdong Institute of Intelligence Science and Technology(广东省智能科学技术研究院)

Weiyu Zhou, Chen Ding, Mingyuan Liu, Liangyu Gan, Yukun Feng, Hao Jia, Haoming Chu, Lirong Zheng, Ning Ma, Yuxiang Huan

AI总结:

提出MxGLUT,一种基于可重构LUT中心广播数据流的混合精度GEMM加速器,通过统一LUT计算机制支持FP8-INT4和FP8-FP8,消除独立FP数据路径,在预填充和解码阶段分别实现2.16倍和1.49倍延迟加速,面积和能效显著提升。

摘要:

大语言模型(LLM)推理在预填充和解码阶段面临日益严重的低效问题,尤其是在仅权重量化(激活保持FP8,权重压缩为低位整数)的情况下。现有的基于LUT的加速器主要针对FP8-INT4计算,仍依赖独立的浮点(FP)数据路径处理注意力GEMM操作,导致硬件冗余和非统一的混合精度执行。此外,其静态数据流与不同的预填充和解码阶段匹配不佳。为解决这些挑战,我们提出MxGLUT,一种基于混合精度LUT处理单元(MxLPE)构建的可重构LUT中心广播(RLB)数据流加速器。在统一的基于LUT的执行框架指导下,MxGLUT在单一基于LUT的计算机制下组织FP8-INT4和FP8-FP8 GEMM,无需专用FP乘法器或额外的FP数据路径,并进一步采用RLB数据流,在预填充阶段本地化大量部分和累加,在解码阶段利用权重重用。在UMC 28nm CMOS工艺下综合,工作频率200 MHz,MxGLUT在FP8-INT4和FP8-FP8模式下分别将乘法器面积减少高达56.92%,功耗降低高达77.07%和78.35%。在加速器层面,MxGLUT实现了0.492 TFLOPS/mm²的面积效率和11.58 TFLOPS/W的能效,而添加原生FP8-FP8支持相对于仅FP8-INT4的FIGLUT基线,面积和能效仅分别降低2.57%和3.34%。在Llama系列模型上,MxGLUT在预填充和解码阶段分别实现了高达2.16倍和1.49倍的延迟加速,并将归一化能耗降低至0.44倍和0.71倍,困惑度最多增加1.70%。

英文摘要:

Large language model (LLM) inference suffers from growing inefficiency across the prefill and decode phases, especially under weight-only quantization, where activations remain in FP8 while weights are compressed to low-bit integers. Existing LUT-based accelerators mainly target FP8-INT4 computation and still rely on separate floating-point (FP) datapaths for attention GEMM operations, leading to redundant hardware and non-unified mixed-precision execution. Moreover, their static dataflows are poorly matched to the distinct prefill and decode phases. To address these challenges, we propose MxGLUT, a reconfigurable LUT-centric broadcast (RLB) dataflow accelerator built on mixed-precision LUT-based processing elements (MxLPEs). Guided by a unified LUT-based execution framework, MxGLUT organizes both FP8-INT4 and FP8-FP8 GEMMs under a single LUT-based compute mechanism without dedicated FP multipliers or additional FP datapaths, and further adopts the RLB dataflow that localizes heavy partial-sum accumulation during the prefill phase and exploits weight reuse in the decode phase. Synthesized in UMC $28\,\mathrm{nm}$ CMOS at $200~\mathrm{MHz}$, MxGLUT reduces multiplier area by up to $56.92\%$ and power by up to $77.07\%$ and $78.35\%$ in FP8-INT4 and FP8-FP8 modes, respectively. At the accelerator level, MxGLUT achieves an area efficiency of $0.492~\mathrm{TFLOPS/mm^2}$ and an energy efficiency of $11.58~\mathrm{TFLOPS/W}$, while adding native FP8-FP8 support incurs only $2.57\%$ and $3.34\%$ reductions in area and energy efficiency, respectively, relative to the FP8-INT4-only FIGLUT baseline. Across the Llama family, MxGLUT achieves up to $2.16\times$ and $1.49\times$ latency speedup, and reduces normalized energy to $0.44\times$ and $0.71\times$ in prefill and decode, respectively, with at most $1.70\%$ perplexity increase.

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

↑