Hugging Face Trending Papers

Tetra: Serving Leech-Lattice Quantized LLMs at 2.7 Bits per Parameter

Read the original on Hugging Face Trending Papers →

Tetra introduces a new Leech‑lattice based codebook that reduces the memory footprint of quantized LLMs to about 2.15 bits per weight, enabling efficient 2‑bit quantization without a massive lookup table. The method employs a 64‑state Golay trellis and a shared 16 KiB table, decoding each 24‑weight block with only six table loads and two small lookups. When applied to Qwen3 models (4B, 8B, 14B), Tetra achieves 2.70–2.73 bits per parameter, scoring 63–75 on MMLU and generating 57–114 tokens per second, while maintaining close performance to 4‑bit AWQ and outperforming llama.cpp’s IQ2_XXS on 4B.

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 Hugging Face Trending Papers.

arXiv Machine Learning
4d ago

Tetra: Serving Leech-Lattice Quantized LLMs at 2.7 Bits per Parameter

The paper introduces Tetra, a new Leech‑lattice quantization scheme that reduces the memory footprint of large language models to about 2.7 bits per parameter while maintaining competitive accuracy. Tetra replaces the massive codebook lookup with a 64‑state Golay trellis and a small shared table, enabling efficient decoding that reads only 2.148 bits per weight. Experiments on Qwen3 models show MMLU scores within a few points of 4‑bit AWQ and token generation rates of 57–114 tokens per second on a single NVIDIA L40S GPU.

By Pier-Jean Malandrino
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
Nov 16

Choosing Quantized Code LLMs by File Size and Energy per Solved Task

The study evaluates 24 quantized Qwen2.5‑Coder models in GGUF format on a fanless MacBook Air M2, measuring energy per solved task across 542 EvalPlus tasks. It finds that 1‑ and 2‑GB q4_K_M models (1.5B and 3B) achieve the best balance of correctness and energy efficiency, while larger 7B models offer little performance gain but significantly higher energy consumption. The authors provide a file‑size‑indexed selection guide and release detailed per‑task results, power logs, and analysis scripts.

By Aditi Patodiya
arXiv AI
Nov 11

Placing LLM Lookup Tables by Per-Layer Prefetch Deadlines

The paper proposes a method for placing large language model lookup tables by using per‑layer prefetch deadlines, allowing efficient use of host DRAM, NVMe, and RDMA resources. By scheduling lookups at step start and splitting a small GPU row cache across layers, the authors achieve near‑zero decode cost for a 203 GB Engram table and reduce host memory usage from 212 GiB to 34 GiB while increasing throughput by 36% on a KV‑constrained workload.

By Wen Huang, Jack Liu