← 研踪 PaperTrailarXiv:2611.27323 · v1
Cruella: A Unified Microscaling and Floating-Point Dot-Product Unit for LLM Inference on FPGAs
首次提交 2026-11-20 17:04
版本更新 2026-11-20 17:04
雷达观测 2026-11-23 14:16
摘要
The number formats that accelerators execute natively are fixed at fabrication, yet large language model (LLM) checkpoints are released with MXFP4 weights in the Microscaling (MX) formats standardized in 2023. FPGAs adopt new formats through bitstreams. However, to the best of our knowledge, no deployed FPGA LLM accelerator executes MXFP4 weights alongside BF16 products. We characterize the decoding of MXFP4 checkpoints, whose layers alternate between MXFP4BF16 products and BF16BF16 products of attention and BF16 layers. With a BF16 KV cache, BF16BF16 products take 56%-77% of the datapath time, during which a separate MXFP4 unit idles. We present Cruella, whose unified dot-product unit (UDPU) executes both product types on one DSP array and reduction pipeline. First, per-group pre-alignment keeps this pipeline at the BF16 width and changes perplexity by at most 0.7%. Second, pre-adder packing places two signed MXFP4BF16 products in one DSP48E2 multiplier with an exact correction. On an Alveo U55C, the UDPU needs 23% fewer DSP slices and 36% fewer LUTs than separate MXFP4 and BF16 units of equal throughput. On this board, MXFP4 weights speed up decoding by 1.15-1.87 over BF16 weights, and an NVIDIA A40 GPU decodes faster but spends 0.92-2.01 the board's energy per token.
作者备注:32 pages, 13 figures, 7 tables
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-11-20 17:04 · 最新观测版本
Cruella: A Unified Microscaling and Floating-Point Dot-Product Unit for LLM Inference on FPGAs
The number formats that accelerators execute natively are fixed at fabrication, yet large language model (LLM) checkpoints are released with MXFP4 weights in the Microscaling (MX) formats standardized in 2023. FPGAs adopt new formats through bitstreams. However, to the best of our knowledge, no deployed FPGA LLM accelerator executes MXFP4 weights alongside BF16 products. We characterize the decoding of MXFP4 checkpoints, whose layers alternate between MXFP4BF16 products and BF16BF16 products of attention and BF16 layers. With a BF16 KV cache, BF16BF16 products take 56%-77% of the datapath time, during which a separate MXFP4 unit idles. We present Cruella, whose unified dot-product unit (UDPU) executes both product types on one DSP array and reduction pipeline. First, per-group pre-alignment keeps this pipeline at the BF16 width and changes perplexity by at most 0.7%. Second, pre-adder packing places two signed MXFP4BF16 products in one DSP48E2 multiplier with an exact correction. On an Alveo U55C, the UDPU needs 23% fewer DSP slices and 36% fewer LUTs than separate MXFP4 and BF16 units of equal throughput. On this board, MXFP4 weights speed up decoding by 1.15-1.87 over BF16 weights, and an NVIDIA A40 GPU decodes faster but spends 0.92-2.01 the board's energy per token.
查看此版本解读 →查看此版本原文 ↗