Qwen3.8-27B Hits 140 tok/s on a Single RTX 3090 with a CUDA Megakernel, KL Divergence 0.0009
Adorable_Weakness_39 · reddit · 2026-10-11
An update on the CUDA megakernel project: Qwen3.8-27B (Q4KM) runs 1.4-1.9x faster than llama.cpp on a single RTX 3090, now with accuracy validation.
- Accuracy: KL divergence 0.0007-0.0009 nats vs llama.cpp batched, >99% top-token match, perplexity within noise of reference.
- Speed: 140 vs 73 tok/s on code, 78 vs 51 in reasoning mode, 1600 vs 1100 tok/s prefill. Gains come from speculative decoding checking 4-5 draft tokens per pass (llama.cpp uses 2).
- Limits: single 24GB+ RTX 30/40/50 card, tuned only on 3090; 147K context supported.
- Quantization: unsloth Q4KM native; others fall back to llama.cpp. Open source in the open-jet repo, PRs welcome.
More from Infra
- Nvidia says Vera Rubin AI systems are 'truly kicking ass' with 1,000+ racks made monthly — TinfoilTricorn · 2026-12-02
- Amazon Ergo takes open-weights crown: 38 on AA Index, 1.1T params (55B active) — ArtificialAnlys · 2026-12-02
- Jensen Huang warns the US risks repeating its "5G mistake" and losing the AI race to China — TinfoilTricorn · 2026-12-02
- Hyperscaler capex consensus keeps being redrawn upward, now at $1.2T — peterwildeford · 2026-12-02
- Netlify served 54B requests over Black Friday weekend, peaking at 249K rps — thisiskp_ · 2026-12-02
- Rumor: Tencent and ByteDance may have snapped up Envision's Xinghe Phase I, leaving DeepSeek no Huawei 950DT capacity — teortaxesTex · 2026-12-02