You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 12, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 12, 2026. It is now read-only.
Living tracker for local LLM engines on the M1 Pro (wip4 kernel, private Honeykrisp driver). The table, chart and how-to live in mseries/local-ai/ENGINE-SCOREBOARD.md on dev, regenerated from committed receipts by scoreboard.py. This issue records triage decisions and what is next; it stays open.
Today (2026-10-28), Qwen3.5-2B 4-bit, medians of 3 rotated rounds
Engine
Decode, 32 / 256 tokens
First token
Output vs MLX default
★ MLX, MLX_OMARCHY_BATCH_WORK=120000
47.2 / 49.3 tok/s
0.46 s
identical
Rapid-MLX 1d09cdb, 120k (HTTP)
42.4 / 43.2
0.19 s
identical
MLX defaults (5k fallback)
36.0 / 37.2
0.51 s
reference
TensorFold Vulkan PR 1517 (HTTP)
2.4 / 2.8
2.00 s
256 tok: diverges after ~170 tokens
ANE (upstream-reported only, not run here): staged Qwen3.8-2B 8–16 tok/s on M1; blocked locally on the compiled bundle, layout binding and memory.
Process
Watch (6-hourly upstream-watch → "Upstream watch" issue) → triage here → re-test in a private prefix with the engine's own gates plus mlx-gate.py → engine-compare.py → commit receipt, run scoreboard.py, PR to dev → adopt a default only when it holds ★ and passes the gate. Documentation stays in our repo; nothing is posted upstream.
Next
MLX correctness gate (CPU float32 reference) and scheduling-knob sweep for Qwen 2B
Qwen3.5-4B 4-bit comparison (needs 12.5 GiB free)
LFM3 1.7B 8-bit comparison
TensorFold submit-batching follow-up (ashhart/TensorFold issue 1420): re-run when public
ANE staged Qwen decoder: re-run when the compiled bundle and layout binding exist
Triage 2026-10-28: ashhart/TensorFold#1526 (68167f42) is the first stacked piece of #1517: Vulkan runtime + Q4 projection + kernel-contract runner, no engine and no speedup. Upstream order: 1526 → 2B engine (1517, head unchanged at 67090219) → submit batching → penalties. Batching is still unpublished. Action: run its kernel contract on our M1 Pro (G13S, not in upstream's chip list) with tensorfold-vulkan.sh contract (added in #660).
Version check 2026-10-28: omarchy-mlx main (74 commits past our pin 33630f9c, unreleased; latest release v0.7.33 = ours) still pins mlx-lm 0.31.3 in install.sh. Its 0.32 line (mlx-lm 94cdcae) is only used by packaging/omlx-linux. The two mlx-lm patches added on main since our pin (generation-failure, release-finished) only touch mlx_lm/server.py error handling and memory release, not speed. Rule: step mlx-lm / omarchy-mlx when upstream moves its own default or cuts a release. No step today.
2026-10-28 result — first real speedup, adopted in #664 and installed on this M1 Pro. Honeykrisp 7faf04c065 → 9323171c12 plus a 120k MLX submit budget (the G13S has no upstream calibration row and fell back to 5000). The MLX gate passes on both drivers with identical RMSE, and output text is identical.
Decode tok/s
before
after
Qwen3.5 2B
36.0
56.4
+57%
Qwen3.5 4B
18.6
27.0
+45%
LFM3 1.7B
15.3
27.5
+80%
llama.cpp LFM2.5 1.2B
56.6
61.0
+8%
Installed check through the default path: Qwen 2B 53–54 tok/s, same text. The old driver is kept at ~/.local/share/mlx-omarchy/vulkan-7faf04c065. Scoreboard updated in #660. Next: TensorFold #1526 kernel contract on G13S, concurrency runs (Rapid-MLX at 4/8 requests), and the omarchy-mlx release that moves mlx-lm.
Server layer (2026-10-28, new driver + 120k): the everyday model runs on mlx-omarchy-serve (mlx-lm 0.31.3 backend), which decodes Qwen 2B at 33.1 tok/s against 56.4 in-process and Rapid-MLX's 50.6. With 4 or 8 requests at once its total drops to about 20 tok/s (first token 4–8 s); Rapid-MLX holds 43–48. Qwen 4B: 25.7 vs 19.1. Text is identical per request. Upstream's 0.32 server-skip-logprob-read patch targets this path; we stay on 0.31.3 per the version rule. Open decision: move the everyday model to Rapid-MLX (needs a proper install, not the ~/.cache checkout). Documentation: #667.
Server layer fixed without leaving upstream's launcher: two private patches (omarchy-mlx's skip-logprob-read ported to 0.31.3, Rapid-MLX's singleton-cache path vendored). One request: Qwen 4B 19.2 → 27.4, Qwen 2B 32.6 → 56.5 tok/s, identical text, ahead of Rapid-MLX. Several requests at once still trail Rapid (28 vs 43–48 total), and first token is 0.6–0.85 s vs 0.2 s. PR #672; receipt mseries/local-ai/receipts/2026-10-28-serve-patch.md. Scoreboard chart now shows first token, streaming and typical reply time.
Round 2 (PR #673): first token Qwen 2B 0.62 → 0.25 s (detokenizer vocabulary was copied twice per request), and parallel requests now batch with their KV reserved (MSERIES_SERVE_CONCURRENCY, worker sets 4). Qwen 2B 4 at once: 20 → 57 tok/s total, first token 4.1 → 0.8 s; Qwen 4B 4 at once: 12.8 → 25.8, 6.3 → 2.0 s. Ahead of Rapid-MLX on throughput at 1/4/8 requests; Rapid still has the faster single-request first token. Identical text throughout.
Activity
techmore commentedon Oct 28, 2026
Triage 2026-10-28: ashhart/TensorFold#1526 (
68167f42) is the first stacked piece of #1517: Vulkan runtime + Q4 projection + kernel-contract runner, no engine and no speedup. Upstream order: 1526 → 2B engine (1517, head unchanged at67090219) → submit batching → penalties. Batching is still unpublished. Action: run its kernel contract on our M1 Pro (G13S, not in upstream's chip list) withtensorfold-vulkan.sh contract(added in #660).techmore commentedon Oct 28, 2026
Version check 2026-10-28: omarchy-mlx
main(74 commits past our pin33630f9c, unreleased; latest release v0.7.33 = ours) still pins mlx-lm 0.31.3 ininstall.sh. Its 0.32 line (mlx-lm94cdcae) is only used bypackaging/omlx-linux. The two mlx-lm patches added on main since our pin (generation-failure,release-finished) only touchmlx_lm/server.pyerror handling and memory release, not speed. Rule: step mlx-lm / omarchy-mlx when upstream moves its own default or cuts a release. No step today.techmore commentedon Oct 28, 2026
2026-10-28 result — first real speedup, adopted in #664 and installed on this M1 Pro. Honeykrisp
7faf04c065→9323171c12plus a 120k MLX submit budget (the G13S has no upstream calibration row and fell back to 5000). The MLX gate passes on both drivers with identical RMSE, and output text is identical.Installed check through the default path: Qwen 2B 53–54 tok/s, same text. The old driver is kept at
~/.local/share/mlx-omarchy/vulkan-7faf04c065. Scoreboard updated in #660. Next: TensorFold #1526 kernel contract on G13S, concurrency runs (Rapid-MLX at 4/8 requests), and the omarchy-mlx release that moves mlx-lm.techmore commentedon Oct 28, 2026
Server layer (2026-10-28, new driver + 120k): the everyday model runs on
mlx-omarchy-serve(mlx-lm 0.31.3 backend), which decodes Qwen 2B at 33.1 tok/s against 56.4 in-process and Rapid-MLX's 50.6. With 4 or 8 requests at once its total drops to about 20 tok/s (first token 4–8 s); Rapid-MLX holds 43–48. Qwen 4B: 25.7 vs 19.1. Text is identical per request. Upstream's 0.32server-skip-logprob-readpatch targets this path; we stay on 0.31.3 per the version rule. Open decision: move the everyday model to Rapid-MLX (needs a proper install, not the ~/.cache checkout). Documentation: #667.techmore commentedon Oct 28, 2026
Server layer fixed without leaving upstream's launcher: two private patches (omarchy-mlx's skip-logprob-read ported to 0.31.3, Rapid-MLX's singleton-cache path vendored). One request: Qwen 4B 19.2 → 27.4, Qwen 2B 32.6 → 56.5 tok/s, identical text, ahead of Rapid-MLX. Several requests at once still trail Rapid (28 vs 43–48 total), and first token is 0.6–0.85 s vs 0.2 s. PR #672; receipt
mseries/local-ai/receipts/2026-10-28-serve-patch.md. Scoreboard chart now shows first token, streaming and typical reply time.techmore commentedon Oct 28, 2026
Round 2 (PR #673): first token Qwen 2B 0.62 → 0.25 s (detokenizer vocabulary was copied twice per request), and parallel requests now batch with their KV reserved (
MSERIES_SERVE_CONCURRENCY, worker sets 4). Qwen 2B 4 at once: 20 → 57 tok/s total, first token 4.1 → 0.8 s; Qwen 4B 4 at once: 12.8 → 25.8, 6.3 → 2.0 s. Ahead of Rapid-MLX on throughput at 1/4/8 requests; Rapid still has the faster single-request first token. Identical text throughout.