gemma-4-12B-it-oQ8e-mtp
This model was quantized using oQ (oMLX v0.7.1) mixed-precision quantization with Improved oQe Quantization (jundot/omlx#4385).
A mixed-precision MLX checkpoint of google/gemma-4-12B-it, the 11.95B Unified model of the Gemma 4 family from Google DeepMind. It has no separate encoders: image patches and audio waveforms are projected directly into the embedding space through lightweight linear layers, and all modalities run through a single decoder-only transformer with a 256K-token context. It includes the model and a multi-token prediction (MTP) head merged from google/gemma-4-12B-it-assistant.
The effective average is 8.778 bits/weight for the complete checkpoint.
Quantization and Bit Distribution
oQ8e allocates bits by measured layer sensitivity, then rounds each group with an importance matrix (128 samples x 512 tokens) and a weighted least-squares refit of its scale and bias.
| Storage format | Logical weights | Share of total | Tensor storage | Effective bits/weight |
|---|---|---|---|---|
| Affine 8-bit, group 64 | 11.924B | 96.295% | 11.799 GiB | 8.50 |
| BF16 | 0.459B | 3.705% | 0.855 GiB | 16.00 |
| Total | 12.383B | 100% | 12.654 GiB | 8.778 |
Storage Breakdown
| Component | Logical weights | Storage |
|---|---|---|
| Language backbone | 11.943B | 12.723 GB / 11.849 GiB |
| Vision projection | 0.015B | 0.016 GB / 0.015 GiB |
| Audio projection | 0.002B | 0.003 GB / 0.002 GiB |
| MTP head | 0.423B | 0.846 GB / 0.788 GiB |
| Total | 12.383B | 13.587 GB / 12.654 GiB |
License
Apache-2.0, following the source model. See the Gemma 4 license.