速度測試
gemma-4-coder-gguf
RTX 3060 12GB ×2 · llama.cpp · 2d97363 · Q4_K_M
Sandberg已驗證2026年7月5日
解碼
33.9tok/s
預填
1.8ktok/s
首個 token 延遲
9,199ms
總計
1.3ktok/s
峰值 VRAM
8.4GB
上下文長度
16K
KV 深度
—
批次大小
1
功耗
—
驗證
未驗證 — 實驗性結果
已驗證的執行使用標準測試提示詞,並記錄足夠的資料以核對結果。
啟動命令
llama-bench -m gemma4-coding-Q4_K_M.gguf -p 16384 -n 128 -ngl 48 -sm layer -fa on -ctk f16 -ctv f16 -r 5
Theoretical memory ceiling
75.4–80.0 tok/s
360 GB/s memory bandwidth (spec sheet) · 4.50 GB model weights · 16-bit KV cache · 1–16,384 tokens of context
42–45%
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
- 是
執行設定
- 上下文
- 16,384 個 token
- 批次大小
- 1
- 提示詞 token
- 16384
- 預填 tok/s
- 1,770.6 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)
- —
提示詞樣本—
輸出樣本—
此模型在此硬體上的更多執行
- 38.6tok/sllama.cpp · 2d97363 · Q4_K_M上下文 512 · 深度 0 · 批次 1Sandberg · 2026年7月5日
- 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日
- 31.6tok/sllama.cpp · 2d97363 · Q4_K_M上下文 32K · 深度 0 · 批次 1Sandberg · 2026年7月5日
