LookAtMyQuant 2 compresses Gemma 4 E2B with 12× lower KL

lookatmyquant.pages.dev13 min read

LookAtMyQuant is a quantization compiler that measures the error introduced when compressing individual pieces of a language model, including weight matrices, embedding rows, and key-value caches. By predicting code performance and using dynamic programming, the compiler allocates bit widths to minimize total damage within device size or speed budgets. Evaluated on models such as Gemma 4 E2B and Qwen3.5-4B, compiled configurations significantly reduce KL divergence and improve benchmark accuracy compared to uniform quantization recipes. Open article →

More on this topic