स्पीड टेस्ट
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
डिकोड
69.5tok/s
प्रीफ़िल
139tok/s
पहले टोकन तक का समय
1,710ms
कुल
—
पीक VRAM
66GB
कॉन्टेक्स्ट लंबाई
376
KV गहराई
—
बैच आकार
1
बिजली खपत
—
सत्यापन
असत्यापित — प्रयोगात्मक परिणाम
सत्यापित रन एक मानक टेस्ट प्रॉम्प्ट का उपयोग करते हैं और परिणाम जाँचने के लिए पर्याप्त डेटा दर्ज करते हैं।
Launch command
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
हार्डवेयर
- Chip
- M5 Max
- Memory
- 128 GB
इंजन
- इंजन
- mlx
- Version
- mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0
- Quant
- 4bit-affine-gs64
- Backend
- metal
- Attn
- sdpa
Run config
- Context
- 376 tokens
- Batch size
- 1
- Prompt tokens
- 238
- Prefill tok/s
- 139.2 tok/s
- Output tokens
- 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)
- —
इस हार्डवेयर पर इस मॉडल के और runs
- 63.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs641,200 कॉन्टेक्स्ट · 0 गहराई · बैच 1jacklarmer · 27 जुल॰ 2026
- 63.8tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs641,200 कॉन्टेक्स्ट · 0 गहराई · बैच 1jacklarmer · 27 जुल॰ 2026
- 60.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs641,800 कॉन्टेक्स्ट · 0 गहराई · बैच 1jacklarmer · 27 जुल॰ 2026
- 13.3tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 · 4bit-affine-gs64952 कॉन्टेक्स्ट · 0 गहराई · बैच 1jacklarmer · 27 जुल॰ 2026
