Prueba de velocidad
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
Decodificación
60.9tok/s
Prefill
843tok/s
Tiempo hasta el primer token
1868ms
Total
—
VRAM máxima
66GB
Longitud de contexto
1,800
Profundidad KV
—
Tamaño de lote
1
Consumo de energía
—
Verificación
No verificada — resultado experimental
Las ejecuciones verificadas usan un prompt de prueba estándar y registran datos suficientes para comprobar el resultado.
Comando de lanzamiento
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
- Memoria
- 128 GB
Motor
- Motor
- mlx
- Versión
- mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0
- Quant
- 4bit-affine-gs64
- Backend
- metal
- Attn
- sdpa
Configuración de ejecución
- Contexto
- 1800 tokens
- Tamaño de batch
- 1
- Tokens del prompt
- 1574
- Prefill tok/s
- 842.6 tok/s
- Tokens de salida
- 128
- Notas
- 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
Evidencia capturada
- Hash del prompt (SHA-256)
- —
Más ejecuciones de este modelo en este hardware
- 69.5tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64376 contexto · 0 profundidad · lote 1jacklarmer · 27 jul 2026
- 63.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs641,200 contexto · 0 profundidad · lote 1jacklarmer · 27 jul 2026
- 63.8tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs641,200 contexto · 0 profundidad · lote 1jacklarmer · 27 jul 2026
- 13.3tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 · 4bit-affine-gs64952 contexto · 0 profundidad · lote 1jacklarmer · 27 jul 2026
