Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

EAGLE-4 does not run on a Mac. I measured MTP instead: +92% on one model, -19% on another

Description and use

MTP speeds up code generation on Qwen3.8‑27B by 92 % but slows prose generation on Ornith‑1.5‑35B‑A3B by 19 %.

Problem

Determine if speculative decoding method EAGLE-4 improves inference speed on Apple Silicon, and compare with existing MTP technique.

Outcome

MTP significantly accelerates dense Qwen3.8‑27B code generation (≈1.92×) but slightly degrades MoE Ornith‑1.5‑35B‑A3B prose generation (≈0.81×). Prefill times are unaffected or slightly slower with MTP. Concurrency benefits are mixed: dense model gains up to 1.73× with four requests, while MoE model suffers slowdown.

Workflow

  • 1. Set up Mac Studio with Apple M2 Ultra, 64 GB unified memory, macOS 26.5.
  • 2. Install oMLX 0.7.1rc1 and load models: Qwen3.8‑27B oQ4e‑mtp, Ornith‑1.5‑35B‑A3B oQ4e‑mtp, and Qwen3‑4B‑Instruct‑2507 4‑bit.
  • 3. Run each model in four phases: MTP off, MTP on, MTP off, MTP on, with fresh server per phase.
  • 4. Use temperature 0, streaming, one request at a time, no prefix cache, no memory guard.
  • 5. Execute 10 runs per prompt per phase (Kotlin coding task and 350‑word prose), 512 max tokens, warm‑up runs excluded.
  • 6. Record decode tokens per second, prefill time, and concurrency metrics.
  • 7. Analyze results: compute mean tok/s, on/off ratios, parked runs, and compare across models and scenarios.

Evidence

EAGLE-4 as released does not run on a Mac.

Source

On a dense 27B model, MTP made code generation 92% faster (thinking off, one request).

Source

On a 35B mixture-of-experts (MoE) model, MTP made prose generation 19% slower (thinking off, one request).

Source

The control model, Qwen3-4B, ran at 159.2 to 159.9 tok/s in all four scenarios.

Source

  • Record date: 2026-10-21T22:11:05.692Z