速度测试
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日
