Quantization from the ground up

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Sam Rose's interactive essay explains why 4-bit quantization retains ~90% of model quality, giving practitioners evidence for running cheaper local LLM deployments.

Read this as

Sam Rose has published an interactive essay explaining how quantization works, the technique of shrinking AI models by storing their numbers in fewer bits. It includes the best visual explanation of how computers represent decimal numbers in binary. His tests on a Qwen 3.5 9B model found that shrinking it to half size loses almost nothing, while quarter size keeps about 90% of the original quality.

This ngrok-published tutorial explains quantization, compressing AI models to run them more cheaply, with concrete accuracy numbers. The key finding for budgeting: compressing a Qwen 3.5 9B model from 16-bit to 8-bit costs essentially no quality, and 4-bit retains roughly 90%. Teams can cut inference hardware costs substantially while accepting a small, measurable quality trade-off.

Sam Rose's interactive essay explains quantization mechanics, including a visual float32 sign/exponent/significand explorer. Key concept: rare 'outlier' values, Apple calls a subset 'super weights', can collapse a model to gibberish if removed, so real schemes preserve them separately or leave them unquantized. Using llama.cpp's perplexity tool, KL divergence and GPQA on Qwen 3.5 9B: 16→8-bit shows almost no penalty; 16→4-bit retains roughly 90% of quality.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Sam Rose ngrok Simon Willison Qwen 3.5 9B llama.cpp Apple GPQA

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading