Language & code models   Nov 19   Updated Nov 27   2 min read

One llama.cpp flag can double local Qwen3.8-27B speed, users say

Volunteer rows show 33% to 120% faster decoding on Nvidia and AMD cards. Apple Silicon barely moves.

ONE FLAG

Add three flags to your llama.cpp server and Qwen 3.8 27B drafts several tokens ahead using its own built-in prediction head, then checks them in one pass. Community rows on one GitHub page show an RTX 4090 going from 47.7 to 76.3 tokens a second. No new weights, no cost.

The short version
Good atfaster decoding of a local 27B model on Nvidia and AMD cards, which helps coding agents that write a lot.
To try itfree. Qwen3.8-27B is Apache 2.0 with commercial use allowed and needs about 19 GB. Use a GGUF that contains the prediction head, such as Unsloth's UD-Q4_K_M, and add --spec-type draft-mtp --spec-draft-n-max 2 --parallel 1.
Catchthe numbers are volunteers' own runs, and two Mac rows show almost no gain.

The deeper look

The @sudoingX repo started with a post advertising 33 to 39% and now lists 78 contributed rows. All are decode speed in tokens a second, baseline then draft-mtp. Q4_K_M builds: an RTX 4090 went from 47.7 to 76.3 with n-max 2, and an RTX 5090 at 131K context from 76.9 to 155.5. An RTX 3090 limited to 250 W at 131K context, with n-max 4, went from 31.9 to 52.8. An RX 7900 XTX on ROCm with UD-Q4_K_M went from 36.3 to 62.6. An M4 Mac stayed at 5.8 and an M3 Ultra moved from 22.8 to 24.2.

Rows come from different llama.cpp builds, so read them as a range. The repo says speeds shift weekly and suggests trying n-max from 2 to 4 on your card. The head has to be in the file: the page names Unsloth's UD-Q4_K_M, UD-Q4_K_XL and UD-Q2_K_XL, and mentions quants without it.

A separate add-on, Qwen Super Adapter, is one LoRA tuned for Hermes Agent, OpenCode and pi, with single-harness versions Qwen3.8-27B pi-adapted and Qwen3.8-27B opencode-adapted. Its authors report mean pass@1 rising from 55.5% to 63.5% on a 51-task subset. Fahd Mirza's H100 test saw equal accuracy on two small tasks and about 20% fewer model calls.

It suits anyone with a 24 GB card running llama.cpp. Mac owners should skip it.

How to start: update llama.cpp, download an Unsloth Qwen3.8-27B GGUF with the head, and add the flags above. The full table is at github.com/sudoingX/qwen38-mtp.

More from this checkpoint