跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.17108 · v1

LazyWeights: Decode-on-Demand Edge LLMs

LazyWeights:按需解码的边缘大语言模型

首次提交 2026-11-13 01:03
版本更新 2026-11-13 01:03
雷达观测 2026-11-13 14:15
arXiv ↗PDF ↗

摘要

Memory decides which LLMs an edge device runs, and how fast: capacity on a 44 GB Jetson Nano, bandwidth on an 88 GB Jetson Orin Nano Super. Deployed formats (GPTQ, AWQ, llama.cpp\texttt{llama.cpp}'s K- and I-quants) spend equal bits on every integer code of a matrix, although the codes are far from uniform. LazyWeights\texttt{LazyWeights} keeps these formats but tunes GPTQ so the codes compress, Huffman-codes them losslessly in interleaved lanes, and decodes them on demand in a small unit between DRAM and L2, so GPU kernels run unchanged and DRAM moves only coded bytes. At 1%1\% and 3.5%3.5\% perplexity budgets, coded Phi-3-mini, Mistral-7B and SmolLM-1.7B are 5.7−31.4%5.7-31.4\% smaller than the best llama.cpp\texttt{llama.cpp} format. A bit-exact 0.210.21 mm2^2 ASIC decoder unit (11 GHz, 77 nm) cuts Orin latency and energy per token by up to 36%36\% and 38%38\% (54%54\% and 44%44\% with prompt-lookup speculation). On the Nano, LazyWeights\texttt{LazyWeights} needs 58−64%58-64\% less time and 53−57%53-57\% less energy per token than CPU llama.cpp\texttt{llama.cpp}, and runs a streamed Mistral-7B 6.6×\times faster at 3.893.89 bits per weight. A Huffman decoder beats an rANS decoder in rate and area at equal throughput; the ASIC decoder unit runs bit-exact on a Zynq UltraScale+ FPGA (AMD ZCU102).

作者备注:6 pages, 1 reference page, 5 figures

AI 论文解读

基于摘要 · 非全文审阅

LazyWeights 保留 GPTQ、AWQ、llama.cpp 等现有量化格式,通过调整 GPTQ 使整数码可压缩、用 Huffman 编码在交织通道中无损压缩,并在 DRAM 与 L2 之间按需解码,从而降低边缘设备上的模型体积与访存开销。

正在读取账号与研究记录…

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-13 01:03 · 最新观测版本

LazyWeights: Decode-on-Demand Edge LLMs

Memory decides which LLMs an edge device runs, and how fast: capacity on a 44 GB Jetson Nano, bandwidth on an 88 GB Jetson Orin Nano Super. Deployed formats (GPTQ, AWQ, llama.cpp\texttt{llama.cpp}'s K- and I-quants) spend equal bits on every integer code of a matrix, although the codes are far from uniform. LazyWeights\texttt{LazyWeights} keeps these formats but tunes GPTQ so the codes compress, Huffman-codes them losslessly in interleaved lanes, and decodes them on demand in a small unit between DRAM and L2, so GPU kernels run unchanged and DRAM moves only coded bytes. At 1%1\% and 3.5%3.5\% perplexity budgets, coded Phi-3-mini, Mistral-7B and SmolLM-1.7B are 5.7−31.4%5.7-31.4\% smaller than the best llama.cpp\texttt{llama.cpp} format. A bit-exact 0.210.21 mm2^2 ASIC decoder unit (11 GHz, 77 nm) cuts Orin latency and energy per token by up to 36%36\% and 38%38\% (54%54\% and 44%44\% with prompt-lookup speculation). On the Nano, LazyWeights\texttt{LazyWeights} needs 58−64%58-64\% less time and 53−57%53-57\% less energy per token than CPU llama.cpp\texttt{llama.cpp}, and runs a streamed Mistral-7B 6.6×\times faster at 3.893.89 bits per weight. A Huffman decoder beats an rANS decoder in rate and area at equal throughput; the ASIC decoder unit runs bit-exact on a Zynq UltraScale+ FPGA (AMD ZCU102).

查看此版本解读 →查看此版本原文 ↗