速度测试
granite-4.2-8b-GGUF
RTX 3060 12GB · llama.cpp · v0.1.2-dev (build 197, commit b062ba735) · Q4_K_M
darioooooo0o已验证2026年8月25日
解码
53.5tok/s
预填充
1.7ktok/s
首个 token 延迟
317ms
总计
238tok/s
峰值 VRAM
6.4GB
上下文长度
4K
KV 深度
0
批大小
1
功耗
—
验证
未验证 — 实验性结果
已验证的运行使用标准测试提示词,并记录足够的数据以核对结果。
启动命令
llama-bench -m granite-4.2-8b-Q4_K_M.gguf -p 512 -n 128 -ngl 99 -fa on -ctk q4_0 -ctv q4_0 -r 3 -o json; server check: llama-server -c 106496 -ngl 99 -fa on -ctk q4_0 -ctv q4_0
Theoretical memory ceiling
67.0–67.3 tok/s
360 GB/s memory bandwidth (spec sheet) · 5.35 GB model weights · 4.5-bit KV cache · 1–512 tokens of context
80–80%
of the ceiling reached
High 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 ibm-granite/granite-4.2-8b-GGUF/granite-4.2-8b-Q4_K_M.gguf. Hardware source · Open calculator
模型
- GPU
- RTX 3060
- 数量
- 1
- VRAM
- 12 GB
- OS
- Fedora Linux 43 (KDE Plasma Desktop Edition)
引擎
- 引擎
- llama.cpp
- 版本
- 0.1.2-dev (build 197, commit b062ba735)
- 量化
- Q4_K_M
- 后端
- cuda
- TP
- 1
- GPU 层
- 99
- KV 缓存
- q4_0
- 前缀缓存
- 是
- 分块预填
- 是
- Attn
- flash_attn
- Flash Attn
- 是
运行配置
- 上下文
- 4,096 个 token
- 深度
- 0 个 token
- 批量大小
- 1
- 提示词 token
- 512
- 预填 tok/s
- 1,717.0 tok/s
- 输出 token
- 128
- 修订版本
- 31239b3e4a93
- 备注
- IBM Granite 4.2 8B dense (8.79B params, llama-bench reports 'granite 3B Q4_K - Medium' arch label; 40 layers, GQA 32/8 heads, head_dim 128, native ctx 131072). Official ibm-granite GGUF repo rev 31239b3e4a93. Cold-start bench: pp512 1717 tok/s, tg128 53.55-55.8 tok/s (r=3). KV q4_0 vs f16: no measurable speed difference at this size. Peak VRAM 6571 MiB during bench. Max context verified live on RTX 3060 12GB full offload with q4_0 KV + FA: 104K (106496) loads and completes; 112K OOM on KV alloc; 128K OOM. Serving prefill at ~2.6K-token real prompt: 1635 tok/s, decode 47.5 tok/s (thinking model: output goes to reasoning_content first, so serving decode includes thinking tokens). Model is a native reasoning model (thinking always on in weights); benchmark used raw completions-style measurement. TTFT estimated from bench medians (prompt_ms + first-token) at 512/128 cold start.
已记录的证据
- 提示词哈希(SHA-256)
- —
提示词样本—
输出样本—
