速度测试
gpt-oss-20b
M5 Max 128GB · mlx · mlx-lm 0.31.3 · MXFP4
austenweaver社区2026年6月25日
解码
137tok/s
预填充
2.2ktok/s
首个 token 延迟
—
总计
—
峰值 VRAM
12.4GB
上下文长度
2K
KV 深度
—
批大小
1
功耗
—
验证
未验证 — 实验性结果
已验证的运行使用标准测试提示词,并记录足够的数据以核对结果。
启动命令
mlx_lm.benchmark --model mlx-community/gpt-oss-20b-MXFP4-Q8 --prompt-tokens 256 --generation-tokens 128 --num-trials 5
Theoretical memory ceiling
This mixture-of-experts model doesn't list how many parameters are used per token, so a ceiling can't be estimated.
模型
- 芯片
- M5 Max
- 内存
- 128 GB
引擎
- 引擎
- mlx
- 版本
- mlx-lm 0.31.3
- 量化
- MXFP4
运行配置
- 上下文
- 2,048 个 token
- 批量大小
- 1
- 提示词 token
- 256
- 预填 tok/s
- 2,151.3 tok/s
- 输出 token
- 128
- 备注
- mlx-lm 0.31.3 benchmark, 256 prompt / 128 gen, 5-trial avg: gen_tps=137.013, prompt_tps=2151.26, peak_mem=12.35GB. Weights: mlx-community/gpt-oss-20b-MXFP4-Q8 (native MXFP4). Apple M5 Max / 128GB, macOS 27.0. Single-stream. Clean measurement (no background load).
已记录的证据
- 提示词哈希(SHA-256)
- —
提示词样本—
输出样本—
