速度測試
gemma-4-12B-it-GGUF
RTX 3090 24GB · llama.cpp · Q4_K_M
Sandberg已驗證2026年7月19日
解碼
57.0tok/s
預填
2.5ktok/s
首個 token 延遲
347ms
總計
261tok/s
峰值 VRAM
—
上下文長度
512
KV 深度
—
批次大小
1
功耗
—
驗證
未驗證 — 實驗性結果
已驗證的執行使用標準測試提示詞,並記錄足夠的資料以核對結果。
啟動命令
llama-bench -m gemma-4-12B-it-Q4_K_M.gguf -p 512 -n 128 -ngl 999 -fa on -ctk f16 -ctv f16 -fitt 1024 -r 5
Theoretical memory ceiling
134.7–138.7 tok/s
936.2 GB/s memory bandwidth (spec sheet) · 6.75 GB model weights · 16-bit KV cache · 1–512 tokens of context
41–42%
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_M estimate. Hardware source · Open calculator
模型
- GPU
- RTX 3090
- 數量
- 1
- VRAM
- 24 GB
- OS
- Ubuntu 24.04
引擎
- 引擎
- llama.cpp
- 量化
- Q4_K_M
- 後端
- cuda
- GPU 層
- 999
- Flash Attn
- 是
執行設定
- 上下文
- 512 個 token
- 批次大小
- 1
- 提示詞 token
- 512
- 預填 tok/s
- 2,487.6 tok/s
- 輸出 token
- 128
- 備註
- 7900 (homelab), AMD Ryzen 9 7900X (12c/24t, 3.7GHz), 64GB DDR5, RTX 3090 power-limited to 250W, Linux 6.8.0. Single GPU, flash attention ON, fp16 KV cache (auto-detected per model). Benchmarked with llama-bench (-r 5 reps).
已記錄的證據
- 提示詞雜湊(SHA-256)
- —
提示詞樣本—
輸出樣本—
