Speedtest
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
Decode
63.9tok/s
Prefill
56.3tok/s
Zeit bis zum ersten Token
1.669ms
Gesamt
—
Peak-VRAM
66GB
Kontextlänge
1,200
KV-Tiefe
—
Batchgröße
1
Leistungsaufnahme
—
Verifizierung
Nicht verifiziert — experimentelles Ergebnis
Verifizierte Läufe nutzen einen Standard-Testprompt und speichern genug Daten, um das Ergebnis zu prüfen.
Startbefehl
python bench_speed.py (optimized: compile+zmlx+sigmoid+masks+bf16gate)
Theoretical memory ceiling
186.0–187.0 tok/s
614 GB/s memory bandwidth (spec sheet) · 59.00 GB model weights · 16-bit KV cache · 1–94 tokens of context
34–34%
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
Hardware
- Chip
- M5 Max
- Speicher
- 128 GB
Engine
- Engine
- mlx
- Version
- mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0
- Quant
- 4bit-affine-gs64
- Backend
- metal
- Attn
- sdpa
Run-Konfiguration
- Kontext
- 1.200 Tokens
- Batch-Größe
- 1
- Prompt-Tokens
- 94
- Prefill tok/s
- 56.3 tok/s
- Output-Tokens
- 128
- Notizen
- Optimized. One-big-function @mx.compile (48 layers) + zmlx moe_mlp sigmoid gating fix + precomputed masks + bf16 gating. Prompt: 94 tokens, decode: 128 tokens greedy (temp=0). Quality: 0.9555 Pearson logit corr vs BF16 ref. Code: github.com/jacklarmer/laguna-apple
Erfasste Nachweise
- Prompt-Hash (SHA-256)
- —
Weitere Runs dieses Modells auf dieser Hardware
- 69.5tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64376 Kontext · 0 Tiefe · Batch 1jacklarmer · 27.07.2026
- 63.8tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs641,200 Kontext · 0 Tiefe · Batch 1jacklarmer · 27.07.2026
- 60.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs641,800 Kontext · 0 Tiefe · Batch 1jacklarmer · 27.07.2026
- 13.3tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 · 4bit-affine-gs64952 Kontext · 0 Tiefe · Batch 1jacklarmer · 27.07.2026
