速度测试
gemma-4-26B-A4B-it-QAT-MLX-4bit
M4 Pro 48GB · mlx · v0.31.3 · MLX-4bit
chiming已验证2026年6月27日
解码
65.3tok/s
预填充
783tok/s
首个 token 延迟
—
总计
—
峰值 VRAM
15.7GB
上下文长度
2,176
KV 深度
2K
批大小
1
功耗
—
验证
未验证 — 实验性结果
已验证的运行使用标准测试提示词,并记录足够的数据以核对结果。
启动命令
mlx_lm.benchmark --model /Users/c/.lmstudio/models/lmstudio-community/gemma-4-26B-A4B-it-QAT-MLX-4bit -p 2048 -g 128
Theoretical memory ceiling
20.5–21.0 tok/s
273 GB/s memory bandwidth (spec sheet) · 13.00 GB model weights · 16-bit KV cache · 1–2,048 tokens of context
311–318%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from lmstudio-community/gemma-4-26B-A4B-it-QAT-MLX-4bit; size from MLX-4bit estimate. Hardware source · Open calculator
模型
- 芯片
- M4 Pro
- 内存
- 48 GB
- OS
- macOS
引擎
- 引擎
- mlx
- 版本
- 0.31.3
- 量化
- MLX-4bit
- 后端
- metal
运行配置
- 上下文
- 2,176 个 token
- 深度
- 2,048 个 token
- 批量大小
- 1
- 提示词 token
- 2048
- 预填 tok/s
- 782.9 tok/s
- 输出 token
- 128
- 备注
- TERMINAL OUTPUT: Timing with prompt_tokens=2048, generation_tokens=128, batch_size=1. Trial 1: prompt_tps=786.761, generation_tps=65.851, peak_memory=15.739, total_time=4.663. Trial 2: prompt_tps=779.919, generation_tps=65.151, peak_memory=15.739, total_time=4.717. Trial 3: prompt_tps=779.763, generation_tps=66.030, peak_memory=15.740, total_time=4.707. Trial 4: prompt_tps=780.749, generation_tps=65.593, peak_memory=15.740, total_time=4.697. Trial 5: prompt_tps=787.512, generation_tps=64.102, peak_memory=15.741, total_time=4.729. Averages: prompt_tps=782.941, generation_tps=65.346, peak_memory=15.740.
已记录的证据
- 提示词哈希(SHA-256)
- —
提示词样本—
输出样本—
