速度测试
gemma-4-E4B-it-GGUF
M4 Max 128GB · llama.cpp · b10853 · Q5_K_M
anantshri社区2026年9月27日
解码
24.9tok/s
预填充
350tok/s
首个 token 延迟
1,656ms
总计
69.9tok/s
峰值 VRAM
—
上下文长度
2K
KV 深度
0
批大小
1
并发数
1
功耗
—
验证
未验证 — 实验性结果
已验证的运行使用标准测试提示词,并记录足够的数据以核对结果。
- The prompt used was not recorded.
- The generated text was not recorded.
- The engine's own timing data was not recorded.
启动命令
# Remote endpoint: http://127.0.0.1:8182 servedModel: gemma4-e4b
Theoretical memory ceiling
195.3–198.5 tok/s
546 GB/s memory bandwidth (spec sheet) · 2.75 GB model weights · 16-bit KV cache · 1–584 tokens of context
13–13%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from unsloth/gemma-4-E4B-it-GGUF; size from Q5_K_M estimate. Hardware source · Open calculator
模型
- 芯片
- M4 Max
- 内存
- 128 GB
- OS
- macOS 26.5
引擎
- 引擎
- llama.cpp
- 版本
- b10853
- Repository
- https://github.com/ggml-org/llama.…
- Build
- Metal (Apple M4 Max, macOS 26.5)
- 量化
- Q5_K_M
- 后端
- metal
运行配置
- 上下文
- 2,048 个 token
- 深度
- 0 个 token
- 批量大小
- 1
- 提示词 token
- 584
- 预填 tok/s
- 350.3 tok/s
- 输出 token
- 256
- 备注
- unsloth Q5_K_M, KV q8_0 @131072 (E-variant cap). Gemma jinja; temp 1.0 top-p 0.95 top-k 64 min-p 0 per Gemma card. host m4max: Apple M4 Max 128 GB unified, macOS 26.5; stock upstream ggml-org/llama.cpp b10853, Metal. measured through the deployed llama-swap gateway via a local relay; timings client-observed (~1 ms overhead) - the inference host did the work. flash-attn on.
已记录的证据
- 提示词哈希(SHA-256)
- —
提示词样本—
输出样本—
该模型在此硬件上的更多运行
该模型在此硬件上暂无其他已批准的运行。
