NInfer Workstation is igorls/ninfer, the workstation fork of the NInfer C++/CUDA inference engine for local, single-GPU text and vision workloads. It adds native Windows support, a Supervisor app, and application-serving extensions. The engine keeps the NInfer name; NInfer Workstation names this fork and its Windows app.
The engine targets sm_120a only. The fork supports RTX 5090 and
RTX PRO 6000 Blackwell, 96 GB, with native Windows and Linux builds.
Qualification and performance records identify the device and execution route actually tested.
Models · Quick start · Performance and evaluation · Documentation
- Windows Supervisor: tray app, browser dashboard, installer, model switching, desktop memory reserve, and request/cache/GPU diagnostics. It can also host llama.cpp's browser chat UI.
- Application APIs: OpenAI Chat Completions and Responses Core, Anthropic Messages, streaming, tool calls, constrained JSON with a supported JSON Schema subset, and token log probabilities.
- Decision and scoring APIs:
/v1/score, TypeSafe-compatible/v1/systemone, and Jina-shaped/v1/rerank, plus offline causal scoring and hidden-row export. - Long-session reuse: exact-prefix caching with Device/Host retention, read-only cache participation, and pressure-driven pause/resume through snapshots or token replay.
- Native Flash-Next: a v3 architecture package for text, MTP, Vision, scoring, and prefix reuse.
The engine loads v3 .ninfer artifacts. All models below have published v3 downloads on
Hugging Face; no local upgrade is needed for those files.
| Model | Weight profiles | Get the artifact | Optional components |
|---|---|---|---|
| Qwen3.8-Flash-Next | Mixed NVFP4 / FP8 / INT4 PLE, BF16 elsewhere | Download v3 (four files) | Vision; MTP with full output head |
| Qwen3.8-27B | groupwise-int, nvfp4 |
Groupwise, NVFP4 | Vision; MTP; DFlash2 with companion weights |
| Qwen3.6-27B | groupwise-int, nvfp4 |
Groupwise, NVFP4 | Vision; MTP |
| Qwen3.6-35B-A3B | groupwise-int |
Download | Vision; MTP; DFlash with companion weights |
| Qwen3.8-27B OrcaRouter Uncensored | NVFP4, BF16 embedding and full head | Download v3 | Vision; MTP; DFlash2 |
| Inkling-2-Mini | Native NVFP4_MUL / MXFP8 routed experts, BF16 elsewhere | Upstream download or the inkling2 conversion recipe |
Image Vision; DSpark (1-7 drafts, full head) |
Inkling-2-Mini is adopted from upstream as a third native architecture. Its Context is Device-resident (Host context capacity 0), and its fork qualification status is recorded in upstream ports. The published artifact computes its NVFP4 experts with A4 activations and decodes faster from two streams on; the in-tree inkling2 recipe keeps BF16 activations and agrees more closely with the reference implementation (measurements).
Flash-Next supports BF16 or FP8 KV and MTP draft counts 1–5. It uses the full stored output head:
omit --proposal-head optimized. Its PLE table stays host-resident, and the artifact is about 102 GiB
across four files. See the artifact guide for
storage, memory, and execution requirements.
The experimental Qwen3.8-27B nvfp4full recipe
is also available; it is not qualified for production. For custom weight mixtures and sources,
see weight conversion.
Build from source, prepare a v3 artifact, then start the server. The example uses Qwen3.8-27B NVFP4.
git clone https://github.com/igorls/ninfer.git
cd ninferUse Windows 11, a 64-bit Visual Studio 2026 C++ environment (MSVC 19.51), CUDA 13.3, and CMake.
FFmpeg, libjpeg-turbo, hwloc (>= 2.5), and libcurl (>= 7.85) need headers, MSVC import libraries, and runtime DLLs in their
include/, lib/, and bin/ directories. Release packages bundle only LGPL FFmpeg.
cmake -S . -B build-win -G "Visual Studio 18 2026" -A x64 `
-DFFMPEG_ROOT=C:/deps/ffmpeg-lgpl-shared -DCURL_ROOT=C:/deps/curl `
-DHWLOC_ROOT=C:/deps/hwloc -DJPEG_ROOT=C:/deps/libjpeg-turbo
cmake --build build-win --config Release -jThe CLI and server are in build-win/apps/Release/. Put the FFmpeg, libcurl, and CUDA runtime
DLLs on PATH when running from the build tree. For build options and tests, see the
build guide.
Use 64-bit Linux, a CUDA toolkit supporting sm_120a, CMake >= 3.28, a C++20 host compiler, Ninja,
pkg-config, libjpeg, hwloc (>= 2.5), liburing (>= 2.5), FFmpeg development libraries (libavformat, libavcodec, libavutil, libswscale),
libcurl >= 7.85, zlib and libzstd (>= 1.4). Upstream validates CUDA 13.1; the fork also builds with CUDA 13.3.
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build -jRun binaries from the source build tree. Tests and benchmarks are excluded by default; developer presets and targets enable them.
Use the Hugging Face CLI to download the current v3 artifact:
hf download neroued/Qwen3.8-27B-nvfp4-NInfer qwen3_8_27b_nvfp4.ninfer --local-dir modelsFor Flash-Next, use the v3 download command to fetch the entry file and all three parts, then perform the documented offline reframe and load the canonical entry. Keep the original parts beside it. Existing v2 files have separate upgrade instructions.
On Windows:
.\build-win\apps\Release\ninfer-serve.exe models/qwen3_8_27b_nvfp4.ninfer `
--max-context 32768 --context-capacity auto --max-concurrency 2 `
--kv-dtype fp8 --desktop-reserve 6GiB `
--spec mtp --draft-tokens 3 --proposal-head optimized --preserve-thinkingOn Linux:
./build/apps/ninfer-serve models/qwen3_8_27b_nvfp4.ninfer \
--max-context 32768 --context-capacity auto --max-concurrency 2 \
--kv-dtype fp8 --desktop-reserve 6GiB \
--spec mtp --draft-tokens 3 --proposal-head optimized --preserve-thinkingThis gives each request a 32,768-token limit, two execution lanes, and a shared byte budget for KV and recurrent state selected at startup, while reserving 6 GiB for the desktop. These are example settings; longer contexts and
retained prefixes need more capacity. See server options.
Past the native 262,144 positions, --yarn-factor 2 or 4 selects Qwen's static YaRN scaling
for up to about 512K or 1M tokens on a 96-GB card (limits and costs).
Add --vision at startup for image/video input; speculative and Vision residency are fixed
for the process lifetime.
Both executables also accept --config path/to/startup.toml; explicit command-line values
override file settings. Start with the example and see
startup configuration for paths, defaults and precedence.
Point an OpenAI client at http://127.0.0.1:8080/v1 with model default, or use HTTP directly.
For PowerShell:
Invoke-RestMethod http://127.0.0.1:8080/v1/chat/completions `
-Method Post -ContentType 'application/json' `
-Body '{"model":"default","messages":[{"role":"user","content":"Reply with one short sentence."}],"max_tokens":64}'For Bash:
curl http://127.0.0.1:8080/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model":"default","messages":[{"role":"user","content":"Reply with one short sentence."}],"max_tokens":64}'For one-shot generation, use ninfer instead of ninfer-serve; the CLI guide
covers prompts, chat histories, image/video input, and output streams.
To install the Supervisor, edit a copy of the example configuration with your executable, v3 artifact, working directory, and API-key paths, then run:
.\scripts\windows\install.ps1 -ConfigPath .\supervisor.local.jsonThe per-user app includes a tray icon and a dashboard at http://127.0.0.1:8099.
See Windows app operations for configuration, updates, and removal,
or Docker serving for the container workflow.
Results are recorded by model, hardware, and workload. The upstream serving corpus runs on an RTX 5090; the fork's workstation and Colab G4 records use RTX PRO 6000 Blackwell variants. These are separate measurements. Full tables, run conditions, and limitations live in the linked references.
| Model | Performance records | Capability evaluation |
|---|---|---|
| Qwen3.8-Flash-Next mixed | Windows serving, G4 Engine and concurrency | No published capability scores; numerical and runtime qualification |
| Qwen3.8-27B | RTX 5090: groupwise-int and NVFP4 | Groupwise, NVFP4 |
| Qwen3.6-27B | RTX 5090: groupwise-int and NVFP4 | Groupwise, NVFP4 |
| Qwen3.6-35B-A3B | RTX 5090: groupwise-int | Model card |
| Qwen3.8-27B OrcaRouter | Historical workstation results | Model card |
Flash-Next has recorded Windows and Linux text/MTP/Vision checks. Numerical acceptance was recorded
on October 6 with one independent-oracle metric failure retained; end-to-end v2 parity was not
accepted. The October 11 Windows Engine run still has an open non-speculative concurrent-reuse
failure (cudaErrorAlreadyMapped). The port record
keeps the full qualification scope and exceptions.
MTP gains depend on the workload: the Windows serving study also records slowdowns for
top_logprobs and concurrent low-acceptance chat. See the measurement rules,
capability evaluation workflow, and JevBench adapter
for interpretation and reproduction.
One GPU and one resident model per Engine, with 1–8 execution lanes and bounded FIFO admission. Supervisor model switching replaces the engine. Multi-GPU/distributed serving and priority/QoS are outside the current implementation. Tool calls are returned to clients; NInfer does not execute them. The in-tree C++ headers are not an installed SDK.
- Documentation index: user guides, model/artifact references, and maintainer contracts.
- HTTP serving: protocol behavior, authentication, structured output, scoring, and telemetry.
- Context reuse and scheduling: retention and pressure recovery.
- Performance index: all published coverage, including experimental profiles.
- Contributing: development and review workflow.
Run the relevant executable's --help for exact options and defaults.
The original engine and upstream Qwen artifacts are the work of Neroued/ninfer and its contributors. This fork maintains the Windows, workstation, Flash-Next, and application-serving additions; upstream measurements retain their own provenance.
NInfer is licensed under Apache-2.0. Model artifacts retain their source licenses and
provenance; see their model cards and conversion references. Vendored dependencies retain their
license files under third_party/.
JPEG decoding uses libjpeg. This software is based in part on the work of the Independent JPEG Group.