Lune

ISCA2026顶会

XtraMAC: An Efficient MAC Architecture for Mixed-Precision LLM Inference on FPGA

Feng Yu, Hongshi Tan, Yao Chen, Weng-Fai Wong, Bingsheng He

摘要

The widespread adoption of mixed-precision quantization in large language models (LLMs) has created demand for hardware that can efficiently perform multiply-accumulate (MAC) operations across mixed datatypes and switch datatypes at runtime. Existing FPGA-based MAC solutions fall short due to limitations in fixed-datatype design, inefficient spatial or temporal resource sharing, and poor support for mixed-precision execution. These limitations collectively lead to under-utilization of DSP resources, limiting achievable parallelism and throughput. In this work, we present XtraMAC, a novel MAC architecture that unifies integer, floating-point, and mixed-precision operations within a single, datatype-adaptive microarchitecture. XtraMAC decomposes all supported MAC formats into a shared integer mantissa product with lightweight sign and exponent handling, enabling dynamic operand packing and efficient DSP resource sharing with constant latency and initiation interval of one across all datatypes. Evaluated on an AMD Xilinx U55c FPGA, XtraMAC achieves 1.4-2.0× higher compute density, reduces per-operation LUT, FF, and DSP consumption by 27-51%, and delivers up to 1.9×\mathbf{1. 9} \times greater energy efficiency and 1.2×\mathbf{1. 2} \times speedup on representative mixed-precision LLM workloads. The implementation of XtraMAC is open-sourced at https://github.com/XtraComputing/XtraMAC.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compression 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • QuIP: 2-Bit Quantization of Large Language Models With Guarantees 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper4

  1. SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language ModelsGuangxuan Xiao, Ji Lin, Mickaël Seznec, Hao Wu 等ICML 2023 · 1,493 次引用
  2. QuIP: 2-Bit Quantization of Large Language Models With GuaranteesJerry Chee, Yaohui Cai, Volodymyr Kuleshov, Christopher De SaNeurIPS 2023 · 503 次引用
  3. SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight CompressionTim Dettmers, Ruslan Svirschevski, Vage Egiazarian, Denis Kuznedelev 等ICLR 2024 · 392 次引用
  4. HiPACK: Efficient Sub-8-Bit Direct Convolution with SIMD and Bitwise ManagementYao Chen, Cheng Gong, Bingsheng HeMICRO 2025 · 2 次引用

相关 Paper

  1. UniCore: A Bit-Width Scalable GEMM Unit for Unified LLM InferenceYonghao Chen, Jiaxiang Zou, Xingyu Chen, Chenxi Xu 等ISCA 2026
  2. Uint-Packing: Multiply Your DNN Accelerator Performance via Unsigned Integer DSP PackingJingwei Zhang, Meng Zhang, Xinye Cao, Guoqing LiDAC 2023 · 9 次引用
  3. MicroMix: Efficient Mixed-Precision Quantization with Microscaling Formats for Large Language ModelsWenyuan Liu, Haoqian Meng, Yilun Luo, Peng Zhang 等ICLR 2026 · 12 次引用
  4. Anda: Unlocking Efficient LLM Inference with a Variable-Length Grouped Activation Data FormatChao Fang, Man Shi, Robin Geens, Arne Symons 等HPCA 2025 · 15 次引用
  5. Energy-Efficient and Dequantization-Free Quantization of LLMs: A Spiking Neural Network Approach to Salient Value MitigationChenyu Wang, Zhanglu Yan, Zhi Zhou, Xu Chen 等WWW 2026
黄昏的海面,两侧是细线勾勒的悬崖