VitaLLM:一种多功能、超紧凑的三进制大语言模型加速器及其依赖感知调度
VitaLLM: A Versatile, Ultra-Compact Ternary LLM Accelerator with Dependency-Aware Scheduling
AI总结:
本文提出VitaLLM,一种针对三进制大语言模型推理的高效加速器,通过双核计算策略和依赖感知调度框架,实现高吞吐量和低功耗。
摘要:
在资源受限的边缘设备上部署大型语言模型(LLMs)面临内存带宽和功耗的关键瓶颈。尽管三进制量化(如BitNet b1.58)显著减小了模型大小,但其在通用硬件上的直接部署受到工作负载不平衡、带宽受限的解码和严格的数据依赖的阻碍。为此,我们提出了VitaLLM,一种专为高效三进制LLM推理设计的硬件软件协同加速器。我们引入了一种异构的双核计算策略,该策略协同专用TINT-Cores进行大规模三进制投影,以及统一的BoothFlex-Core进行混合精度注意力计算,确保在计算受限的prefill和带宽受限的decode阶段均能实现高利用率。此外,我们开发了Leading One Prediction(LOP)机制以剪枝冗余的键值(KV)缓存获取,并开发了依赖感知调度框架以隐藏非线性操作的延迟。在TSMC 16nm工艺下实现,VitaLLM在0.223 mm²的超紧凑面积内实现了70.70 tokens/s的解码吞吐量,功耗为65.97 mW。该设计提供了17.4 TOPS/mm²/W的优越Figure of Merit(FOM),显著优于现有最先进的加速器。最后,我们探索了扩展的位串行设计(BoothFlex-BS)以展示架构对精度灵活推理的适应性。
英文摘要:
Deploying Large Language Models (LLMs) on resource-constrained edge devices faces critical bottlenecks in memory bandwidth and power consumption. While ternary quantization (e.g., BitNet b1.58) significantly reduces model size, its direct deployment on general-purpose hardware is hindered by workload imbalance, bandwidth-bound decoding, and strict data dependencies. To address these challenges, we propose \textbf{VitaLLM}, a hardware-software co-designed accelerator tailored for efficient ternary LLM inference. We introduce a heterogeneous \textbf{Dual-Core Compute Strategy} that synergizes specialized TINT-Cores for massive ternary projections with a unified BoothFlex-Core for mixed-precision attention, ensuring high utilization across both compute-bound prefill and bandwidth-bound decode stages. Furthermore, we develop a \textbf{Leading One Prediction (LOP)} mechanism to prune redundant Key-Value (KV) cache fetches and a \textbf{Dependency-Aware Scheduling} framework to hide the latency of nonlinear operations. Implemented in TSMC 16nm technology, VitaLLM achieves a decoding throughput of 70.70 tokens/s within an ultra-compact area of 0.223 mm$^2$ and a power consumption of 65.97 mW. The design delivers a superior Figure of Merit (FOM) of 17.4 TOPS/mm$^2$/W, significantly outperforming state-of-the-art accelerators. Finally, we explore an extended bit-serial design (BoothFlex-BS) to demonstrate the architecture's adaptability for precision-agile inference.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。