PENSA: A Spatial Accelerator for BitNet b1.58 Inference on an HBM-equipped AMD Alveo FPGA
Karthikeyan B. Kalyanasundaram, Ivan S. Maksymov, Philip H. W. Leong
Abstract
Ternary large language models (tLLMs) replace general multiplication in dominant linear layers with sign-controlled accumulation, shifting hardware bottlenecks toward packed-weight delivery, reduction, and operator occupancy. PENSA is an end-to-end FPGA accelerator for the BitNet b1.58 2B4T model on an AMD Alveo U50. Two row-partitioned ternary matrix engines consume packed TQ10 weights from eight independent high-bandwidth memory (HBM) pseudo-channels, each processing 1,280 ternary weights per cycle through sign selection and integer reduction. The sequencer, attention, and vocabulary-projection units remain resident on the FPGA, while two-stream interleaved scheduling overlaps sequences across the persistent pipeline to form the Penta-Unit. At 104.1~MHz, PENSA achieves 58.09 tok/s at context 128 and 24.60 tok/s at context 2048, corresponding to 2.14-3.14× the throughput of a same-model Xeon E-2356G baseline. The resulting system demonstrates end-to-end FPGA execution of 2B-scale BitNet topology without modifying its model structure.
Create a lesson
Related papers
Chimera: A Configurable LLM Decode Accelerator Architecture with Compute-Memory-Floorplan Co-Design for HBM-Equipped Multi-Die FPGAs
Shared title terminology · Zhiheng Chen, Yifan Zhang, Yu-An Chou et al.
Exploring the Potential of Ultra-Low-Bit Inference on LLM Accelerators
Shared title terminology · Hao Wang, Yang Shi, Jiageng Shi et al.
Splice-Core: Low-Order-Bit-Splicing GEMM for Highly Energy-Efficient AI Inference Accelerators
Shared title terminology · Prabhu Vellaisamy, Hsien-Fu Hung, Andrew Kim et al.
Bottom-Up FPGA Reconfigurable Accelerator Overlay Generation
Shared title terminology · Mohamed Bouaziz, Suhaib A. Fahmy
Mutable Inference: Architecting LLM Accelerators for Inference-Time Learning
Shared title terminology · Yimin Gao, Liangtao Dai, Melika Morsali et al.
Efficient VLA Inference via Retrieval-Based Speculation and Hardware Acceleration
Shared title terminology · Zhengyang Cheng, He Zhu, Zeyu Guo et al.