← TinyGPT · docs · devlog · roadmap · speedup
source: docs/prds/B16-m5-na-prefill-bench.md · view on GitHub ↗

PRD — Verify Apple’s claimed 3.5–4× M5-vs-M4 prefill speedup

Goal

Verify, on TinyGPT’s actual MLX path, the Apple ML Research, 2026 claim that the M5 Neural Accelerator delivers 3.5–4× faster prefill vs M4 on the same workload. Bump mlx-swift to the latest (0.31.4+) and benchmark; report a confirmed-or-refuted number with a bench row in the decode-baseline doc.

Half-day. Free win if confirmed; the bump is reversible.

Why now

Scope — in

Scope — out

Files to touch

FileChange
native-mac/Package.swiftmlx-swift version bump
docs/research/mac_decode_baseline_m5pro.mdRun 7 (before/after)
docs/decision_log.mdone-line entry on the bump
docs/PLAN.mdB16 ⬜ → ✅ + delta

Acceptance criteria

Reference patterns

Open questions