速度テスト
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
jacklarmerコミュニティ2026/07/27
デコード
69.5tok/s
プリフィル
139tok/s
最初のトークンまでの時間
1,710ms
合計
—
ピーク VRAM
66GB
コンテキスト長
376
KV 深度
—
バッチサイズ
1
消費電力
—
検証
未検証 — 実験的な結果
検証済みの実行は標準テストプロンプトを使い、結果を確認できるだけのデータを記録しています。
起動コマンド
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
モデル
- チップ
- M5 Max
- メモリ
- 128 GB
エンジン
- エンジン
- mlx
- バージョン
- mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0
- 量子化
- 4bit-affine-gs64
- バックエンド
- metal
- Attn
- sdpa
実行設定
- コンテキスト
- 376 トークン
- バッチサイズ
- 1
- プロンプトトークン
- 238
- プリフィル tok/s
- 139.2 tok/s
- 出力トークン
- 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)
- —
プロンプトサンプル—
出力サンプル—
このハードウェアでのこのモデルの他の実行
- 63.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64コンテキスト 1,200 · 深度 0 · バッチ 1jacklarmer · 2026/07/27
- 63.8tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64コンテキスト 1,200 · 深度 0 · バッチ 1jacklarmer · 2026/07/27
- 60.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64コンテキスト 1,800 · 深度 0 · バッチ 1jacklarmer · 2026/07/27
- 13.3tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 · 4bit-affine-gs64コンテキスト 952 · 深度 0 · バッチ 1jacklarmer · 2026/07/27
