Big win for local LLM inference! This new inference engine runs LLMs 4x faster than llama.cpp: I ran Qwen3.5 9B on a base M5 MacBook Pro with three engines: - llama.cpp: 22.0 tokens/s - MLX: 25.1 tokens/s - uzu: 92.1 tokens/s The video below shows all three runs side by side.
It still reads every weight per pass. But each pass yields ~7.5 tokens instead of 1, via speculative decoding. Ideally, this can also go way beyond 7.5, around 16-32.
All three ran 4-bit Qwen3.5 9B on the same prompt, and the main model still decides every output token. The article I shared by Akshay above has the full setup if you'd like to dive deeper.
Working on this and will be sharing more details soon. Stay tuned.
of course, that's the best kind of upgrade 😄
uzu runs on Metal and CPU backends right now, so Apple Silicon only. Linux is listed as in progress.
All 4-bit, though not identical recipes, which is the whole point. Mirai-M is 4-bit asymmetric, and it's comparable to Q4_K_S in size and accuracy. The 9B verifies every kept token, so the output stays what the main model would have produced.
Good tip. My llama.cpp run used Q4_K_S, which Mirai says is closest to their M checkpoint.
And quality holds, since the 9B verifies every kept token.
My 7.5 was on code. Official numbers show code and structured output staying high, and open-ended chat drops slightly.
Yeah but it mostly lands in that range. Worth testing of course.
In the official benchmarks, math is alongside code as a predictable workload though.
On a base M5 too!
do let me know how it goes. It think it would be perfect since, with speculation on, uzu gets to about 4.4x on an M5 Max (for Qwen 27B).
uzu's big gain is on the decode side. For repeated prompts it keeps a prefix cache, so a shared prompt prefix skips most of the prefill. I am preparing something interesting for long prompts too, will be sharing pretty soon.
The models are added by their maintainers, since each one needs its own checkpoint and drafter. The repo is the best place to follow what's coming :)
