速度測試
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)
- —
提示詞樣本—
輸出樣本—
