Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.

Local AI: document driver adoption; our server vs Rapid-MLX at 1/4/8 requests - #667

Merged
techmore merged 1 commit into
devfrom
claude/local-ai-concurrency
Oct 28, 2026
Merged

techmore merged 1 commit into
devfrom
claude/local-ai-concurrency

Conversation

@techmore

Copy link
Copy Markdown
Owner

Follow-up to #664 (driver 9323171c12 + 120k budget, installed), tracked in #659.

Documentation

New measurement: the server layer. The everyday model runs on mlx-omarchy-serve (mlx-lm backend), and on the new driver it gives back much of the gain. Decode tok/s (several at once: total), three rotated rounds, identical text per request:

Rapid-MLX mlx-omarchy-serve
Qwen 2B, 1 request 50.6 (TTFT 0.18 s) 33.1 (TTFT 0.63 s)
Qwen 2B, 4 at once 43.5 19.9
Qwen 2B, 8 at once 48.1 19.8
Qwen 4B, 1 request 25.7 19.1

In-process MLX: Qwen 2B 56.4. Upstream's mlx-lm 0.32 line patches this server path (server-skip-logprob-read); we stay on 0.31.3 until omarchy-mlx moves its default. Switching the everyday model to Rapid-MLX is left as a separate decision.

Tooling: engine-compare.py gains a serve-120k engine (run exactly as model-worker.py runs it) and --concurrency N (distinct prompt prefixes so no prompt cache helps). Runs limited to some engines get their own file names, so they no longer overwrite full receipts.

🤖 Generated with Claude Code

- engine-compare.py: serve-120k arm runs mlx-omarchy-serve exactly as
  model-worker.py does; --concurrency N sends N streamed requests at once
  (distinct prefixes, total tok/s); partial-arm runs get their own file names.
- New driver, Qwen 2B: Rapid-MLX 50.6 vs mlx-omarchy-serve 33.1 tok/s at 1
  request, 43.5 vs 19.9 total at 4, 48.1 vs 19.8 at 8; Qwen 4B 25.7 vs 19.1.
  Text identical per request.
- Scoreboard: server and concurrency rows, driver in chart labels.
- Adoption receipt with evidence, risk and rollback; OS9-HANDOFF entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@techmore
techmore enabled auto-merge (squash) October 28, 2026 12:32
@techmore
techmore merged commit 395c4e0 into dev Oct 28, 2026
18 checks passed
@techmore
techmore deleted the claude/local-ai-concurrency branch October 28, 2026 16:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant