速度測試
gemma-4-12B-it
RTX 3060 12GB · llama.cpp · b9550 / f0156d140 (gemma4 build) · Q4_K_XL
darioooooo0o已驗證2026年7月2日
解碼
37.7tok/s
預填
1.2ktok/s
首個 token 延遲
419ms
總計
122tok/s
峰值 VRAM
8.7GB
上下文長度
4K
KV 深度
—
批次大小
1
功耗
—
驗證
未驗證 — 實驗性結果
已驗證的執行使用標準測試提示詞,並記錄足夠的資料以核對結果。
啟動命令
llama-bench -m gemma-4-12B-it-qat-UD-Q4_K_XL.gguf -p 512 -n 128 -ngl 99 -fa on -r 3 -o json
Theoretical memory ceiling
51.8–53.3 tok/s
360 GB/s memory bandwidth (spec sheet) · 6.75 GB model weights · 16-bit KV cache · 1–512 tokens of context
71–73%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from google/gemma-4-12B-it; size from Q4_K_XL estimate. Hardware source · Open calculator
模型
- GPU
- RTX 3060
- 數量
- 1
- VRAM
- 12 GB
引擎
- 引擎
- llama.cpp
- 版本
- b9550 / f0156d140 (gemma4 build)
- 量化
- Q4_K_XL
- 後端
- cuda
- TP
- 1
- GPU 層
- 99
- KV 快取
- f16
- Attn
- flash_attn
- Flash Attn
- 是
執行設定
- 上下文
- 4,096 個 token
- 批次大小
- 1
- 提示詞 token
- 512
- 預填 tok/s
- 1,223.1 tok/s
- 輸出 token
- 128
- 備註
- Gemma4 12B QAT (quantization-aware training) model, Q4_K_XL UD quant. 42 dense attention layers. Fully offloaded (-ngl 99). Fedora 43, CUDA 13.0, driver 580.159.04, 16 CPU threads. Max context fitting 12GB VRAM: 106K (106496) at 11.75 GB. Benchmark at 4096 ctx, greedy decode (temp=0). KV cache f16, batch 2048/ubatch 512, flash attn on.
已記錄的證據
- 提示詞雜湊(SHA-256)
- —
提示詞樣本—
輸出樣本—
此模型在此硬體上的更多執行
- 89.7tok/sllama.cpp · b9775 / be4a6a63e · Q4_K_XL上下文 4K · 深度 0 · 批次 1darioooooo0o · 2026年7月2日
- 89.7tok/sllama.cpp · b9775 / be4a6a63e · Q4_K_XL上下文 4K · 深度 0 · 批次 1darioooooo0o · 2026年7月2日
- 89.6tok/sllama.cpp · b9919 / 558c6b78e (TurboQuant) · Q4_K_XL上下文 256K · 深度 0 · 批次 1darioooooo0o · 2026年7月3日
- 78.9tok/sllama.cpp · b9550 / f0156d140 (gemma4 build) · Q4_K_XL上下文 128K · 深度 0 · 批次 1darioooooo0o · 2026年7月3日
- 74.5tok/sllama.cpp · b9550 / f0156d140 (gemma4 build) · Q4_K_XL上下文 4K · 深度 0 · 批次 1darioooooo0o · 2026年7月3日
- 68.7tok/sllama.cpp · b9775 / be4a6a63e · Q4_K_XL上下文 128K · 深度 0 · 批次 1darioooooo0o · 2026年7月3日
- 58.0tok/sllama.cpp · b9550 / f0156d140 (gemma4 build) · Q4_K_XL上下文 128K · 深度 0 · 批次 1darioooooo0o · 2026年7月3日
