Uji kecepatan
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
69.5tok/s
Prefill
139tok/s
Waktu ke token pertama
1.710ms
Total
—
VRAM puncak
66GB
Panjang konteks
376
Kedalaman KV
—
Ukuran batch
1
Konsumsi daya
—
Verifikasi
Belum terverifikasi — hasil eksperimental
Run terverifikasi memakai prompt uji standar dan mencatat cukup data untuk memeriksa hasilnya.
Luncurkan perintah
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
Hardware
- Kepingan
- M5 Max
- Ingatan
- 128 GB
Engine
- Engine
- mlx
- Versi
- mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0
- Quant
- 4bit-affine-gs64
- Bagian belakang
- metal
- Attn
- sdpa
Jalankan konfigurasi
- Konteks
- Token 376
- Ukuran kumpulan
- 1
- Token yang cepat
- 238
- Isi awal tok/s
- 139.2 tok/s
- Token keluaran
- 128
- Catatan
- 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
Bukti terekam
- Hash prompt (SHA-256)
- —
Run lain dari model ini di hardware ini
- 63.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64Konteks 1,200 · kedalaman 0 · batch 1jacklarmer · 27 Jul 2026
- 63.8tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64Konteks 1,200 · kedalaman 0 · batch 1jacklarmer · 27 Jul 2026
- 60.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64Konteks 1,800 · kedalaman 0 · batch 1jacklarmer · 27 Jul 2026
- 13.3tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 · 4bit-affine-gs64Konteks 952 · kedalaman 0 · batch 1jacklarmer · 27 Jul 2026
