Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Prism's ternary-compressed 27B model runs locally on a Mac from a ~6 GB file, but only on Prism's llama.cpp fork, not mainline llama.cpp.
A company called Prism ML has released Bonsai 2 27B, a 27-billion-parameter language model compressed using ternary methods into a roughly 5.95 GB file. Willison ran it on his MacBook at around 20-44 tokens per second, meaning a large capable model now fits on ordinary consumer hardware. Anyone can download the model files from Hugging Face today. The catch: you must use Prism's custom version of llama.cpp, not the standard one.
Prism ML's Bonsai 2 27B claims near-lossless quality at one-ninth the expected footprint via ternary compression, and it is downloadable now from Hugging Face as GGUF files. This strengthens the case for running capable local models on consumer Macs instead of paying cloud inference costs. The practical risk is ecosystem lock-in: it requires Prism's llama.cpp fork, and Willison saw a Metal tensor-API warning suggesting the software is still rough. Watch whether mainline llama.cpp adopts support.
Willison documents running Ternary-Bonsai-2-27B-PTQ1_0.gguf (~5.95 GB) with Prism's llama.cpp fork (release prism-b10685-7dffb15), serving via llama-server on port 8331 with -ngl 99, -fa on, 32K context. Throughput was ~20 tokens/second on an M5 Pro, briefly 44 after restart. Startup logged 'ggml_metal_device_init: the tensor API is not supported in this environment', indicating the Metal path isn't working correctly. No accuracy benchmarks are given beyond the headline 'near-lossless' claim.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Self-hosted YouTube client that falls back to SABR when side doors close
A self-hosted YouTube client lets users watch videos without Google accounts, ads, or tracking, keeping data local and enabling shared libraries across devices.
datasette-charts 0.4a0
Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.