Qwen3.8-27B hits 134 TPS on RTX 3090 with DFlash2 and custom optimizations
iamMess · reddit · 2026-08-20
The author pushed Qwen3.8-27B inference on an RTX 3090 to 134 TPS (default sampling) and drastically reduced long-context turn latency from 23s to 1s.
Key Optimizations:
- DFlash2 Drafting: Integrated a 5-layer block drafter predicting 7 tokens per pass. Requantized to Int4 (1.19GB) to fit within 24GB VRAM without quality loss.
- Lookup-augmented Drafting: A custom Triton kernel scans token history to reproduce repeated content (e.g., quotes, code), boosting tokens/step by 29% on reproduction tasks.
- Prefix Caching: Enabled caching for the Mamba/GDN hybrid model, slashing 24k-token follow-up latency from 23s to 1s.
- Memory Efficiency: Fixed allocator logic to reduce KV cache per token from 105KB to 78KB for 64k context.
Performance:
- Single User: 134 TPS.
- 64 Concurrent: 942 TPS.
- Quality: Perplexity 8.09, GSM8K 96.5%, with exact speculative decoding.
Related event: Qwen3.8-27B Inference Hits 381 TPS on RTX 3090(2 posts)→
More from Infra
- Study: 603 data center restrictions in 445 US counties, all 42 ballot proposals rejected — huggingface · 2026-11-30
- Google Colab hands users a G4 Blackwell GPU, user reports — MickeySteamboat · 2026-11-30
- 19 GitHub Actions Runner Providers Benchmarked: Speed and Cost, Updated Weekly — DanielLockyer · 2026-11-30
- Learn Inference: An Interactive Guide to Serving Generative Models in Production — attentionmech · 2026-11-30
- open-daytona: rootless gVisor sandbox pool runs 1,536 concurrent agent-RL sandboxes on Slurm — victor_explore · 2026-11-30
- Notes on 'Looking Back at Postgres': Extensibility, No WAL, Open Source — sh_reya · 2026-11-30