Speed test
granite-4.2-8b-GGUF
RTX 3060 12GB · llama.cpp · v0.1.2-dev (build 197, commit b062ba735) · Q5_K_M
Decode
52.5tok/s
Prefill
1.7ktok/s
Time to first token
318ms
Total
234tok/s
Peak VRAM
6.6GB
Context length
4K
KV depth
0
Batch size
1
Power draw
—
Verification
Not verified — experimental result
Verified runs use a standard test prompt and record enough data to check the result.
Launch command
llama-quantize --imatrix imatrix-granite42-mixed.gguf --tensor-type-file tensor_types_G.txt bf16.gguf out.gguf Q4_K_S; bench: llama-bench -p 512 -n 128 -ngl 99 -fa on -r 3
Theoretical memory ceiling
64.5–65.5 tok/s
360 GB/s memory bandwidth (spec sheet) · 5.50 GB model weights · 16-bit KV cache · 1–512 tokens of context
80–81%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from ibm-granite/granite-4.2-8b; size from Q5_K_M estimate. Hardware source · Open calculator
Hardware
- GPU
- RTX 3060
- Count
- 1
- VRAM
- 12 GB
- OS
- Fedora Linux 43 (KDE Plasma Desktop Edition)
Engine
- Engine
- llama.cpp
- Version
- 0.1.2-dev (build 197, commit b062ba735)
- Quant
- Q5_K_M
- Backend
- cuda
- TP
- 1
- GPU layers
- 99
- KV cache
- f16
- Prefix caching
- yes
- Chunked prefill
- yes
- Attn
- flash_attn
- Flash Attn
- yes
Run config
- Context
- 4,096 tokens
- Depth
- 0 tokens
- Batch size
- 1
- Prompt tokens
- 512
- Prefill tok/s
- 1,708.0 tok/s
- Output tokens
- 128
- Revision
- 31239b3e4a93
- Notes
- Custom mixed quant 'G-Q5': per-tensor map attn_q/k/output=Q5_K, attn_v=Q6_K, ffn_down=Q5_K, ffn_gate/up=Q4_K, token_embd=Q5_K, output=Q6_K, from bf16 with custom imatrix (~600K tokens wikitext-103 + local code). Measured vs official Q4_K_M same GPU/build: KLD vs bf16 0.0809 vs 0.1796 (-55%), same-top-p 91.2% vs 86.0%, tg128 52.53 vs 54.24 (-3%), pp512 1708, file 5.22 GiB. Near-Q5 accuracy at near-Q4 size/speed. r=3 medians.
Captured evidence
- Prompt hash (SHA-256)
- —
