Explore the research collection
2 entries · Follow this search
- Model
Bonsai 27B: Full 27B-Class Reasoning in Binary and Ternary Transformer Weights — On Laptops and Phones
PrismML Bonsai 27B (announced 2026-07-14; alphaXiv whitepaper slug 2607.bonsai-27b) post-training-compresses Qwen3.6-27B into binary g128 and ternary g128 weights with group-wise FP16 scales, hybrid attention (~75% linear / 25% full), 262K context, optional 4-bit vision tower, and DSpark speculative decoding. Claimed ~3.9 GB (1-bit) / ~5.9 GB (ternary) vs ~54 GB FP16; ~11 tok/s on iPhone 17 Pro Max and tens of tok/s on Apple Silicon laptops; Apache-2.0 Hub packs (GGUF/MLX).
- Code
VBR: Variable Bit-Rate KV Cache for llama.cpp
spiritbuun llama.cpp fork (buun-llama-cpp) ships VBR as the default KV cache. Cache starts FP16 and degrades one (layer, side) tensor at a time down a price-ordered ladder (f16 → turbo8 → turbo4 → turbo3_tcq → turbo2_tcq → turbo1_tcq) using TurboQuant/TCQ codecs, following per-model KLD degrade tables. Default implicit VBR floors at turbo4; explicit -ct vbr opens the full ladder to t1. Budget is leftover VRAM after weights/compute; -c caps context so the budget is spent on quality instead of max length. CUDA-first with ROCm/HIP mirror. Related to TurboQuant (papers_local 606/640) but this is a dynamic controller, not a new codec paper.