NInfer is a C++/CUDA inference engine built for the RTX 5090. This guide walks you through installing WSL 2 and Ubuntu, setting up the CUDA toolkit and build tools, compiling NInfer, downloading a Qwen model, and starting the server on port 8080. It suits Windows 11 users with an RTX 5090 who want faster local AI than Ollama or LM Studio.
YouTube video: Same RTX 5090. Same AI Model. Up to 3× Faster?!
YouTube’s video details do not confirm captions. Check CC in the player for available tracks.
Choose a chapter (15)
- Video length
- 11 min 16 s
- Time to do it
- 45 minutes
- Difficulty
- Medium
- Steps
- 7
What you need
Steps
Open PowerShell as administrator and run wsl --install -d Ubuntu. Reboot if Windows asks, then finish the Ubuntu first-run setup.
Install the latest NVIDIA driver in Windows. Inside Ubuntu, run nvidia-smi to confirm the RTX 5090 is visible.
In Ubuntu, install the CUDA toolkit and build tools with sudo apt install -y cuda-toolkit-13-3 build-essential cmake ninja-build pkg-config libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libcurl4-openssl-dev libhwloc-dev liburing-dev.
Clone the NInfer repo and enter it, then configure and build: cmake -S. -B build -G Ninja -DCMAKE_BUILD_TYPE=Release and cmake --build build -j.
Install the Hugging Face downloader with pip install -U huggingface_hub, then run hf download neroued/Qwen3.8-27B-nvfp4-NInfer qwen3_8_27b_nvfp4.ninfer --local-dir models.
Start the server:./build/apps/ninfer-serve models/qwen3_8_27b_nvfp4.ninfer --port 8080 --max-context 163840 --kv-capacity 163840 --kv-dtype fp8 --spec dflash2 --draft-tokens 7 --lm-head-draft.
Point any OpenAI-compatible app at the local server address on port 8080 and send a test prompt.
Tips and common mistakes
Libhwloc-dev and liburing-dev are missing from the README but required, so install them with the other packages.
Run nvidia-smi inside Ubuntu before building; if it fails, fix the driver before going further.
GGUF Q4 and NVFP4 are different quantizations of the same model, so do not compare speeds across them.
The model file is large, so check you have enough free disk space before downloading.
Questions
Does NInfer work on GPUs other than the RTX 5090?
The creator says it is built only for the RTX 5090, so other cards are not supported by this install.
Do I need to install Ollama too?
No. Ollama and LM Studio are only used in the video for comparison; NInfer runs on its own.
How do I check the server is running?
Send a prompt from any OpenAI-compatible app pointed at port 8080 on your machine.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


