Single RTX 4090 runs Qwen 27B with up to 350K-token context via KV cache quantization
UDPSendToFailed · reddit · 2026-08-17
Developer UDPSendToFailed updated their fork of the NInfer inference engine, adding an rk2v4-e8 quantization option for the KV cache. Running a Qwen 27B model on a single RTX 4090, it can handle a context window of 250K-350K tokens entirely in VRAM without spilling into system RAM; the actual ceiling depends on configuration options like vision and MTP.
For lower-context runs, the author also optimized generation speed to roughly 80-160 tokens/s on repetitive workloads such as code and math. The project is open-sourced on GitHub (UDPSendToFailed/ninfer-4090), and the author welcomes reports of runtime issues.
More from Infra
- oMLX 0.8.4 doubles Inkling 2 Mini decode speed on Mac, adds concurrent MTP — pcuenq · 2026-11-30
- Tencent issues $5.4B notes as AI costs turn cash flow negative; AMD closes World Labs deal with Fei-Fei Li — YvesMulkers · 2026-11-30
- Banks in Europe and Asia plan higher spending on local data storage to cut US cloud reliance — AIFlow_ML · 2026-11-30
- Air New Zealand to offer free Starlink Wi-Fi across entire fleet by end of 2028 — elonmusk · 2026-11-30
- From Scratch to Trained Video Model in 10 Minutes With Pure C++/CUDA — gandamu_ml · 2026-11-30
- Study: 603 data center restrictions in 445 US counties, all 42 ballot proposals rejected — huggingface · 2026-11-30