速度测试
gemma-4-coder-gguf
RTX 3060 12GB ×2 · llama.cpp · 2d97363 · Q4_K_M
Sandberg已验证2026年7月5日
解码
38.6tok/s
预填充
1.2ktok/s
首个 token 延迟
552ms
总计
171tok/s
峰值 VRAM
8.4GB
上下文长度
512
KV 深度
—
批大小
1
功耗
—
验证
未验证 — 实验性结果
已验证的运行使用标准测试提示词,并记录足够的数据以核对结果。
启动命令
llama-bench -m gemma4-coding-Q4_K_M.gguf -p 512 -n 128 -ngl 48 -sm layer -fa on -ctk f16 -ctv f16 -r 5
Theoretical memory ceiling
79.2–80.0 tok/s
360 GB/s memory bandwidth (spec sheet) · 4.50 GB model weights · 16-bit KV cache · 1–512 tokens of context
48–49%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from jgebbeken/gemma-4-coder-gguf; size from Q4_K_M estimate. Hardware source · Open calculator
模型
- GPU
- RTX 3060
- 数量
- 2
- VRAM
- 12 GB
- OS
- Ubuntu 26.04
引擎
- 引擎
- llama.cpp
- 版本
- 2d97363
- 量化
- Q4_K_M
- 后端
- cuda
- GPU 层
- 48
- Flash Attn
- 是
运行配置
- 上下文
- 512 个 token
- 批量大小
- 1
- 提示词 token
- 512
- 预填 tok/s
- 1,229.9 tok/s
- 输出 token
- 128
- 备注
- , , GB RAM, Layer split (-sm layer), flash attention, f16 KV cache. Benchmarked with llama-bench -r 5. Dual GPU via llama.cpp layer split.
已记录的证据
- 提示词哈希(SHA-256)
- —
提示词样本—
输出样本—
该模型在此硬件上的更多运行
- 37.5tok/sllama.cpp · 2d97363 · Q4_K_M上下文 2K · 深度 0 · 批大小 1Sandberg · 2026年7月5日
- 37.3tok/sllama.cpp · 2d97363 · Q4_K_M上下文 4K · 深度 0 · 批大小 1Sandberg · 2026年7月5日
- 36.9tok/sllama.cpp · 2d97363 · Q4_K_M上下文 8K · 深度 0 · 批大小 1Sandberg · 2026年7月5日
- 33.9tok/sllama.cpp · 2d97363 · Q4_K_M上下文 16K · 深度 0 · 批大小 1Sandberg · 2026年7月5日
- 31.6tok/sllama.cpp · 2d97363 · Q4_K_M上下文 32K · 深度 0 · 批大小 1Sandberg · 2026年7月5日
