Kiểm tra tốc độMô hìnhĐánh giá chuẩnCho thuêBáo cáoPhần cứngMáy tính decodeTổ chứcProTài liệu APIGửi
Ngôn ngữ
Actual Computer — Every computer, one endpoint

Kiểm tra tốc độ

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

jacklarmerCộng đồng27 thg 7, 2026

Decode

69.5tok/s

Prefill

139tok/s

Thời gian đến token đầu tiên

1.710ms

Tổng

—

VRAM đỉnh

66GB

Độ dài ngữ cảnh

376

Độ sâu KV

—

Kích thước batch

1

Công suất tiêu thụ

—

Xác minh

Chưa xác minh — kết quả thử nghiệm

Lượt chạy đã xác minh dùng prompt kiểm thử chuẩn và ghi lại đủ dữ liệu để kiểm tra kết quả.

Lệnh khởi chạy

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

Phần cứng

Chip
M5 Max
Bộ nhớ
128 GB

Engine

Engine
mlx
Phiên bản
mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0
Quant
4bit-affine-gs64
Backend
metal
Attn
sdpa

Cấu hình chạy

Context
376 tokens
Kích thước batch
1
Prompt tokens
238
Prefill tok/s
139.2 tok/s
Output tokens
128
Ghi chú
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

Bằng chứng đã ghi

Mã băm prompt (SHA-256)
—
Mẫu prompt—
Mẫu đầu ra—

Các lượt chạy khác của mô hình này trên phần cứng này