Buckets:
| license: apache-2.0 | |
| base_model: | |
| - unsloth/gemma-4-12b-it-GGUF | |
| tags: | |
| - gguf | |
| - gemma4 | |
| - speculative-decoding | |
| - mtp | |
| - ik_llama | |
| # Gemma 4 12B IT MTP Assistants for ik_llama | |
| These are converted GGUF assistant/draft models for using Gemma 4 12B IT with | |
| `ik_llama` MTP speculative decoding. | |
| They are not standalone chat models. Use one of these files as `--model-draft` | |
| next to the matching Gemma 4 12B IT target GGUF. | |
| ## Files | |
| - `gemma-4-12B-it-MTP-ik_llama-Q8_0.gguf` | |
| - `gemma-4-12B-it-MTP-ik_llama-Q4_K_M.gguf` | |
| ## Conversion Notes | |
| Source assistant GGUF: | |
| `unsloth/gemma-4-12b-it-GGUF`, `MTP/gemma-4-12B-it-MTP-F16.gguf` | |
| The public assistant architecture string and tensor names were converted to | |
| `ik_llama`'s `gemma4_mtp` schema. The unused public-assistant | |
| `rope_freqs.weight` tensor was omitted because `ik_llama`'s Gemma 4 MTP | |
| assistant loader expects 48 tensors for this assistant. | |
| ## Example | |
| ```bash | |
| llama-server \ | |
| -m /path/to/gemma-4-12b-it-IQ4_XS.gguf \ | |
| --model-draft /path/to/gemma-4-12B-it-MTP-ik_llama-Q4_K_M.gguf \ | |
| --spec-type mtp:n_max=4,p_min=0.0 | |
| ``` | |
| Older `ik_llama` builds may use legacy speculative flags. Use a build that | |
| includes Gemma 4 12B MTP/CUDA support. | |
| ## Smoke Test | |
| Local smoke on an RTX 4070 with `ik_llama` build `4561 (6b9de3dba)`: | |
| - Target: Gemma 4 12B IT `IQ4_XS` | |
| - Draft: `Q4_K_M` | |
| - Raw completion TG: about `129 tok/s` with MTP vs about `60 tok/s` plain | |
| - Draft acceptance in the small smoke: about `0.55` | |
Xet Storage Details
- Size:
- 1.48 kB
- Xet hash:
- af2f5186b00b43c4dd565e1619d414a597b436484c70e8c698561553ece918a3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.