速度測試
gemma-4-12B-it-qat-q4_0-gguf
RTX 3080 10GB · llama.cpp · b10472 · Q4_0
ntindle社群2026年8月18日
解碼
71.2tok/s
預填
2.7ktok/s
首個 token 延遲
960ms
總計
—
峰值 VRAM
9.7GB
上下文長度
256K
KV 深度
—
批次大小
1
功耗
369W
驗證
未驗證 — 實驗性結果
已驗證的執行使用標準測試提示詞,並記錄足夠的資料以核對結果。
啟動命令
llama-server -m gemma-4-12b-it-qat-q4_0.gguf -c 262144 -ngl 99 -fa on -ctk q8_0 -ctv q8_0 --parallel 1 --jinja --spec-type none
Theoretical memory ceiling
105.0–109.0 tok/s
760.3 GB/s memory bandwidth (spec sheet) · 6.98 GB model weights · 8.5-bit KV cache · 1–2,585 tokens of context
65–68%
of the ceiling reached
High confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from google/gemma-4-12B-it-qat-q4_0-unquantized; size from google/gemma-4-12B-it-qat-q4_0-gguf/gemma-4-12b-it-qat-q4_0.gguf. Hardware source · Open calculator
模型
- GPU
- RTX 3080
- 數量
- 1
- VRAM
- 10 GB
- OS
- Windows 11
引擎
- 引擎
- llama.cpp
- 版本
- b10472
- 量化
- Q4_0
- GPU 層
- 99
- KV 快取
- q8_0
- Prefix caching
- 否
- Prefill chunk
- 512
- Attn
- flash_attn
- Flash Attn
- 是
執行設定
- 上下文
- 262,144 個 token
- 批次大小
- 1
- 提示詞 token
- 2585
- 預填 tok/s
- 2,671.1 tok/s
- 功耗
- 369 W
- 輸出 token
- 256
- 備註
- Gemma 4 12B IT QAT q4_0 at its FULL NATIVE 262,144 context, all 48 layers on GPU, 9.66 GB of 10 GB. Decode is unchanged from the same model at 32K (71.18 vs 71.23) and TTFT stays under 1 s, so on this card the full 262K window is essentially free. Host-side allocation rises to 672 MiB at this context, but this is NOT starvation: PCIe rx stays at 658 MB/s and the GPU pulls 364 W of its 370 W limit, i.e. compute-bound. (Contrast a genuinely starved config on this card: 11+ GB/s PCIe and power collapsing to ~250 W.) Gemma's 40 sliding-window layers cache only 1024 tokens, which is why 262K fits at all - do NOT add --swa-full, it expands the cache to ~42 GB. Caveat: this measures prefill/decode RATE with a 2.5K prompt against a 262K allocation; it does not measure retrieval quality deep in that window. Headless 3080 (both displays on the 7900X iGPU). Workload: single non-repetitive synthetic log-summarisation prompt, 256 output tokens, temp 0, cache_prompt off, medians of 3 reps (2 where noted). Prefill/decode from llama-server timings; TTFT client-side on a streaming request. llama.cpp b10472 (60eeeb608), Windows 11 / CUDA 12.4, driver 591.86, PCIe 4.0 x16, stock 370 W.
已記錄的證據
- 提示詞雜湊(SHA-256)
- —
提示詞樣本—
輸出樣本—
