42 seconds to 11 on a macbook, and it's not a new kernel
When I want a local model to go faster, my reflex is to go lower. Quant it harder, or open up the Metal code and patch a kernel. That's how I got Nemotron-3.5-30B-A3B Fractal Q2 Metal to 57.65 tok/s decode on my M1 Max: a kernel patch in llama.cpp.
So this one caught me. Avi Chawla posted a side by side this morning of Qwen3.5 9B on his M5 MacBook Pro, same prompt, three ways. The test and the numbers are his, not mine:
- no speculative decoding: 42 seconds
- regular speculative decoding: 30 seconds
- DFlash + Weaver: 11 seconds
He gave wall clock time, not tok/s, so I'm not going to turn that into a tok/s number he didn't post.
where the speed comes from
Speculative decoding already has a cheap model guess ahead and the big model check all the guesses at once. His point is that most drafters still guess one token at a time, so the guessing becomes the slow part.
DFlash guesses every position in parallel. The catch is that each guess is made alone. Position 5 never sees what got picked at position 4, so one early miss throws away everything after it.
Weaver is the fix. It's one Transformer layer sitting on top of DFlash. It walks DFlash's top candidates left to right so each pick depends on the last one, grows a tree of likely continuations instead of one chain, and lets the main model verify the whole tree in a single pass. On his Mac that came out to 7.5 tokens per pass instead of 1.
It lives in uzu, an MIT-licensed inference engine from Mirai.
my take
What I like here is that none of this is about the hardware. My kernel work makes each pass cheaper. This makes each pass count for more by wasting fewer guesses. Those stack in theory, and that's the part I want to see someone measure on an older Mac like mine, with tok/s posted so it's apples to apples.
I haven't run uzu on my Macs yet, so everything above about its speed is from Avi's post and the repo, not from me.
What's the best local speedup you've actually measured, and was it a quant, a kernel, or a smarter decoder?
Source: @_avichawla on X, Dec 2, 2026. Engine: github.com/trymirai/uzu.