AnalysisOpinion / analysisEfficiency & Inference1 source · Oct 10, 2026

Qwen3.8-27B on a single 3090: 140 tok/s on code with a custom megakernel

I've been using Claude Opus 5.5 to speed up Qwen3.8-27B on my PC (rtx 3090), it wrote a CUDA megakernel that is 1.4-1.9x faster than llama.cpp depending on the task/context length.

Proof1 community thread

Key points

  • Results (same hardware, my megakernel vs llama.cpp with MTP):
  • Writing code: 140 tok/s vs 73 (1.9x faster)
  • The speedup comes from running each whole speculative-decoding cycle in one kernel launch, so checking 4-5 drafted tokens costs about the same as checking one.
  • It's an OpenAI-compatible server, so it works as a drop-in replacement for the llama server.

Sources (1)

  • [1]Qwen3.8-27B on a single 3090: 140 tok/s on code with a custom megakernel
    r/LocalLLaMA (top, daily) · Oct 10, 01:01 PM
    I've been using Claude Opus 5.5 to speed up Qwen3.8-27B on my PC (rtx 3090), it wrote a CUDA megakernel that is 1.4-1.9x faster than llama.cpp depending on the task/context length.
    Results (same hardware, my megakernel vs llama.cpp with MTP):

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 10, 2026Improve token per second without touching quant
  2. Oct 10, 2026Strata with Qwen3.8 Flash Next UD-Q4_K_XL
  3. Oct 10, 2026[AINews] TypeSafe/Jev at >$100M ARR, $7.5B valuation 3 weeks after launch
  4. Oct 9, 2026Qwen/Qwen-Image-2.1-Turbo
  5. Oct 8, 2026[AINews] not much happened today
  6. Oct 8, 2026unslothai/unsloth v0.1.905-beta: Sandboxing is here!

Related