Running Qwen 1M context on dual 5090s: custom engine beats vLLM at decode
Littlepharaoh · reddit · 2026-08-30
A developer forked the NInfer engine to add tensor parallelism and YaRN scaling, enabling a 1M token context window for Qwen on dual RTX 5090s (27.4 GB per card, no NVLink).
Performance highlights (500W per GPU):
- Decode: At 653k context, NInfer hits 119 tok/s with MTP speculative decoding vs 57 without, while vLLM achieves only 42 tok/s.
- Long Context: Beyond vLLM's native 262k limit, MTP acceptance drops to 0%. NInfer maintains 55–60% acceptance out to 1M tokens.
- Prefill: vLLM is faster (1.2–1.3x), taking 18 minutes for a full 1M prompt fill on NInfer.
- Memory: vLLM's fp8 KV cache caps at 759k tokens; NInfer's INT8 KV fits the full 1,048,576 tokens.
More from Infra
- 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
- NRDC concedes BAAJA makes data centers pay grid costs, countering 'giveaway' claim — zacharynado · 2026-11-30
- NIDO 0.1.131: A Fully Offline Phone AI Assistant With No Account, No Cloud, No Analytics — NIDO_007 · 2026-11-30
- Ibiden to spend ~¥2T on four new plants as AI chip substrate demand extends past 2030 — BenBajarin · 2026-11-30
- Simulated FP64 matmul runs 83x faster than native on NVIDIA B300, ETH Zurich paper shows — JiliJeanlouis · 2026-11-30