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

VitaLLM:一种 versatile 且 tiny 的混合精度 LLM 推理边缘设备加速器

VitaLLM: A Versatile and Tiny Accelerator for Mixed-Precision LLM Inference on Edge Devices

Institute of Electronics, National Yang Ming Chiao Tung University(国立阳明交通大学电子研究所)

Zi-Wei Lin, Tian-Sheuan Chang

AI总结:

VitaLLM 通过 ternary 权重模型和高效计算核心,实现边缘设备上的高效混合精度 LLM 推理,减少 KV 通信并提升利用效率。

摘要:

我们提出了 VitaLLM,一种混合精度加速器,使三元整数权重大语言模型能够高效运行于边缘设备。设计结合了两个计算核心:一个无乘法器 TINT 核用于三元-INT 投影,以及一个 BoothFlex 核,利用 radix-4 Booth 数据路径同时处理 INT8×INT8 注意力和三元-INT 持续利用,无需复制数组。预测稀疏注意力机制采用领先一 (LO) 替代理数和无比较 top-K 选择器,通过约 1-K/M 来修剪键/值 (KV) 获取,限制精确注意力到 K 候选。系统级集成使用头级流水线和基于 absmax 的量化屏障来标准化跨核心接口,并重叠非线性减少与线性瓷砖。16 nm 硅原型在 1 GHz/0.8 V 下实现 72.46 tokens/s 解码和 0.88 s 预填 (64 tokens) ,在 0.214 mm² 和 120 KB on-chip 内存中,同时减少 KV 通信并提升利用效率。这些结果展示了在边缘类平台上实用的 BitNet b1.58 (3B) 推理,并为未来的混合精度 LLM 加速器提供了紧凑的蓝图。

英文摘要:

We present VitaLLM, a mixed precision accelerator that enables ternary weight large language models to run efficiently on edge devices. The design combines two compute cores, a multiplier free TINT core for ternary-INT projections and a BoothFlex core that reuses a radix-4 Booth datapath for both INT8$\times$INT8 attention and ternary-INT-sustaining utilization without duplicating arrays. A predictive sparse attention mechanism employs a leading-one (LO) surrogate with a comparison-free top-$K$ selector to prune key/value (KV) fetches by roughly $1-K/M$ for $M$ cached tokens, confining exact attention to $K$ candidates. System-level integration uses head-level pipelining and an absmax-based quantization barrier to standardize cross-core interfaces and overlap nonlinear reductions with linear tiles. A 16 nm silicon prototype at 1 GHz/0.8 V achieves 72.46 tokens/s in decode and 0.88 s prefill (64 tokens) within 0.214 mm^2 and 120 KB on-chip memory, while reducing KV traffic and improving utilization in ablations. These results demonstrate practical BitNet b1.58 (3B) inference on edge-class platforms and provide a compact blueprint for future mixed-precision LLM accelerators.

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

↑