arXiv Machine Learning By Arnab Sanyal, Gourav Datta, Sandeep P. Chinchali

LazyWeights: Decode-on-Demand Edge LLMs

Read the original on arXiv Machine Learning →

LazyWeights is a technique that retains existing quantized formats (GPTQ, AWQ, llama.cpp’s K‑ and I‑quants) but optimizes GPTQ to compress integer codes, losslessly Huffman‑encode them, and decode on demand in a small ASIC unit between DRAM and L2. This approach allows GPU kernels to run unchanged while only moving coded bytes, yielding 5.7–31.4% smaller models for Phi‑3‑mini, Mistral‑7B and SmolLM‑1.7B under 1% and 3.5% perplexity budgets. The 0.21 mm² ASIC decoder (1 GHz, 7 nm) reduces latency and energy per token on Jetson Orin by up to 36 % and 38 % (and more with prompt‑lookup speculation), and on Jetson Nano it cuts time and energy per token by 58–64 % and 53–57 % respectively, enabling a streamed Mistral‑7B to run 6.6× faster at 3.89 bits per weight.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv Machine Learning
Sep 3

Unfolding the Leech Lattice: Fused Multi-Shell Decoding and VRAM Layouts for 2-Bit LLM Weights

The paper introduces a multi‑shell decoder for Leech‑lattice vector quantization, achieving the best reported 2‑bit quality under its evaluation protocol. It presents a GPU‑friendly layout that fuses dequantization with matrix‑vector multiplication, demonstrating significant speed and memory advantages over traditional one‑hot masks and other 4‑bit methods. Experiments show the new kernel outperforms baseline approaches across multiple model sizes, with measurable gains in throughput and reduced byte traffic.

By Pier-Jean Malandrino (Scub)
arXiv Machine Learning
Oct 19

Memory Bandwidth, Not FLOPs: Profiling and Accelerating Query-Based Segmentation Decoders on Edge GPUs

The paper shows that query‑based segmentation decoders on edge GPUs are limited by memory bandwidth rather than FLOPs. Profiling reveals that non‑tensor‑core operations consume a large fraction of decoder time and bytes, saturating the DRAM bus. CompactInst mitigates this by using parameter‑free spatial pooling and a lightweight refinement head, achieving significant speedups on Jetson Orin Nano while maintaining accuracy.

By Oliver Busemann (Osnabr\"uck University, CLAAS E-Systems GmbH), Torben T\"oniges (CLAAS E-Systems GmbH), Martin Atzmueller (Semantic Information Systems Group, Osnabr\"uck University, German Research Center for Artificial Intelligence)
arXiv AI
Nov 14

metalSPARSE: A 2:4 Semi-Structured Sparse GEMV Kernel for Apple Silicon GPUs

The paper introduces metalSPARSE, the first 2:4 semi‑structured sparse GEMV kernels for Apple Silicon GPUs, along with a fused decoder written in Metal. By streaming compressed weights and expanding them in registers, the authors achieve a 3.6× speedup over HuggingFace Transformers on an 8 GB M2 MacBook Air and 1.52× over MLX on a 16 GB M4 for Qwen2.5‑1.5B decoding, while maintaining model quality through a Wanda mask, block‑wise reconstruction, and low‑rank adapters quantized to 4 bits. The results demonstrate that sparsity can deliver most of the theoretical bandwidth savings on edge devices without dedicated sparse hardware.

By Tek Raj Awasthi (Friedrich-Alexander-Universit\"at Erlangen-N\"urnberg), Babita Awasthi