
TL;DR
- Gemma 4 fashions at the moment are to be had for obtain with quantization-aware practising (QAT), which reduces the dimensions and reminiscence footprint of the fashions.
- Those open-source fashions retain high quality higher because of QAT when put next to people who use post-training quantization (PTQ).
- The Gemma 4 fashions optimized with QAT are to be had in 5 sizes: Gemma 4 E2B, Gemma 4 E4B, Gemma 4 12B, Gemma 4 26B A4B, and Gemma 4 31B.
Following Google’s release of the laptop-grade Gemma 4 12B type previous this week, the corporate is freeing new Gemma 4 type checkpoints with quantization-aware practising. Quantization is important to scale back the volume of reminiscence required to run light-weight fashions. The usual way is post-training quantization (PTQ), which quantizes the type after practising, however may lead to weaker efficiency. The most recent Gemma 4 variations use quantization-aware practising (QAT) as an alternative to scale back type high quality loss and boost up decode pace, consistent with Google’s weblog publish.
Google says that incorporating quantization into the educational procedure ends up in checkpoints with higher efficiency than fashions delicate with PTQ. The compressed fashions run on telephones and laptops neatly because of a customized mobile-quantization schema. This comes to the use of pre-calculated settings, 2-bit compression in sure portions of the type, and vocabulary record and temporary reminiscence compression. For the consumer, this ends up in a smaller type that consumes much less machine reminiscence.
Don’t need to omit the most efficient from Android Authority?


There are a couple of type sizes to be had with QAT optimization, come with Gemma 4 E2B, Gemma 4 E4B, Gemma 4 12B, Gemma 4 26B A4B, and Gemma 4 31B. The smallest variations, just like the text-only Gemma 4 E2B type, require lower than a gigabyte of reminiscence to run. Those small Gemma 4 checkpoints with out extensive useful resource necessities are perfect for working on telephones.
Google shared the approximate reminiscence necessities to load the brand new Gemma 4 fashions with QAT in quite a lot of sizes:

There are 4 other codecs of Gemma 4 QAT fashions to be had for obtain: unquantized QAT checkpoints, GPT-Generated Unified Structure (GGUF), mobile-optimized, and Compressed Tensors. Those fashions keep “equivalent high quality to bfloat16 whilst dramatically lowering the reminiscence necessities to load the type,” consistent with Google.
After downloading the Gemma 4 QAT type weights, customers can run the checkpoints on their telephones, laptops, or desktops. You’ll be able to in finding the cellular and desktop fashions on Hugging Face, in addition to in LM Studio.
Thanks for being a part of our group. Learn our Remark Coverage earlier than posting.



