Head-to-head comparison across 6 inference engines (+ autoregressive baselines) measuring real coding throughput across configured context limits (32K / 64K / 128K) and prompt context lengths (1K β 96K), full 164/164 HumanEval & HumanEval+ coding accuracy, prefix cache reuse, and live Docker SWE agent runs.
| Engine β | Format & Speculator | HE+ Pass@1 β | HE Base β | graff β | pi 1.8.0 β | Coding Decode β | 32K Decode β | 96K Decode β | 96K Prefill β | 5-Turn Cache β | RSS (GiB) β | Phys FP (GiB) β |
|---|
nanoattention, Splash, oMLX, and mlx-lm run Qwen4-35B-A3B-MLX-4bit (with DFlash2 drafter for the first three); trymirai/uzu runs its own repackaged Qwen4-35B-A3B-M checkpoint with Weaver speculative tree; llama.cpp b13023 runs official ggml-org/Qwen4-35B-A3B-GGUF Q4_K_M + mtp-Q8_0 (and autoregressive no-spec reference) with -fa on -ngl 99 --lazy-mode auto.phys_footprint: Both ps -o rss= (resident host pages) and footprint -p (phys_footprint, dirty/wired Metal/IOSurface + anonymous memory) are reported. Unfaulted Metal/mmap pages behave asymmetrically: nanoattention v0.3.71+memopt keeps CPU RSS near 0.13 GiB while holding 20.0 GiB phys_footprint in GPU buffers; llama.cpp maps clean GGUF pages into CPU RSS (22.9β38.3 GiB) with low initial phys_footprint (1.62β10.0 GiB).graff 0.302.74.95) vs pi 1.8.0 (8 Multi-File Python Tasks): Both harnesses drove identical local engine endpoints via SSE proxy (temp=0, thinking=low, max_tokens=4096, prefix caching enabled) across identical workspaces, SHA-256 tamper checks, and hidden adversarial unit tests. graff (--yolo --old --lean --no-orchestrator, aggregate 36/48 = 75.0%) lifted every MLX engine via multi-turn recovery and output-length continuation (e.g. oMLX 1/8β7/8, uzu 5/8β8/8, nano 3/8β5/8), at higher wall time on tasks hitting the continuation ceiling vs pi 1.8.0 (aggregate 22/48 = 45.8%), whereas llama.cpp + MTP scored higher on pi (8/8 vs 6/8).cached_tokens == 0 via unique session prefixes, cache_salt (Splash), --no-cache (oMLX), --no-prefix-cache (uzu), cache_prompt: false (llama.cpp), and mx.clear_cache() (mlx-lm).sha256(task_id)[:8]) rather than random UUIDs so output parity vs stock mlx-lm reflects true numerical/speculative equivalence. Note on HumanEval/32: normalized upstream HF _poly typo to official evalplus v0.1.10 oracle (abs(_poly(*inp, candidate(*inp))) <= 1e-4).