Ingot losslessly compresses BF16 LLM weights to 10.43 bits, bit-identical via sha256
Electrical_Ninja3805 · reddit · 2026-12-06
A developer released Ingot, an AGPL-3.0 C codec that losslessly compresses safetensors/GGUF model files and reconstructs the exact original (sha256-verified, no output change).
Measured results (whole-model, per-shard checks)
- Qwen3.8-27B: 55.6 GB → 36.22 GB, 10.43 bits/weight (65.2% of BF16)
- Qwen3.6-35B-A3B: 10.478; Qwen2.5-32B-Instruct: 10.382; Mistral-7B-v0.3: 10.431 bits
- Q80 GGUF also shrinks: Qwen3.8-27B goes 8.5 → 7.85 bits/weight (29.05 → 26.82 GB)
Comparisons: zstd -3 gives 12.46 bits, ZipNN 10.62, DFloat11 10.61 on the same weights (its paper reports 10.81-10.91). Ingot is best at 10.43.
How: sign+mantissa of BF16 weights has almost no entropy left, so Ingot predicts each weight from up to 8 "partner" weights in earlier layers/tensors (found by encoder search, exact integer arithmetic), then codes the residual with rANS. The gain over plain entropy coding is only 0.077 bits/weight; the floor for independent weights is 10.5.
Costs: storage/download format only, no inference speedup. Encoding is slow (17,319 s for 27B); decoding takes 4,683 s but streams, so files can rebuild while downloading.
More from Infra
- JetBrains runs 500k context on a 16GB GPU with two-tier Q8 KV cache — yogthos · 2026-12-06
- MiniMax H3 image gen runs locally on RTX 3060 12GB with 8-step turbo — Ok_Roll_8698 · 2026-12-06
- Complex compilers and unreadable instruction streams may signal bad hardware design — mike64_t · 2026-12-06
- China moves to restrict NAND bonding tech exports, threatening Samsung and SK Hynix licenses of YMTC's Xtacking patents — zephyr_z9 · 2026-12-06
- qwengine: C++20/CUDA engine runs Qwen4-35B-A3B NVFP4 on a single RTX 5090 — AIFlow_ML · 2026-12-06
- The 'compute man' parable: an AI founder who bet big on compute prices finds no buyer — toptickcrypto · 2026-12-06