Tetra: Serving Leech-Lattice Quantized LLMs at 2.7 Bits per Parameter
TL;DR - Tetra is a Leech-lattice quantization and serving method that compresses Qwen3 models to about 2.7 bits per parameter while decoding weights inside matrix-vector operations. It substantially reduces GPU memory traffic and enables up to 113.8 tokens per second on an NVIDIA L40S, with measurable accuracy tradeoffs versus 4-bit AWQ and FP16.
- Tetra represents each 24-weight block in 48 bits using a 64-state Golay-code trellis and a shared 16 KiB table.
- Its kernel reads 2.148 bits per weight, down from 4.804 bits in the authors’ earlier load-time expansion approach.
- Quantized Qwen3-4B, 8B, and 14B models occupy 2.70–2.73 bits per parameter and generate 113.8, 95.0, and 57.2 tokens per second, respectively.
- Full-model MMLU scores trail 4-bit AWQ by 2.46–4.76 points, while served-kernel GSM8K scores trail FP16 by 3.26–9.63 points.