Fitting a 27B Model on an iPhone
ElmBark · reddit · 2026-07-17
PrismML managed to create an iPhone-runnable version of Bonsai (based on Qwen3.6-27B) by compressing its weights down to 1-bit.
- The original model was roughly 54GB, but the quantized version is only 3.9GB, easily fitting on a phone.
- It utilizes true binary quantization: each weight has just 1 sign bit, sharing a single FP16 scale per 128 weights.
- Unusually, even the embeddings, attention/MLP projections, and LM head were binarized.
- Across 15 benchmarks, the average score dropped from 85.1 (FP16) to 76.1, retaining about 89.5% of the performance.
- Math tasks saw the best retention (91.7%), while knowledge and reasoning experienced more noticeable degradation.
- Memory footprint remains low: 5.2GB for a 4K context and 6.8GB for a 100K context (using a 4-bit KV cache).
The original post also notes that this version can already run on an iPhone 15 Pro Max via Atomic Chat.
More from Infra
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11
- SF Compute founder: buying compute is 'an absolutely awful experience' right now — IgorCarron · 2026-09-11
- SmolVM open-sources persistent computer infrastructure for agents that outlive chat sessions — aniketmaurya · 2026-09-11
- PyTorch Day Korea 2026 launches first offline conf, CFP closes Sept 13 — PyTorch · 2026-09-11
- Local LLM server dilemma: 4x CMP-170HX (price up 53% in 20 days) vs Mac Studio M5 Ultra — rumboll · 2026-09-11
- llama.cpp lands Flash Attention tuning for RDNA4, big prefill gains on AMD — pmttyji · 2026-09-11