Snelheidstest
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
60.9tok/s
Prefill
843tok/s
Tijd tot eerste token
1.868ms
Totaal
—
Piek-VRAM
66GB
Contextlengte
1,800
KV-diepte
—
Batchgrootte
1
Stroomverbruik
—
Verificatie
Niet geverifieerd — experimenteel resultaat
Geverifieerde runs gebruiken een standaard testprompt en leggen genoeg gegevens vast om het resultaat te controleren.
Startcommando
python bench_speed.py (optimized: compile+zmlx+sigmoid+masks+bf16gate)
Theoretical memory ceiling
178.7–187.0 tok/s
614 GB/s memory bandwidth (spec sheet) · 59.00 GB model weights · 16-bit KV cache · 1–1,574 tokens of context
33–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
- Memory
- 128 GB
Engine
- Engine
- mlx
- Versie
- mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0
- Quant
- 4bit-affine-gs64
- Backend
- metal
- Attn
- sdpa
Run config
- Context
- 1.800 tokens
- Batchgrootte
- 1
- Prompttokens
- 1574
- Prefill tok/s
- 842.6 tok/s
- Outputtokens
- 128
- Notities
- Optimized. One-big-function @mx.compile (48 layers) + zmlx moe_mlp sigmoid gating fix + precomputed masks + bf16 gating. Prompt: 1574 tokens, decode: 128 tokens greedy (temp=0). Quality: 0.9555 Pearson logit corr vs BF16 ref. Code: github.com/jacklarmer/laguna-apple
Vastgelegd bewijs
- Prompt-hash (SHA-256)
- —
Meer runs van dit model op deze hardware
- 69.5tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64376 context · 0 diepte · batch 1jacklarmer · 27 jul 2026
- 63.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs641,200 context · 0 diepte · batch 1jacklarmer · 27 jul 2026
- 63.8tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs641,200 context · 0 diepte · batch 1jacklarmer · 27 jul 2026
- 13.3tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 · 4bit-affine-gs64952 context · 0 diepte · batch 1jacklarmer · 27 jul 2026
