Guide: squeeze ~18-20 tok/s from Qwen3.8-27B on 16GB VRAM with lossless KV cache
BassAzayda · reddit · 2026-08-18
The author pushed Qwen3.8-27B from 8–12 tok/s to 18–20 tok/s on an RTX 5070 Ti (16GB VRAM) + 64GB system RAM while keeping a lossless q80 KV cache at 65k context. The key move: drop plain -ngl layer offloading and use --override-tensor to offload only FFN weight matrices (1 of every 3 layers) to CPU, freeing 2.8GB VRAM so 100% of attention operators stay on GPU.
Other tricks:
- MTP speculative decoding (--spec-type draft-mtp, draft length 2) for 30–50% throughput gain;
- Pin generation threads (-t 8) to physical performance cores, let prefill batch threads (-tb 16) use hyperthreads;
- Set GGMLCUDADISABLEGRAPHS=1 on RTX 50-series/Blackwell to avoid CUDA graph capture stalls.
A full copy-pasteable llama-server launch script is included (IQ4XS quant, 65,536 context, q80 KV cache, prefix caching, etc.).
Related event: Tuning Qwen3.8-27B to 20 tok/s on 16GB VRAM(2 posts)→
More from Infra
- OpenRouter token usage exploded from 3.73T to over 75T in one year — scaling01 · 2026-08-18
- Crusoe in IPO Talks with Banks, Valued at $35B in Fundraise — nwilliams030 · 2026-08-18
- MiniMax H3 Dynamic Workflow: Running on 16GB VRAM with 4-sec Steps — DaExChef · 2026-08-18
- MiniMax H3 Quality Degrades After ComfyUI Update — ASK_ABT_MY_USERNAME · 2026-08-18
- Dev Plans Free Community Access to Local Qwen 3.8 27B at 56 Tokens/sec — No_Run8812 · 2026-08-18
- AWS launches OpenClaw agents framework with Bedrock AgentCore payments integration — kleffew94 · 2026-08-18