Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Runs mlx-serve pre-release validation: test suites, ReleaseFast build, benchmarks, API conformance, regression scripts, and app bundling.
14% 91%+77 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 3 of 22 without it.
This test ran on v9. v10 is the current version and hasn’t been tested on gemini-3.8-flash yet.
3 of 3 safety checks passed
Not used yet
Timings measured 2026-07-16 on the M4 Max 128 GB, AFTER the stop_all_engines port-wait fix (before it, everything below was ~2.2× slower — see the gotcha in Benchmarking).
| # | Step | Command | Time |
|---|---|---|---|
| 1 | Hermetic suite | zig build test (must be every step, 9/9 today, 0 fail) + cd app && swift test | ~1 min |
| 1b | Console is fresh | cd app-web && npm ci && npm test && npm run build, then git diff --exit-code src/html (the committed page matches its source) | ~15 s |
| 2 | ReleaseFast binary | zig build -Doptimize=ReleaseFast → du -h zig-out/bin/mlx-serve ≈ 51 MB in 26.11.1 (32 MB in 26.10.3; Debug ≈ 2× = fake regression) | ~10 s |
| 3 | Perf gate (did WE regress?) | ./tests/bench.sh (mlx-serve only, llmprobe) → diff vs the previous column in benchmarks.md → append this release's column | ~15 min |
| 4 | Tool-call correctness | zig build test -Dtest-filter="format corpus" + -Dtest-filter="tool traffic"; live: ./tests/test_tool_matrix_small.sh | ~3 min |
| 5 | API conformance | npx llmprobe@latest http://127.0.0.1:<port>/v1 --quick → expect 100% engine conformance | ~10 s/model |
| 6 | Regression scripts | integration_test.sh, test_anthropic_api.sh, test_ollama_api.sh, test_stream_keepalive.sh, test_disconnect_cancel.sh, test_pld_equivalence.sh, test_mtp_equivalence.sh, test_gen_chat_mix.sh | ~15 min |
| 7 | Soak (bigger releases) | SOAK_DURATION_HOURS=1 ./tests/test_soak_24h.sh — RSS drift < 10% | 1 h |
| 8 | Cross-engine check (only before a public claim) | start each engine yourself, ./tests/bench.sh --url <host:port> -m <id> --full per engine; record in ~/claude-tmp/bench-<tag>/, name the engine in every win — benchmarks.md carries mlx-serve only | ~90 min |
| 9 | Bundle | SKIP_NOTARIZE=1 bash app/build.sh (both binaries move together) | ~2 min |
Rules:
tests/_lib_models.sh); run ./tests/fetch_test_models.sh --dry-run first, then without it to pull what's missing. The run is only as wide as what fits, so name the machine when you report it.--only <substr> runs a single model row for tight dev loops.--bench-only is one run per ladder rung to 16k. --full takes median-of-3 per rung and climbs to 32k/64k — that's the release artifact depth (step 8). For a regression CLAIM on a spec-decode cell, sample across runs and boot orders regardless of depth: "reproducible ≠ not variance".benchmarks.md gets one new COLUMN per release, from the rows step 3 prints (Laguna's number comes from its own A/B harness, not the bench matrix). Obey the file's own header rules: results into the tables only, no text; one table per machine (M4 Max 128 GB, M5 Ultra 80c 256 GB) — the column goes into the table of the machine that ran it; skip the update on any other machine (the M4 mini), a mixed column poisons the history.The record is benchmarks.md plus the saved llmprobe reports under ~/claude-tmp/bench-<tag>/. Nothing lands in docs/ any more — no CSVs, no charts. Run the gate on the FINAL release tree (a number taken mid-cycle is stale the moment another perf round lands):
./tests/bench.sh --tag <ver>
Rules:
Decode tok/s by release table, one new column, mode suffix included. A cell that lost its mode suffix is the signal that speculation stopped engaging — chase it before shipping.--full takes median-of-3 per rung and climbs to 32k/64k; the default is one run per rung to 16k. For a regression CLAIM on a spec cell, sample across runs and boot orders regardless of depth.docs/perf-vs-engines.png, frozen at the release it was rendered for and named as such in its docs/performance.md caption. There is no longer a script that regenerates it, and benchmarks.md no longer carries a cross-engine table (dropped 26.9.2).scripts/release_compare.py --old <prev> --new <ver> --dir "<machine>=<reports>#<commit>" ... [--csv other-machines.csv] --md compare.md --html compare.html, written into ~/claude-tmp/bench-<tag>/ (never docs/). Reports are llmprobe JSONs labelled <baseline|final>-<arm> (llmprobe --label final-default; old release = baseline); a machine without its reports here goes in the CSV. Exit 1 = a cell slower than --noise (3%): chase it before shipping.benchmarks.md only (one machine, one released column, no other engine): refresh it from the new column when you cut a release.Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.