速度測試
Laguna-S-2.1-MLX-4bit
M5 Max 128GB · mlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64
jacklarmer社群2026年7月27日
解碼
69.5tok/s
預填
139tok/s
首個 token 延遲
1,710ms
總計
—
峰值 VRAM
66GB
上下文長度
376
KV 深度
—
批次大小
1
功耗
—
驗證
未驗證 — 實驗性結果
已驗證的執行使用標準測試提示詞,並記錄足夠的資料以核對結果。
啟動命令
python bench_speed.py (one-big-function @mx.compile + zmlx moe_mlp sigmoid gating fix + precomputed masks + bf16 gating)
Theoretical memory ceiling
184.4–187.0 tok/s
614 GB/s memory bandwidth (spec sheet) · 59.00 GB model weights · 16-bit KV cache · 1–238 tokens of context
37–38%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from pipenetwork/Laguna-S-2.1-MLX-4bit; size from 4bit-affine-gs64 estimate. Hardware source · Open calculator
模型
- 晶片
- M5 Max
- 記憶體
- 128 GB
引擎
- 引擎
- mlx
- 版本
- mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0
- 量化
- 4bit-affine-gs64
- 後端
- metal
- Attn
- sdpa
執行設定
- 上下文
- 376 個 token
- 批次大小
- 1
- 提示詞 token
- 238
- 預填 tok/s
- 139.2 tok/s
- 輸出 token
- 128
- 備註
- Optimized MLX decode: one-big-function @mx.compile (48 layers), zmlx moe_mlp patch with sigmoid gating fix (zmlx defaults to softmax, Laguna uses sigmoid), precomputed attention masks, bfloat16 gating. Pure MLX, no torch/CUDA. Quality: 0.9555 Pearson logit correlation vs BF16 reference. Code: github.com/jacklarmer/laguna-apple
已記錄的證據
- 提示詞雜湊(SHA-256)
- —
提示詞樣本—
輸出樣本—
此模型在此硬體上的更多執行
- 63.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64上下文 1,200 · 深度 0 · 批次 1jacklarmer · 2026年7月27日
- 63.8tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64上下文 1,200 · 深度 0 · 批次 1jacklarmer · 2026年7月27日
- 60.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64上下文 1,800 · 深度 0 · 批次 1jacklarmer · 2026年7月27日
- 13.3tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 · 4bit-affine-gs64上下文 952 · 深度 0 · 批次 1jacklarmer · 2026年7月27日
