NInfer RTX 4090 – Native CUDA LLM inference on Windows, up to 326 tok/s with Qwen 27B and DFlash2 in short benchmarks [R]

Reddit r/MachineLearning Tools

Summary

NInfer RTX 4090 v0.1.4 is an independently maintained native C++/CUDA inference engine optimized for the RTX 4090 (SM89), delivering up to 326 tok/s decode with Qwen 27B using DFlash2 speculative decoding, plus quantized KV cache, hybrid prefix caching, and OpenAI/Anthropic-compatible APIs under Apache 2.0.

Hey everyone, I've been working on an independently maintained version of NInfer-all, specifically optimized for the RTX 4090 and its SM89 architecture. The goal is to get as much performance as possible out of a single 24GB GPU while running larger local models, especially for coding and long-context workloads. I've just released v0.1.4 as a stable, GPU-tested Windows build. Features: Native C++/CUDA 13.4 inference RTX 4090 / SM89 optimizations DFlash2 and MTP speculative decoding Qwen3.8 27B and Ternary Bonsai 2.5 support Quantized KV cache (rk4v4, rk8v4, etc.) Hybrid prefix caching OpenAI- and Anthropic-compatible APIs Portable Windows binaries Apache 2.0 license Recent RTX 4090 benchmarks: Model / Backend Decode Qwen 27B IQ3_S – No speculation 70.38 tok/s Qwen 27B – MTP K5 242.59 tok/s Qwen 27B – DFlash2 K5 257.13 tok/s Qwen 27B – DFlash2 K7 326.41 tok/s Qwen 27B – DFlash2 K9 269.33 tok/s Bonsai 2.5 PTQ1_0 – MTP K3 291.69 tok/s Bonsai 2.5 PQ2_0 – MTP K3 323.88 tok/s These are short synthetic engine benchmarks with 2048 prompt tokens and 128 timed decode tokens, not guaranteed real-world serving speeds. The methodology and measurement data are publicly available. I've also built a project website with an interactive VRAM calculator, launch command generator, model downloads, installation guides and benchmark results. GitHub: https://github.com/spk-c/ninfer-all-rtx4090 Project website: https://spk-c.github.io/ninfer-all-rtx4090/ Benchmarks: https://spk-c.github.io/ninfer-all-rtx4090/benchmarks.html VRAM calculator: https://spk-c.github.io/ninfer-all-rtx4090/configurator.html Credit to the original NInfer and NInfer-all developers. This project builds on their work. I'd love to hear feedback from other RTX 4090 owners, especially people running local coding agents with 64K–192K contexts. If you try it, please share your results, even if they're worse than expected. I'm interested in finding bottlenecks and improving the engine further.
Original Article

Similar Articles

I built Ninfer 4080 for 16GB class GPUs

Reddit r/LocalLLaMA

A community developer released Ninfer 4080, an optimized local inference runtime that runs the Qwen 3.8 27B GSQ model at 100k context on a 16GB RTX 4080, achieving up to ~2720 tok/s prefill and 262 tok/s decode via DFlash2 speculative decoding — significantly faster than general-purpose engines like llama.cpp or vLLM.

NInfer-2080ti-22g now supports Windows-native and is only 0.28 GB

Reddit r/LocalLLaMA

NInfer v0.3.0, an inference engine for running Qwen3.6/8-27B on a modded 22 GB RTX 2080 Ti, adds native Windows support and prebuilt releases, cutting binaries to 0.28 GB while delivering up to 47.5 tok/s decode with MTP speculative decoding.

@lxfater: Someone built their own inference engine using an RTX 3090, running Qwen 27B at a blazing 273 tokens per second! This d…

X AI KOLs Timeline

A developer (coffeecup2020) built a custom inference engine called tqllm that runs Qwen3-27B (TQ3_4S-v2 quantization) on an RTX 3090 at an impressive 273 tokens per second — the post contextualizes that speed against human reading rates and notes a broader recent wave of lightweight LLM inference releases, including Strata running quantized Qwen3.8-Flash-Next on 12GB VRAM.