ทดสอบความเร็วโมเดลเบนช์มาร์กเช่ารายงานฮาร์ดแวร์เครื่องคำนวณ decodeองค์กรProเอกสาร APIส่ง
ภาษา
Actual Computer — Every computer, one endpoint

ทดสอบความเร็ว

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ชุมชน27 ก.ค. 2569

Decode

69.5tok/s

Prefill

139tok/s

เวลาถึงโทเค็นแรก

1,710ms

รวม

—

VRAM สูงสุด

66GB

ความยาวบริบท

376

ความลึก KV

—

ขนาด batch

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 confidence

The 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

Engine

Engine
mlx
เวอร์ชัน
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 อื่นของโมเดลนี้บนฮาร์ดแวร์นี้