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

NVLLM:一种以3D NAND为中心的架构, enabling 边缘设备上的LLM推理

NVLLM: A 3D NAND-Centric Architecture Enabling Edge on-Device LLM Inference

School of Integrated Circuits, Southeast University(东南大学集成电路学院)

Mingbo Hao, Changwei Yan, Haoyu Cui, Zhihao Yan, Yizhi Ding, Zhangrui Qian, Weiwei Shan

AI总结:

NVLLM通过将前馈网络计算移至Flash并利用轻量CMOS逻辑执行注意力,实现边缘设备上的高效LLM推理,其在参数规模达30B的模型上实现了显著的加速。

摘要:

随着LLM的快速增长,对资源受限边缘设备上的高吞吐量、高内存容量的推理需求日益增加,其中单批次解码仍受限于内存。现有的基于GPU和SSD-like的加速器受限于DRAM绑定的权重移动和不高效的存储访问粒度。我们提出了NVLLM,一种以3D NAND为中心的推理架构,将前馈网络(FFN)计算移至Flash,同时在轻量CMOS逻辑上执行注意力。通过晶圆到晶圆堆叠,NVLLM紧密集成了多平面3D NAND与计算管线、错误校正码(ECC)单元和缓冲器,实现页面级FFN权重访问而无需DRAM遍历。所有GEMM/GEMV操作都被分解为点积原语,由非顺序PE通道执行,直接在原始NAND读取上操作。注意力权重仍保留在DRAM中,一个KV缓存感知的调度器在上下文长度增长时维持吞吐量。在OPT和LLaMA模型(最多30B参数)上评估,NVLLM在基于A800的离线推理中实现了16.7×-37.9×的加速,在SSD-like设计中实现了高达4.7×的加速,仅需2.7%的CMOS面积开销。

英文摘要:

The rapid growth of LLMs demands high-throughput, memory-capacity-intensive inference on resource-constrained edge devices, where single-batch decoding remains fundamentally memory-bound. Existing out-of-core GPU-based and SSD-like accelerators are limited by DRAM-bound weight movement and inefficient storage access granularity. We present NVLLM, a 3D NAND-centric inference architecture that offloads feed-forward network (FFN) computation into the Flash while executing attention on lightweight CMOS logic with external DRAM. Through wafer-to-wafer stacking, NVLLM tightly integrates multi-plane 3D NAND with compute pipelines, error correction code (ECC) units, and buffers, enabling page-level FFN weight access without DRAM traversal. All GEMM/GEMV operations are decomposed into dot-product primitives executed by out-of-order PE lanes, operating directly on raw NAND reads with integrated ECC. Attention weights remain in DRAM, and a KV-cache-aware scheduler sustains throughput as the context length grows. Evaluated on OPT and LLaMA models with up to 30B parameters, NVLLM achieves a 16.7$\times$--37.9$\times$ speedup over A800-based out-of-core inference and up to 4.7$\times$ speedup over SSD-like designs, with only 2.7\% CMOS area overhead.

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

↑