Custom Qwen3.8-27B engine doubles llama.cpp speed on a 3090 with exact greedy outputs

Nice_Profession_9078 · reddit · 2026-11-02

A Reddit user published detailed benchmarks of their Qwen3.8-27B engine (qwen38-megakernel) against llama.cpp. Key finding: speculative decoding is supposed to be lossless, but llama.cpp changed its greedy answer on 9 of 282 benchmark questions just by going from 4 to 7 MTP drafts (8 reproduce reliably), while this engine produces identical token IDs at 0, 4 or 7 drafts.

Results on the same RTX 3090, same unsloth UD-Q4KXL model file, one session:

Key implementation: the whole cycle (main pass, lmhead, verify, MTP catch-up, next drafts) runs as one persistent kernel on int8 tensor cores—verifying 8 tokens costs 29 ms vs 22 ms for one. Full numbers and methodology in the repo's BENCHMARKS.md (github: cutlerbenjamin1-cmd/qwen38-megakernel).

Original post →

More from Infra

Infra channel →