arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.13676cs.ARcs.LG
收藏

T-SAR:通过原位SIMD ALU重组实现纯CPU三元LLM推理的全栈协同设计

T-SAR: A Full-Stack Co-design for CPU-Only Ternary LLM Inference via In-Place SIMD ALU Reorganization

Hyunwoo Oh, KyungIn Nam, Rajat Bhattacharjya, Hanning Chen, Tamoghno Das, Sanggeon Yun, Suyeon Jang, Andrew Ding, Nikil Dutt, Mohsen Imani

AI总结:

针对边缘CPU平台部署大型语言模型(LLMs)的计算与内存瓶颈,提出T-SAR框架,通过原位SIMD ALU重组实现纯CPU三元LLM推理,提升能效与可扩展性。

摘要:

大型语言模型(LLMs)的最新进展已超过主要采用CPU的边缘平台的计算和内存容量,给高效且可扩展的部署带来挑战。虽然三元量化能显著节省资源,但现有CPU方案严重依赖基于内存的查找表(LUTs),限制了可扩展性,而FPGA或GPU加速器对边缘使用仍不切实际。本文提出T-SAR,这是首个通过重新利用SIMD寄存器文件进行动态、寄存器内LUT生成(仅需最小硬件修改),在CPU上实现可扩展三元LLM推理的框架。T-SAR消除了内存瓶颈并最大化数据级并行性,在GEMM延迟和GEMV吞吐量上分别实现5.6-24.5倍和1.1-86.2倍的提升,SIMD单元仅增加3.2%的功耗和1.4%的面积开销。T-SAR的能效高达NVIDIA Jetson AGX Orin的2.5-4.9倍,为边缘平台的高效LLM推理建立了实用方法。

英文摘要:

Recent advances in LLMs have outpaced the computational and memory capacities of edge platforms that primarily employ CPUs, thereby challenging efficient and scalable deployment. While ternary quantization enables significant resource savings, existing CPU solutions rely heavily on memory-based lookup tables (LUTs) which limit scalability, and FPGA or GPU accelerators remain impractical for edge use. This paper presents T-SAR, the first framework to achieve scalable ternary LLM inference on CPUs by repurposing the SIMD register file for dynamic, in-register LUT generation with minimal hardware modifications. T-SAR eliminates memory bottlenecks and maximizes data-level parallelism, delivering 5.6-24.5x and 1.1-86.2x improvements in GEMM latency and GEMV throughput, respectively, with only 3.2% power and 1.4% area overheads in SIMD units. T-SAR achieves up to 2.5-4.9x the energy efficiency of an NVIDIA Jetson AGX Orin, establishing a practical approach for efficient LLM inference on edge platforms.

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

↑