速度测试
gemma-4-E4B-it-GGUF
RTX A5000 24GB · llama.cpp · 320a6a44a · Q4_K_M
snnn社区2026年5月14日
解码
121tok/s
预填充
4.8ktok/s
首个 token 延迟
—
总计
342tok/s
峰值 VRAM
3.7GB
上下文长度
4K
KV 深度
—
批大小
1
并发数
1
功耗
—
验证
未验证 — 实验性结果
已验证的运行使用标准测试提示词,并记录足够的数据以核对结果。
启动命令
/data/bt/os/llama.cpp/llama.cpp-bench-upstream/build-bench-cuda-gcc15/bin/llama-server -m /data/bt/models/hub/models--ggml-org--gemma-4-E4B-it-GGUF/snapshots/2714b5519c6c3516b1000e7c5e1eba998dfe1fe8/gemma-4-E4B-it-Q4_K_M.gguf -a gemma-4-e4b-it-q4_k_m -ngl 999 -fa on -c 4096 -b 2048 -ub 512 -np 1 --no-context-shift --metrics --no-webui --host 127.0.0.1 --port 18105
Theoretical memory ceiling
333.7–341.3 tok/s
768 GB/s memory bandwidth (spec sheet) · 2.25 GB model weights · 16-bit KV cache · 1–1,010 tokens of context
35–36%
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-E4B-it; size from Q4_K_M estimate. Hardware source · Open calculator
模型
- GPU
- RTX A5000
- 数量
- 1
- VRAM
- 24 GB
- OS
- Linux-6.19.14-300.fc44.x86_64-x86_64-with-glibc2.43
引擎
- 引擎
- llama.cpp
- 版本
- 320a6a44a
- 量化
- Q4_K_M
- 后端
- cuda
- GPU 层
- 999
- KV 缓存
- fp16
- 前缀缓存
- 否
- 预填块
- 512
- Attn
- flash_attn
- Flash Attn
- 是
运行配置
- 上下文
- 4,096 个 token
- 批量大小
- 1
- 提示词 token
- 1010
- 预填 tok/s
- 4,757.1 tok/s
- 输出 token
- 512
- 修订版本
- 2714b5519c6c3516b1000e7c5e1eba998dfe1fe8
- 备注
- Corrected resubmission: actual llama.cpp commit is 320a6a44a5b1de6a074ba781e65f5fd79fb4051a (short 320a6a44a); earlier accepted record from this run used engineVersion=ce735c9. Automated llmfit run on clean upstream llama.cpp 320a6a44a with CUDA backend on NVIDIA RTX A5000. Mean of 2 measured /completion runs after one warmup: output tok/s=120.98, prefill tok/s=4757.14. Request used fixed prompt, n_predict=512, temperature=0, top_k=1, top_p=1, cache_prompt=false, one server slot, full GPU offload requested. Per-run output tok/s: 121.16, 120.80. ignore_eos=true. Local GGUF: gemma-4-E4B-it-Q4_K_M.gguf.
已记录的证据
- 提示词哈希(SHA-256)
- —
提示词样本—
输出样本—
