Views
No views yet
Why NVFP4? On NVIDIA Blackwell GPUs (RTX 50-series, B100/B200), llama.cpp uses native NVFP4 tensor-core MMA kernels (added in llama.cpp #22196) for the FFN matmul — the dominant compute cost during inference. On older GPUs the path falls back todp4a/MMQ kernels, where these GGUFs run but offer no perf advantage over standard K-quants.
| File | Size | FFN | Other tensors | When to pick |
|---|---|---|---|---|
Gemma-4-12B-IT-NVFP4-Q4_K_M.gguf | 6.5 GiB | NVFP4 | Q4_K_M | Recommended. Fastest serving throughput on Blackwell + smallest VRAM footprint |
Gemma-4-12B-IT-NVFP4-Q8_0.gguf | 7.8 GiB | NVFP4 | Q8_0 | Higher-precision attention/embeddings if you have the VRAM |
Gemma-4-12B-IT-NVFP4-BF16.gguf | 10.8 GiB | NVFP4 | BF16 | Max quality (preserves source precision); slower in practice — only for bit-for-bit source fidelity |
Text in / text out. This release is text-only. Gemma-4-12B-it is the unified (gemma4_unified) variant whose vision+audio towers use a transformer-less, soft-token design that llama.cpp's multimodal converter does not yet support, so nommprojis shipped. The 144 NVFP4 FFN tensors and full text model are unaffected.
b9341-dbe9c0c8c.llama-batched-bench, 512 in / 128 out per request)
NVFP4-Q4_K_M wins on total serving throughput across the board, with the largest gains at the moderate batch sizes that dominate real serving — +15% at 4 parallel, +21% at 8 parallel (and matching token-generation gains of +14% / +20%). At single stream the two are tied; at very high concurrency (16 parallel) total throughput still leads (+5%) while per-token generation converges (the regime becomes attention/KV-bound, where both keep attention in the same precision). It also uses less VRAM (6.5 vs 6.9 GiB), leaving more room for KV cache.llama-bench, -r 3)| Variant | Size | PP512 (tok/s) | TG64 (tok/s) |
|---|---|---|---|
NVFP4-Q4_K_M | 6.52 GiB | 9914 | 147.5 |
NVFP4-Q8_0 | 7.83 GiB | 9587 | 129.3 |
llama-cli -m Gemma-4-12B-IT-NVFP4-Q4_K_M.gguf -ngl 999 -c 8192 -p "Your prompt here"llama-server -m Gemma-4-12B-IT-NVFP4-Q4_K_M.gguf -ngl 999 -c 32768 --host 0.0.0.0 --port 8080lm_head stay at higher precision in the source (that's why the -BF16 variant is comparatively large).convert_hf_to_gguf.py and llama-quantize