NyoomFloat12: Accelerating LLM Inference via Lossless 12-bit Weight Compression
Abstract
BFloat16 weights of large language models carry only bits of information per 16-bit value, yet exploiting this redundancy on GPUs, where weights bottleneck both per-token bandwidth and concurrent capacity, has not produced wall-clock speedup. Existing variable-length lossless codes are compute-bound on SIMT decode. We present NyoomFloat12 (NF12), a lossless 12-bit fixed-length format for BF16 weights that addresses both bottlenecks. Over of trained BF16 weights have the upper four exponent bits set to after a per-matrix power-of-two scale; dropping them yields a fixed-length 12-bit format with 16-instruction SIMT-friendly decode. Out-of-range groups reuse the encoded slot to index a per-matrix verbatim BF16 buffer at zero per-group storage overhead. In the bandwidth-bound regime, fused NF12 GEMV achieves up to matched-BF16 and cuBLAS, of the entropy-bound optimum (a hypothetical implementation reading the joint entropy floor at full HBM bandwidth). In the capacity-bound regime on Qwen3-32B, NF12's smaller footprint opens more KV-cache room; with decode at near-peak HBM bandwidth ( faster than prior lossless decoders), NF12 raises throughput up to .
Related papers
See more related submissions when the market opens.