{"slug": "show-hn-running-a-27b-llm-with-176k-context-on-a-single-rtx-4090", "title": "Show HN: Running a 27B LLM with 176K context on a single RTX 4090", "summary": "An independently maintained C++/CUDA inference project, NInfer-all RTX 4090, released a v0.1.8 portable Windows binary that runs a Qwen3.8-27B IQ3_S model with DFlash2 speculative decoding on a single 24 GB RTX 4090, recording 146.6 tok/s median and 215.5 tok/s P90 across 1,831 completed requests. The project reports a 196,608-token configured context in which DFlash2 K7 fixed solved 115/115 synthetic coding fixtures in 900 seconds at 267.70 tok/s decode, versus 133.50 tok/s with no drafter, and a separate 163,047-token prompt screening reached 162.05 tok/s DFlash2 decode. The builds target Ada Lovelace sm_89 with CUDA 13.4 and expose OpenAI- and Anthropic-compatible APIs, with the project cautioning that the throughput figures are workload-specific observations rather than guaranteed rates or comparisons with other inference engines.", "body_md": "**Run local large language models on NVIDIA GeForce RTX 4090 (24 GB) with native Ada Lovelace SM89 CUDA kernels, a portable Windows build, and OpenAI-compatible serving.** An independently maintained C++/CUDA inference project derived from [NInfer-all](https://github.com/iamwavecut/ninfer-all), focused on reproducible inference performance, numerical correctness and long-context stability.\n\n**[Hugging Face model collection](https://huggingface.co/collections/SPK1337/ninfer-rtx-4090-local-llm-models-6b0aa2a573427605f5acb6f8)** · **[Project website](https://spk-c.github.io/ninfer-all-rtx4090/)** · **[Download Windows binaries](https://github.com/spk-c/ninfer-all-rtx4090/releases)** · [RTX 4090 guide](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/rtx4090.md) · [Built-in Monitor](#built-in-live-monitoring-dashboard) · [Model artifacts](#supported-models) · [Benchmarks](#rtx-4090-benchmarks) · [Build from source](#build-from-source-windows) · [FAQ](#rtx-4090-local-llm-faq) · [Upstream documentation](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/README.md)\n\n**Start with the v0.1.8 portable binary, no local CUDA compilation needed.** Recorded serving throughput for a Qwen3.8-27B IQ3_S model with DFlash2 on one RTX 4090: **146.6 tok/s median, 215.5 tok/s P90** across 1,831 completed requests. These are workload-specific observations, not guaranteed rates or a comparison with other inference engines. [Measurement details](#real-world-serving).\n\nIf you use NInfer-all RTX 4090 or want to follow its development, consider starring the repository and sharing your own reproducible results. [Watch releases](https://github.com/spk-c/ninfer-all-rtx4090/releases) · [Report an issue or benchmark](https://github.com/spk-c/ninfer-all-rtx4090/issues/new/choose).\n\n| Area | RTX 4090 focus | \n|---|---|\n| Native GPU target | Ada Lovelace, compute capability 8.9, native `sm_89` Windows x64 builds with CUDA 13.4 | \n| Local LLM serving | OpenAI- and Anthropic-compatible APIs, CLI and model-specific launch profiles | \n| Model families | Qwen3.5/3.6/3.8, Flash-Next, Ternary Bonsai 2/2.5, Gemma 4, Flint, DeepSeek-V4.1 and Inkling 2 via upstream | \n| Speculative decoding | DFlash2, DSpark, MTP and other model-dependent draft backends; measured draft-width and prefill tuning | \n| Quantization and memory | GGUF conversion, IQ3_S/IQ4_XS, quantized KV cache, hybrid prefix caching and model-dependent host/disk expert residency | \n| Built-in monitoring | Read-only browser dashboard, live token rates, NVIDIA GPU sensors, DFlash2 acceptance, KV occupancy and request metadata | \n| Engineering | Device calibration, CUDA Graph experiments, regression tests, raw benchmark evidence and reproducible builds | \n\nModel support is inherited from upstream; not every model or context fits in 24 GB VRAM or has been independently validated by this project. Use a compatible converted `.ninfer` artifact, not an arbitrary GGUF file.\n\n[Model card and download](https://huggingface.co/SPK1337/Inkling-2-Mini-Uncensored-AD-IQ3S-Modern-NInfer-v3) · 13.90 GiB native NInfer v3 artifact, premerged AtomicChat AD-IQ3_S weights (not GSQ-RCO), vision, DFlash2 and DSpark. No separate Rank-1 adapter is needed. Tested with v0.1.8 on RTX 4090, RK8V4.\n\n| Local agent-style coding, 196,608 configured context | Solved in 900 s | Decode | \n|---|---|---|\n| DFlash2 K7 fixed | 115/115 | 267.70 tok/s | \n| DSpark K3 fixed | 105/105 | 235.03 tok/s | \n| No drafter | 69/69 | 133.50 tok/s | \n\nSeparate 163,047-token prompt screening reached 162.05 tok/s DFlash2 decode. Repeated synthetic coding fixtures, not a standardized coding score or a matched comparison to Rank-1. The original Rank-1 artifact remains available.\n\n[Rank-1 experiment tools and reproduction layout](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2-rank1-tools.md).\n\nThe experimental fixed AtomicChat Rank-1 implementation preserves the original ISTA-DASLab GSQ-RCO IQ3_S weights and adds native adapter support for Inkling 2 on SM89.\n\n| RTX 4090, RK8V4, DFlash2 K7 | Original | Rank-1 | \n|---|---|---|\n| HumanEval, matched chat-adapted protocol | 160/164 (97.56%) | 160/164 (97.56%) | \n| Mean decode over 164 tasks | 303.61 tok/s | 288.30 tok/s | \n\nA separate synthetic retrieval test recovered 3/3 keys at 250,006 input tokens. Results are workload-specific, not canonical completion-format HumanEval scores or a guarantee of general coding parity. Vision, tool calling, DSpark and CUDA Graphs have passed local smoke tests.\n\n- [Model repository on Hugging Face](https://huggingface.co/SPK1337/Inkling-2-Mini-Uncensored-GSQ-RCO-IQ3_S-NInfer-v3) — 12.08 GiB, publicly available; experimental Rank-1 model.\n- [Current compatibility requirements, provenance and benchmark methodology](https://huggingface.co/SPK1337/Inkling-2-Mini-Uncensored-GSQ-RCO-IQ3_S-NInfer-v3) .\n- [Runtime integration and tests](https://github.com/spk-c/ninfer-all-rtx4090/pull/66) .\n\nThe guarded model requires a runtime recognizing `inkling2_rank1_v1`. Use the [regular v0.1.8 Windows release](https://github.com/spk-c/ninfer-all-rtx4090/releases/tag/rtx4090-v0.1.8) or a later compatible runtime. Rank-1 remains experimental, with single-GPU device-resident experts only.\n\nOne fixed 30-token coding prompt, 512 committed tokens, RK8V4: no draft 108.3, DSpark K3 240.7 and DFlash2 K7 302.2 tok/s, identical outputs on that prompt. Historical development measurements, not general throughput or a new exact-release benchmark. [Full model card](https://huggingface.co/SPK1337/Inkling-2-Mini-Uncensored-GSQ-RCO-IQ3_S-NInfer-v3).\n\n**Monitor local inference directly in your browser.** NInfer Monitor is compiled into `ninfer-serve`, including the portable Windows release. No separate Python process, external assets or cloud service is required.\n\n*Screenshot of the actual v0.1.8 native dashboard rendered with synthetic demonstration data. Values are illustrative, not live readings or benchmark results. [Full-size screenshot](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/images/monitor/monitor-desktop.png) · [Mobile screenshot](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/images/monitor/monitor-mobile.png).*\n\n| Monitoring area | Available metrics | \n|---|---|\n| Inference | Decode and computed prefill rates, live throughput charts | \n| NVIDIA GPU | Utilization, VRAM, temperature and power via optional NVML | \n| DFlash2 | Accepted/drafted model tokens from matching events in the last 50 requests | \n| Memory and queue | Device KV occupancy, context limit, running/waiting requests | \n| Server activity | Completed/rejected/failed requests, uptime and reused prompt tokens | \n| Request history | Last 50 request events with status, token counts, decode speed and duration; no prompt or response text in this feed | \n\nStart `ninfer-serve` normally and open the dashboard in your browser:\n\n```\nhttp://127.0.0.1:8080/monitor\n```\n\nReplace `8080` with your configured `--port` (for example `8099`). If API-key authentication is enabled, enter the key in the dashboard password field. Telemetry is read-only and refreshes every three seconds. The optional test chat sends a request only when explicitly submitted. Keep the server bound to localhost unless remote access is deliberately secured. Rates are interval-based server counters, not standardized benchmark measurements; unavailable NVML sensors are displayed as a dash.\n\n[Technical documentation](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/monitor-dashboard.md) · [English feature page](https://spk-c.github.io/ninfer-all-rtx4090/monitor.html) · [Deutsche Funktionsseite](https://spk-c.github.io/ninfer-all-rtx4090/monitor-de.html) · [Optional Python monitor](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/tools/monitor/README.md)\n\n1. Download the **[latest stable Windows release](https://github.com/spk-c/ninfer-all-rtx4090/releases/latest)** (CUDA 13.4 / SM89). Prereleases are listed separately on the[releases page](https://github.com/spk-c/ninfer-all-rtx4090/releases) .\n2. Download every `.7z.*` volume and its SHA-256 manifest. Verify the checksums, then extract`.7z.001` using 7-Zip. Keep the backend directories intact.\n3. Install a compatible NVIDIA driver and Microsoft Visual C++ 2022 runtime. The portable package does not require the CUDA Toolkit.\n4. In the extracted directory, download and run a supported model:\n\n```\n.\\download-model.bat qwen38-27b\n.\\run.bat qwen38-27b\n```\n\nThe launcher serves a local API at `http://127.0.0.1:8080/v1`. Model weights are downloaded separately; the archive does not contain them.\n\n```\nInvoke-RestMethod http://127.0.0.1:8080/v1/models\n```\n\nUse a model ID returned by this endpoint in your OpenAI-compatible client. The launcher can reduce its context when memory is insufficient. Keep the server bound to localhost unless you configure appropriate authentication and network access controls.\n\nOptional: [checksum-verified installer and GUI launcher](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/rtx4090-windows-setup.md).\n\nSee the [Windows archive guide](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/release-archive-windows.md), [CLI options](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md) and [launch recipes](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/recipes.md).\n\n- [Native SM89 CUDA: routing, calibration and qualification](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/articles/sm89-native.md)\n- [DFlash2 and MTP on SM89: draft width and memory](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/articles/sm89-speculation.md)\n- [Interactive Monitor development preview](https://spk-c.github.io/ninfer-all-rtx4090/monitor-demo.html) — synthetic metrics and simulated chat, no live server access; not the stable release.\n\n[Huihui Qwen3.8-27B GSQ-RCO IQ3_S Vision + DFlash2 + MTP](https://huggingface.co/SPK1337/Huihui-Qwen3.8-27B-Uncensored-GSQ-RCO-IQ3S-Vision-DFlash2-MTP-NInfer), RTX 4090, CUDA 13.4, DFlash2 K=5:\n\n| Metric | Observed | \n|---|---|\n| Completed requests | 1,831 | \n| Median decode throughput | 146.6 tok/s | \n| P90 decode throughput | 215.5 tok/s | \n| Median long-prefill throughput (316 requests) | 2,345 tok/s | \n\n[Serving-log methodology and limitations](https://huggingface.co/SPK1337/Huihui-Qwen3.8-27B-Uncensored-GSQ-RCO-IQ3S-Vision-DFlash2-MTP-NInfer/blob/main/BENCHMARK-RTX4090.md). These are observed per-request rates, not a controlled project-versus-upstream comparison or guaranteed throughput.\n\nFive-arm follow-up, candidate `859d76b7` with **default settings**, versus v0.1.3; same Huihui model and repeated corpus, 512 decode tokens, two repetitions per arm:\n\n| Context | v0.1.3 decode | Candidate decode | Delta | \n|---|---|---|---|\n| 32K | 262.78 tok/s | 260.46 tok/s | -0.88% | \n| 64K | 245.67 tok/s | 250.22 tok/s | +1.85% | \n| 128K | 214.29 tok/s | 220.86 tok/s | +3.07% | \n\nA subsequent development candidate (`2d37ef0a`) recorded +1.89% at 176,128 and +3.07% at 196,608 context in two-pair tests. The earlier 128-token decode campaign showed regressions; neither result establishes a general speedup or qualifies the v0.1.4 release binary.\n\n[Full long-context report](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/rtx4090-long-context-ab-2026-11-25.md) · [Raw five-arm results](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/profiles/bench/rtx4090-neroued-factorial-20261125) · [Tuning results](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/profiles/bench/rtx4090-neroued-tuning-20261125) · [Huihui qualification](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/rtx4090-huihui-iq3s-dflash2.md)\n\nThe exact published binary completed Bonsai 2.5 MTP3 and a Huihui no-copy DFlash2/MTP draft-width sweep, with 2,048 input and 128 timed decode tokens. Short fixed-corpus results are not serving throughput or general speed claims. [Report and machine-readable data](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/rtx4090-v014-bonsai-and-draft-2026-11-26.md). [Limited llama.cpp HTTP pilot (different outputs and cache formats)](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/rtx4090-v014-llama-cpp-pilot-2026-11-26.md).\n\nExact release binary, one RTX 4090, Huihui IQ3_S DFlash2; fixed K7, prefill 4096, RK4V4, no N-gram during the controlled Engine sweep (two repeats per cell):\n\n| Context | K5 decode | K7 decode | \n|---|---|---|\n| 64K | 242.75 tok/s | 272.74 tok/s | \n| 128K | 206.39 tok/s | 240.60 tok/s | \n| 176128 | 214.87 tok/s | 263.93 tok/s | \n\nSeparate exact-rename tests with ~21.4K-token source prompts reached 568.1 tok/s mean decode with N-gram 15 vs 256.7 without (4/6 exact outputs in both arms). Concurrent prefill reduced short-request TTFT from 21.28 to 1.16 s while a long prompt was prefilling; overall pair time was unchanged. 143 measurements, zero reported infrastructure errors. Workload-specific results, not general serving rates or cross-engine comparisons. Experimental graphs and cuBLAS remain opt-in.\n\n[Controlled report](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/rtx4090-v014-long-context-2026-11-26.md) ·\n[Coding and concurrency](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/rtx4090-v014-coding-2026-11-26.md) ·\n[Measured K7 preset](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/configs/rtx4090-huihui-dflash2-k7.ini) ·\n[Raw numerical results](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/profiles/bench/rtx4090-v014-long-coding-20261126)\n\nOne observed request per length with 2,048 output tokens; not comparable to the separate Engine or Inkling benchmarks. [Full report](https://huggingface.co/SPK1337/Huihui-Qwen3.8-27B-Swift1.5-Abliterated-IQ3S-DFlash2-NInfer/blob/main/BENCHMARK.md). [Machine-readable chart data](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/public-benchmarks-v018.json).\n\n- **v0.1.3:** published portable Windows archive verified on a real RTX 4090 with two successful real-model smoke requests.[Verification evidence](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/releases/rtx4090-v0.1.3-gpu-verification.md) .\n- **v0.1.8:**[latest regular Windows release](https://github.com/spk-c/ninfer-all-rtx4090/releases/tag/rtx4090-v0.1.8) , native SM89 CUDA 13.4, exact extracted archive smoke verified with Inkling 2 DFlash2 K7, DSpark K3 and Qwen DFlash2 K7. Source`71b5582` ; no exhaustive or long-duration qualification implied.\n- **v0.1.4:**[previous stable Windows release (real GPU smoke verified)](https://github.com/spk-c/ninfer-all-rtx4090/releases/tag/rtx4090-v0.1.4) , with upstream sync, SM89 architecture backports, opt-in flat draft/target graphs, attention buckets, bounded startup calibration and restricted live KV-pressure replay.[Exact release verification](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/releases/rtx4090-v0.1.4-gpu-verification.md) . See[PR #44](https://github.com/spk-c/ninfer-all-rtx4090/pull/44) and the[release pipeline](https://github.com/spk-c/ninfer-all-rtx4090/actions/workflows/rtx4090-auto-release.yml) .\n- Experimental graph, recovery and arithmetic paths remain opt-in. A successful hosted build is not real-GPU validation; a prerelease requires independent hardware qualification before stable promotion.\n\nRequirements: Visual Studio 2022 C++ Build Tools, CMake, Ninja, CUDA 13.4, a compatible NVIDIA driver and the documented project dependencies.\n\n```\ngit clone https://github.com/spk-c/ninfer-all-rtx4090.git\ncd ninfer-all-rtx4090\n.\\scripts\\build-rtx4090.ps1 -Test\n.\\build-rtx4090\\apps\\ninfer-calibrate.exe --device 0 --detail\n```\n\nThe wrapper uses a separate `build-rtx4090` directory. Follow the [RTX 4090 guide](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/rtx4090.md) for dependency setup and alternate toolkit versions.\n\n```\n.\\scripts\\benchmark-rtx4090.ps1 -Model 'C:\\models\\model.ninfer' -Preset smoke\n.\\scripts\\benchmark-rtx4090.ps1 -Model 'C:\\models\\model.ninfer' -Preset core\n```\n\nFor source-to-source comparisons, use matching weights, toolkit, driver, context, KV format, prompt and GPU conditions. See the [paired A/B workflow](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/rtx4090.md#compare-current-upstream-against-this-rtx-4090-fork).\n\n**Can I run a 27B LLM locally on a 24 GB RTX 4090?** Yes, with a compatible quantized artifact and suitable memory settings. The published v0.1.3 package has a real-model smoke test on the Huihui Qwen3.8-27B IQ3_S DFlash2 artifact. Context size, vision, concurrent sequences and draft weights also consume VRAM. See the [verified setup](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/releases/rtx4090-v0.1.3-gpu-verification.md).\n\n**Does NInfer support GGUF, DFlash2 and MTP?** NInfer uses converted `.ninfer` artifacts, including supported GGUF-derived quantizations. DFlash2 and MTP require compatible model and draft components. See [GGUF formats](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gguf.md), [speculative decoding options](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#speculative-decoding) and [model downloads](#supported-models).\n\n**Can I use a local OpenAI-compatible API for coding agents and chat clients?** Yes. Use the local base URL `http://127.0.0.1:8080/v1` and the served model ID. API features vary with the model and client; consult the [serving reference](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md) for tool calls, structured output and supported endpoints.\n\n**How do I choose the context window, KV cache and draft count?** Start with the documented launcher defaults. Compare `rk4v4` and `rk8v4`, prefill chunk size and speculative draft width on your specific model before changing settings. [RTX 4090 tuning guide](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/rtx4090.md) and [long-context evidence](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/rtx4090-long-context-ab-2026-11-25.md) explain the tradeoffs.\n\n**Is NInfer faster than llama.cpp, Ollama or vLLM?** No universal ranking is established by the published RTX 4090 evidence. NInfer is a separate native C++/CUDA engine, not a frontend for those runtimes. A fair comparison needs the same hardware, model, quantization, context, sampling settings and workload, and must report quality and memory as well as throughput.\n\nNInfer-all RTX 4090 is an independent repository with its own development, validation and release process. It retains the original NInfer-all Git history, multi-GPU engine, model support and documentation. Upstream changes can continue to be integrated through Git and validated against the RTX 4090 target. Credit goes to [iamwavecut/ninfer-all](https://github.com/iamwavecut/ninfer-all), [Neroued/ninfer](https://github.com/Neroued/ninfer), [Don-Chad/ninfer-3090](https://github.com/Don-Chad/ninfer-3090) and all [contributors](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/CONTRIBUTORS.md). Licensed under [Apache-2.0](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/LICENSE); redistributed CUDA libraries have separate NVIDIA terms.\n\nReport reproducible RTX 4090 issues with your commit/version, driver, model artifact, launch flags and relevant logs using the [issue templates](https://github.com/spk-c/ninfer-all-rtx4090/issues/new/choose). Independent performance results, including negative results, are welcome. Start an issue before proposing an implementation; see [CONTRIBUTING.md](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/CONTRIBUTING.md).\n\nA C++/CUDA inference engine for the Qwen3.5 model family (Qwen3.6 and Qwen3.8 27B, Qwen3.6-35B-A3B,\ntheir fine-tunes, Ternary Bonsai 2 and 2.5 and the 27B looped by Jason Titus's adapter), Qwen3.8-Flash-Next and Edge0's latent-MoE models built on it,\nGemma 4 26B-A4B and 31B, Recursive's Flint, DeepSeek-V4.1-Flash and Thinking Machines' looped\nInkling 2 Mini, on NVIDIA GPUs from Volta to consumer Blackwell, from 8 GB of memory. It serves the\nOpenAI, Anthropic and llama.cpp APIs from one GPU, or from up to eight as pipeline stages on Linux. The same chat model\nanswers [typed decisions](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#typed-decisions): choice, yes/no and score questions about\na state, each option with its probability, through TypeSafe's System One and OpenAI's Decisions APIs.\n\n**[What's New](#whats-new)** · [Quick start](#quick-start) · [Supported GPUs](#supported-gpus) · [Supported Models](#supported-models) ·\n[Highlights](#highlights) · [Features](#features) · [Docker](#docker) · [Building](#building) ·\n[Documentation](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/README.md)\n\nNInfer-all continues [NInfer](https://github.com/Neroued/ninfer) through the NInfer-3090 line and\ncarries the work of several forks; [CONTRIBUTORS.md](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/CONTRIBUTORS.md) credits each of them.\n\nNote\n\n**Support GPU testing.** Choose a custom amount on [GitHub Sponsors](https://github.com/sponsors/iamwavecut)\nto help cover GPU rentals for correctness checks, kernel tuning, and benchmarks.\nThis is a voluntary contribution without sponsor benefits.\nFor compute credits, GPU access, or individual sponsorship terms,\n[contact the maintainer](https://selit.ski/#contact) directly.\n\n- **2026-12-01:**[W4A4 GGUF experts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gguf.md#products) ; faster[Inkling 2 prefill](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#what-runs) ; Inkling 2's[LoopCD-Logits](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#loopcd-logits) .\n- **2026-11-30:**[Looped Qwen3.8-27B](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/looped-qwen.md) ,[published](#looped-qwen38-27b) ;[loop adapters](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/looped-qwen.md#running) for dense Qwen3.5-core models; Inkling 2's[LoopCD-Hidden](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#loopcd-hidden) ; typed decisions[reasoning on near ties](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#typed-decisions) ;[hot expert placement](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md#expert-parallelism-of-the-other-moe-families) ; faster Inkling 2[UD-Q8_K_XL prefill](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#ud-q8_k_xl) .\n- **2026-11-29:** Faster[Gemma 4](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gemma4.md#what-runs) ,[Flint](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/flint.md#what-runs) ,[Qwen3.6-35B-A3B](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/qwen3_5-model.md#prefill-decode-and-mtp) and[GGUF](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gguf.md#products) decode.\n- **2026-11-28:**[Up to 64 requests](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance.md#up-to-64-requests-at-once) in every family; Qwen3.5-core[MTP beside them](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#execution-behavior) ;[request parking](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#parking) ; prompts[paced to the decode round](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#execution-behavior) ;[router draining](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#several-models-router) ;[shared prompt passes](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance.md#shared-prompt-passes) and[prompt spans](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance.md#prompt-spans-with-host-and-disk-experts) ; faster[many-request decode](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance.md#up-to-64-requests-with-host-experts) ,[Bonsai tensor parallelism](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md#tensor-parallelism) and[Inkling 2 prefill](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#what-runs) .\n- **2026-11-27:**[Tess-4.5-26B-A3B](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#tess-45) ;[up to 64 requests](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance.md#up-to-64-requests-at-once) in Qwen3.5-core models; wider[sampling ranges](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#common-options) ;[Gumbel-sampled DSpark drafts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#speculative-decoding) ; a[KV host tier](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#kv-host-tier) ;[models from Hugging Face](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#artifacts-from-the-hugging-face-hub) ; an[MTP attention window](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#mtp-attention-window) ;[expert route bias](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#route-bias-toward-held-experts) ; Gemma 4 31B[DFlash and DSpark drafters](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gemma4.md#dflash-and-dspark-drafters-for-the-31b) ; a faster[CPU expert share](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#the-cpu-share) .\n- **2026-11-26:** Inkling 2[GSQ-RCO artifacts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#gsq-rco) ; IQ2_XS in the[CPU expert share](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#the-cpu-share) ;`https://` MCP servers in the[WebUI](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#webui) .\n- **2026-11-25:**[Ternary Bonsai 2.5 27B](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/bonsai-2-5-2026-11.md) ,[published](#supported-models) ;[PTQ1_0 ternary blocks](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gguf.md#formats) ; Inkling 2[MXFP8 expert banks](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#ud-q8_k_xl) .\n- **2026-11-24:** Inkling 2[DFlash2 drafting](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#dflash2) and[shared loop KV](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#shared-loop-kv) ; faster Inkling 2[DSpark drafting](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#what-runs) and[long prompts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#long-contexts) , and[host and disk experts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#the-expert-cache) in every MoE family.\n- **2026-11-23:** vLLM's[`bad_words`](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#banned-words) ;[`--no-structured-output-instruction`](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#structured-output) ; Inkling 2[on Turing](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#long-contexts) ;[device profiles](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gpus.md) for six more GPUs; faster[Inkling 2](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#long-contexts) ,[Flint](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/flint.md#kv-cache) ,[Gemma 4](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gemma4.md#what-runs) ,[Flash-Next prefill](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#execution) and[NVFP4 prompts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/device-profiles.md#what-is-calibrated) .\n- **2026-11-22:**[POST /shutdown](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#stop-the-server) and[POST /v1/answer_now](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#answer-now) ;[Inkling 2](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#kv-cache) and[Flint](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/flint.md#kv-cache) KV formats; a[disk context cache and session slots](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#context-cache-of-the-other-families) in every family;[thinking budgets](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#openai-chat-completions) in more families; faster Inkling 2[long contexts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#long-contexts) .\n- **2026-11-21:**[Inkling 2 Mini](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md) and its[published artifacts](#inkling-2-mini) .\n- **2026-11-20:** Faster[GGUF prompts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/device-profiles.md#what-is-calibrated) ;[device profiles](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gpus.md) for nine more GPUs.\n- **2026-11-19:**[Gemma 4 31B](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gemma4.md#gemma-4-31b) ,[published](#supported-models) ;[Basalt conversion](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/basalt-conversion.md) ;[Q8PLE n-gram tables](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#q8ple-tables) ; Flash-Next[FP16 KV](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#native-fp16-kv) .\n- **2026-11-16:** System One[image boxes and image URLs](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#image-boxes) ; Qwen3.8-27B GGUFs with a[condensed vocabulary](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/weight-conversion.md#a-condensed-vocabulary) .\n- **2026-11-13:**[Edge0-145B and Edge0-120B](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/edge0.md) ,[published](#supported-models) ; ggml's[NVFP4 blocks](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gguf.md) ; Flash-Next and Edge0[sharing n-gram tables](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#another-table-of-the-same-shape) ;[DSpine drafting](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#speculative-decoding) with a[Qwen3.8-27B drafter](https://huggingface.co/WaveCut/Qwen3.8-27B-DSpine-b16-NInfer-v3) ;[adaptive MTP](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#adaptive-mtp) ; DeepSeek-V4.1[hot Engram rows](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#the-hot-row-profile) .\n- **2026-11-12:**[Launch configuration files](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#launch-configuration-files) ,[one per launch recipe](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/recipes.md) .\n- **2026-11-11:** Faster[prefill](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/qwen3_5-model.md#prefill-decode-and-mtp) and[request preparation](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/qwen3_5-model.md#request-preparation) ;[disk expert reads](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/expert-disk-reads.md) from a second drive or into GPU memory;[Gumbel-max sampling](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#speculative-decoding) .\n- **2026-11-10:**[DFlash2 for Qwen3.6-35B-A3B](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#speculative-decoding) ; Flash-Next[Unsloth v3.1 artifacts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#convert) ; the hybrid cache[with pipelines and tensor parallelism](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#server-options) ; DeepSeek-V4.1[FP8/FP4 caches](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#what-runs) and[GPU drafter experts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#the-drafters-experts) ;[`bf16p` KV](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#context-and-memory) ; faster Flash-Next[prefill](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#expert-placements) and[decode](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#execution) ,[cached prompts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/hybrid-prefix-cache-spec.md#72-in-pass-exact-taps) and[context lookup](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/flint.md#measurements) .\n- **2026-11-07:** Flash-Next[media prompts in the context cache](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#media-conversations-on-one-rtx-4090) and[MTP drafts for media requests](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#mtp-speculative-decoding) .\n- **2026-11-06:** Faster Q4_K[prompts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/device-profiles.md#what-is-calibrated) .\n- **2026-11-05:** Faster DeepSeek-V4.1[prefill tail](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#the-prefill-tail) ,[IQ1_M expert prompts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#iq1_m-experts-in-prompt-chunks) and[Engram reads](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#the-engram-table) .\n- **2026-11-04:** Flash-Next[DFlash2 drafting](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#dflash2-speculative-decoding) ; DeepSeek-V4.1[Coder](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#running) and[llama.cpp-layout conversion](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#converting) ; faster Flash-Next[tensor parallelism](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md#tensor-parallelism-of-qwen38-flash-next) and[host-expert concurrency](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#sequences-kv-and-the-context-cache) ,[tensor-parallel prompts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md#tensor-parallelism) and[expert parallelism](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md#expert-parallelism-of-the-other-moe-families) .\n- **2026-11-03:** Faster[tensor parallelism](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md#tensor-parallelism) for Qwen3.5-core models; llama.cpp[control vectors and LoRA adapters](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#lora-adapters-and-control-vectors) .\n- **2026-11-02:**[Tensor-parallel peer writes](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md#tensor-parallelism) .\n- **2026-10-30:**[Bundled media libraries](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/release-archive-linux.md#media-libraries) ;[pre-Blackwell NVFP4](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#common-options) ; Qwen3.5 FP32 logits; a faster first request;[prefill pacing](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#execution-behavior) .\n- **2026-10-29:** Faster[tensor-parallel prefill](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md#tensor-parallelism) .\n- **2026-10-27:** Faster[tensor parallelism](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md#tensor-parallelism) ; Qwen3.5[invariant attention](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/qwen3_5-model.md#invariant-attention) ; DeepSeek-V4.1's[STQ drafter](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#the-stq-drafter) .\n- **2026-10-26:** Faster Flash-Next[disk experts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#expert-placements) ;[tensor parallelism](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md#tensor-parallelism) for every dense format and DFlash;[expert parallelism](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md#expert-parallelism-of-the-other-moe-families) in every MoE family; DeepSeek-V4.1[CPU expert share, DSpark drafting and images](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md) .\n- **2026-10-25:**[DeepSeek-V4.1-Flash](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md) ; tensor parallelism for dense Qwen3.5-core models.\n- **2026-10-24:** Faster[Flint](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/flint.md#measurements) .\n- **2026-10-23:**[Flint](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/flint.md) ;[native releases](https://github.com/iamwavecut/ninfer-all/releases/latest) for Windows and Debian 13.\n- **2026-10-22:**[Typed decisions](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#typed-decisions) ; YaRN in every family.\n- **2026-10-20:** A[CPU share of host experts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#the-cpu-share) .\n- **2026-10-18:** The hybrid prefix cache by default in the server.\n- **2026-10-17:**[Pipeline stages across GPU architectures](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/build-linux.md#cards-of-several-architectures-in-one-pipeline) .\n- **2026-10-16:**[Device profiles](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gpus.md) for 36 more GPUs; Gemma 4 and Qwen MoE experts in host memory or on disk.\n- **2026-10-14:** Turing: the[TITAN RTX](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/titan-rtx-2026-10.md) and RTX 20 series.\n- **2026-10-12:** Volta: the[Tesla V100](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/tesla-v100-2026-10.md) .\n- **2026-10-11:**[Gemma 4 26B-A4B](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gemma4.md) with MTP, images and video.\n- **2026-10-06:**[Qwen3.8-Flash-Next](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md) .\n- **2026-09-26:** NInfer-all and[Qwen3.8-27B GSQ-RCO IQ3_S](https://huggingface.co/WaveCut/Qwen3.8-27B-GSQ-RCO-IQ3_S-NInfer-v3) .\n- **2026-09-23:**[Ternary Bonsai 2 27B](https://huggingface.co/WaveCut/Ternary-Bonsai-2-27B-NInfer-v3) .\n\nDownload an artifact ([all models](#supported-models)) and serve it from the [Docker image](#docker). The server\nspeaks the OpenAI and Anthropic APIs on [http://localhost:8080/v1](http://localhost:8080/v1), answers typed decisions there, and\neach card picks up its device profile on its own.\n\n```\nhf download WaveCut/Ternary-Bonsai-2-27B-NInfer-v3 Ternary-Bonsai-2-27B-ninfer-v3.ninfer --local-dir models\n\ndocker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 \\\n  -v \"$PWD/models:/models\" -v ninfer-cache:/cache \\\n  ghcr.io/iamwavecut/ninfer-all:cuda13.4 serve /models/Ternary-Bonsai-2-27B-ninfer-v3.ninfer \\\n  --model-id bonsai2-27b --max-context 262144 --kv-capacity 262144 --kv-dtype rk8v4 \\\n  --gdn-state-fp16 --spec dflash2 --draft-tokens 5\n\ncurl http://localhost:8080/v1/chat/completions -H 'Content-Type: application/json' \\\n  -d '{\"model\":\"bonsai2-27b\",\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}'\n\ncurl http://localhost:8080/v1/systemone -H 'Content-Type: application/json' -d '{\n  \"state\": {\"ticket\": \"My card was charged twice for one order.\"},\n  \"questions\": {\n    \"team\": {\"type\": \"choice\", \"instructions\": \"Which team should handle this?\",\n             \"criteria\": {\"billing\": \"payments and refunds\", \"shipping\": \"deliveries\"}},\n    \"urgent\": {\"type\": \"noul\", \"instructions\": \"Does the customer need a reply within the hour?\"}}}'\n```\n\nThe second request is a [typed decision](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#typed-decisions): each answer comes with the\nprobability of every option, read from the model's first-token log probabilities of the labels.\n\nFlags for every model and memory size, from an 8 GB card to the largest context: [launch recipes](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/recipes.md),\neach also a [configuration file](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#launch-configuration-files) in `configs/` that `--config`\nreads.\n\n## **Without Docker** — the same flags on a build\n\n```\nninfer-serve models/Ternary-Bonsai-2-27B-ninfer-v3.ninfer --model-id bonsai2-27b \\\n  --max-context 262144 --kv-capacity 262144 --kv-dtype rk8v4 --gdn-state-fp16 \\\n  --spec dflash2 --draft-tokens 5\n\n# The same options from the repository's configuration file.\nninfer-serve --config configs/bonsai2-27b-dflash2.ini\n\n# The repository in place of the path: the file is fetched into the Hugging Face cache first.\nninfer-serve WaveCut/Ternary-Bonsai-2-27B-NInfer-v3 --model-id bonsai2-27b \\\n  --max-context 262144 --kv-capacity 262144 --kv-dtype rk8v4 --gdn-state-fp16 \\\n  --spec dflash2 --draft-tokens 5\n```\n\nA build listens on 127.0.0.1:8080 unless `--host` and `--port` say otherwise. [Building](#building) shows\nhow to make one.\n\nNVIDIA GPUs from Volta (compute capability 7.0) to consumer Blackwell (12.0), from 8 GB of memory:\nTernary Bonsai 2 27B runs on an 8 GB RTX 3060 Ti, and Qwen3.8-Flash-Next streams its experts from\nhost memory or disk through 8 GB. The two [Docker images](#docker) each contain all NInfer targets\nfor their CUDA version in a shared runtime: CUDA 12.9 includes Volta, and CUDA 13.4 includes Blackwell.\nThe native release pipeline also assembles a portable Windows or Linux package with **both** CUDA\nbackends: `ninfer-<os>-x64-cuda12.9-13.4-<commit12>`. Its small command executables share one\nruntime per CUDA family. The launcher selects CUDA 12 for Volta, CUDA 13 for consumer Blackwell,\nand prefers CUDA 13 on overlapping targets when the driver supports it. All selected `--devices`\nmust fit one backend. Use `--cuda-backend auto|12|13` to select it explicitly. No CUDA Toolkit\ninstallation is needed. Keep `backends/` and `help/` beside the executables. Linux also needs the\nrecorded Debian system libraries. `--help` and `--version` do not load CUDA.\n\nEvery card by name, with what has run on it:\n[Supported GPUs](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gpus.md).\n\n*Click a section to expand it.*\n\n## **Architectures and builds** — six architectures, two CUDA variants\n\n| Architecture | Compute capability | Build | CUDA | Docker tags | Status | \n|---|---|---|---|---|---|\n| Blackwell: GeForce RTX 50, RTX PRO Blackwell | 12.0 | `120a` | 13.1 or newer, not 13.2.0 or 13.2.1 | `cuda13.4` | measured; built-in device profiles | \n| Ada Lovelace | 8.9 | `89` , or the`86` build | 12.8 or newer | both, native `89` | measured; built-in device profiles | \n| Ampere | 8.6 | `86` (the default) | 12.8 or newer | both | measured (the reference card); built-in device profiles | \n| Ampere, A100 class | 8.0 | `80` | 12.8 or newer | both | built-in device profiles; not benchmarked | \n| Turing | 7.5 | `75` | 12.8 or newer | both | measured; built-in device profiles | \n| Volta | 7.0 | `70` | 12.8 or 12.9 | `cuda12.9` | measured; built-in device profiles | \n| Hopper; data-center Blackwell; GB10; Pascal and older |  | none |  |  | no build | \n\n## **What fits in your GPU memory** — measured, from 8 GB to 48 GB\n\n| GPU memory | Runs | Measured on | \n|---|---|---|\n| 8 GB | Ternary Bonsai 2 27B (24,576 tokens with `rk4v4` , no MTP); Qwen3.8-Flash-Next and Inkling 2 Mini with their experts in host memory or on disk | RTX 3060 Ti; RTX 5060 for Inkling 2 Mini | \n| 11 GB | Ternary Bonsai 2 27B (196,608 tokens with `rk4v4` ; 139,264 with MTP) | RTX 2080 Ti | \n| 12 GB | Ternary Bonsai 2 27B (266,240 tokens); Qwen3.8-27B GSQ-RCO IQ3_S (8,192 tokens, no MTP); Inkling 2 Mini with its experts in host memory | RTX 3060; also the RTX 5070 for Inkling 2 Mini | \n| 16 GB | Gemma 4 26B-A4B Q4_0 (61,440 tokens); Qwen3.8-27B IQ3_S (241,664 tokens); the official Qwen3.8-27B with `--embedding-q4 --lm-head-q4` ; Inkling 2 Mini with its experts in host memory | Tesla V100-SXM2-16GB; RTX 5080, 5060 Ti, 4080 Super, 4060 Ti and A4000 for Inkling 2 Mini | \n| 24 GB | Ternary Bonsai 2.5 27B PTQ1_0 (1,032,192 tokens with `rk4v4` ); Gemma 4 31B Q4_0 (101,376 tokens; 87,040 with MTP); the official Qwen3.8-27B and its MXFP8 tune; Qwen3.6-35B-A3B`groupwise-int` on an RTX 3090; Flash-Next with every expert on the GPU over two cards; DeepSeek-V4.1-Flash with its experts in host memory or on disk | RTX 3090, RTX 4090, TITAN RTX | \n| 32 GB | Qwen3.6-35B-A3B NVFP4 (Blackwell only) | RTX 5090 | \n| 48 GB | Flash-Next Q2_0 with every expert on one card | L40S, RTX PRO 6000 | \n\n## **Device profiles and limits** — how a card gets its kernel routes\n\n- **Device profiles.** A profile picks the kernel route of every operation and width. The binary\ncarries profiles measured on 67 GPU models, from the Tesla V100 and RTX 2060 Super to the RTX PRO\n6000 (the Profile column of[supported GPUs](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gpus.md#cards) ); a built-in profile applies to\nthe same GPU name, compute capability and SM count. Any other card is calibrated once at first\nstart, which takes from 12 seconds on a Tesla V100 to about six minutes on the smallest cards,\nand the result is stored for later starts;`ninfer-calibrate` measures again after a driver or\nclock change ([device profiles](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/device-profiles.md) ). The`70` build runs its own\nroutes, so the V100 profiles hold only the GDN prefill switch, the GGUF load schedules and, for\nthe SXM2 32 GB card, the Q8 MoE prefill frontier.\n- **Architecture limits.** NVFP4 expert weights need a`120a` build. The Turing and Volta builds\nreplace instructions their GPUs lack and reshape kernels to their shared memory\n([Turing](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/build-linux.md#turing-sm_75) ,[Tesla V100](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/build-linux.md#tesla-v100-sm_70) ).\nConfigure accepts no other target, so Pascal and older, Hopper and data-center Blackwell have no\nbuild.\n- **Speed per card.**[Performance](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance.md) lists the measured rates of every card.\n\nEach name links to its Hugging Face card. `hf download REPO FILE.ninfer --local-dir models` fetches a file, and the\nprograms also take the repository itself in place of a path ([artifacts from the Hub](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#artifacts-from-the-hugging-face-hub)).\nThe Bonsai, GSQ-RCO, looped, Flash-Next, Edge0, Gemma 4, Flint, DeepSeek-V4.1-Flash and Inkling 2 artifacts use formats that only this engine reads.\nRows go from the fewest bits per weight to the most.\n✓ means the artifact carries the component, — that it does not.\nDrafting lists the drafters the artifact carries; a linked one is an artifact of its own.\nFlash-Next, Edge0 and DeepSeek-V4.1-Flash models also need an n-gram table, an artifact of its own:\ntheir Notes link it, and [N-gram tables](#n-gram-tables) lists them all.\n\n| Model | Size, GiB | Weights | Vision | Drafting | Notes | \n|---|---|---|---|---|---|\n| [Ternary Bonsai 2 27B](https://huggingface.co/WaveCut/Ternary-Bonsai-2-27B-NInfer-v3) | 8.87 | ternary, 2.125 bits | ✓ | MTP DFlash2 Proposal head | Bonsai-trained MTP head and DFlash2 adapter | \n\n| Model | Size, GiB | Weights | Vision | Drafting | Notes | \n|---|---|---|---|---|---|\n| [PTQ1_0](https://huggingface.co/WaveCut/Ternary-Bonsai-2.5-27B-PTQ1_0-NInfer-v3) | 6.17 | ternary PTQ1_0, 1.75 bits | ✓ | MTP Proposal head | PrismML's MTP head; the longest windows | \n| [PQ2_0](https://huggingface.co/WaveCut/Ternary-Bonsai-2.5-27B-PQ2_0-NInfer-v3) | 7.37 | ternary, 2.125 bits | ✓ | MTP Proposal head | PrismML's MTP head; the faster prompts | \n\n| Model | Size, GiB | Weights | Vision | Drafting | Notes | \n|---|---|---|---|---|---|\n| [GSQ-RCO IQ3_S](https://huggingface.co/WaveCut/Qwen3.8-27B-GSQ-RCO-IQ3_S-NInfer-v3) | 13.99 | GGUF blocks, 3.5 bits | ✓ | MTP DFlash2 Proposal head [DSpine](https://huggingface.co/WaveCut/Qwen3.8-27B-DSpine-b16-NInfer-v3) | ISTA-DASLab's GGUF blocks byte for byte with a Q6_K MTP head | \n| [Official](https://huggingface.co/neroued/Qwen3.8-27B-NInfer) | 19.03 | groupwise-int (Q4/Q5) | ✓ | MTP DFlash2 Proposal head [DSpine](https://huggingface.co/WaveCut/Qwen3.8-27B-DSpine-b16-NInfer-v3) | The official artifact, which the reference tables use | \n| [Abliterated](https://huggingface.co/WaveCut/Huihui-Qwen3.8-27B-abliterated-NInfer-v3) | 19.03 | groupwise-int (Q4/Q5) | ✓ | MTP DFlash2 Proposal head [DSpine](https://huggingface.co/WaveCut/Qwen3.8-27B-DSpine-b16-NInfer-v3) | The official recipe | \n| [Uncensored, HauhauCS Aggressive](https://huggingface.co/WaveCut/Qwen3.8-27B-Uncensored-HauhauCS-Aggressive-DFlash2-NInfer-v3) | 19.03 | groupwise-int (Q4/Q5) | ✓ | MTP DFlash2 Proposal head [DSpine](https://huggingface.co/WaveCut/Qwen3.8-27B-DSpine-b16-NInfer-v3) | The tune's MTP head | \n| [MXFP8-CRACK](https://huggingface.co/WaveCut/Qwen3.8-27B-MXFP8-CRACK-NInfer-v3) | 16.96 | groupwise-int | ✓ | MTP Proposal head [DSpine](https://huggingface.co/WaveCut/Qwen3.8-27B-DSpine-b16-NInfer-v3) | Without bundled DFlash2 adapter | \n| [DSpine Drafter (Tencent)](https://huggingface.co/WaveCut/Qwen3.8-27B-DSpine-b16-NInfer-v3) | 2.27 | Q8 layers and a BF16 code bridge | — | — | Drafter artifact loaded with `--spec dspine --draft-model` beside any Qwen3.8-27B artifact | \n\n| Model | Size, GiB | Weights | Vision | Drafting | Notes | \n|---|---|---|---|---|---|\n| [Loop adapter v3.1.2](https://huggingface.co/WaveCut/Looped-Qwen3.8-27B-Adapter-NInfer-v3) | 0.23 | FP32, as published | — | — | An overlay: `--loop-adapter` attaches it to the official, GSQ-RCO IQ3_S, Ternary Bonsai 2 or 2.5 artifact above; with the official, a mean of 24.75 of 30 on AIME 2025 over four seeds under the release's protocol and grader, against 23.75 for the release's vLLM plugin on the BF16 weights (the base model: 21.75) | \n\nThe v3.1 loop adapter runs three passes over layers 24-39 with LoopCD-Hidden on the last; the base\nartifact keeps its own drafters, and without `--loop-adapter` it runs as before\n([looped Qwen3.8-27B](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/looped-qwen.md)).\n\n| Model | Size, GiB | Weights | Vision | Drafting | Notes | \n|---|---|---|---|---|---|\n| [NVFP4](https://huggingface.co/WaveCut/Qwen3.6-35B-A3B-NVFP4-NInfer-v3) | 21.04 | NVFP4 experts, Q8 projections | ✓ | MTP DFlash2 Proposal head | RedHatAI's NVFP4 experts code for code, incoai's DFlash2 drafter; `sm_120a` GPUs only | \n\n| Model | Size, GiB | Weights | Vision | Drafting | Notes | \n|---|---|---|---|---|---|\n| [Coder GSQ-RCO IQ1_M](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-GSQ-RCO-Coder-IQ1_M-NInfer-v3) | 30.76 | GGUF blocks | ✓ | MTP DFlash2 | Expert-pruned coding build, 256 experts per layer; shared-Q8_0 MTP, incoai's Q4_0 DFlash2 drafter; requires an n-gram table ( [IQ4_NL](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-ngram-table-NInfer-v3) or[FP8](https://huggingface.co/WaveCut/Edge0-ngram-table-FP8-NInfer-v3) ) | \n| [GSQ-RCO Q2_0](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-GSQ-RCO-Q2_0-NInfer-v3) | 38.23 | GGUF blocks: ISTA-DASLab's GSQ-RCO 2.4 bits | ✓ | MTP DFlash2 | Shared-Q8_0 MTP, incoai's Q4_0 DFlash2 drafter; requires an n-gram table ( [IQ4_NL](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-ngram-table-NInfer-v3) or[FP8](https://huggingface.co/WaveCut/Edge0-ngram-table-FP8-NInfer-v3) ) | \n| [UD-IQ2_XS](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-UD-IQ2_XS-NInfer-v3) | 47.43 | GGUF blocks: Unsloth Dynamic v3.1 | ✓ | MTP DFlash2 | Shared-Q8_0 MTP, incoai's Q4_0 DFlash2 drafter; requires an n-gram table ( [IQ4_NL](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-ngram-table-NInfer-v3) or[FP8](https://huggingface.co/WaveCut/Edge0-ngram-table-FP8-NInfer-v3) ) | \n| [GSQ-RCO IQ3_S](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-NInfer-v3) | 54.24 | GGUF blocks: ISTA-DASLab's GSQ-RCO 3.5 bits | ✓ | MTP DFlash2 | Shared-Q8_0 MTP, incoai's Q4_0 DFlash2 drafter; requires an n-gram table ( [IQ4_NL](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-ngram-table-NInfer-v3) or[FP8](https://huggingface.co/WaveCut/Edge0-ngram-table-FP8-NInfer-v3) ) | \n| [UD-IQ3_XXS](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-UD-IQ3_XXS-NInfer-v3) | 54.66 | GGUF blocks: Unsloth Dynamic v3.1 | ✓ | MTP DFlash2 | Shared-Q8_0 MTP, incoai's Q4_0 DFlash2 drafter; requires an n-gram table ( [IQ4_NL](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-ngram-table-NInfer-v3) or[FP8](https://huggingface.co/WaveCut/Edge0-ngram-table-FP8-NInfer-v3) ) | \n\n| Model | Size, GiB | Weights | Vision | Drafting | Notes | \n|---|---|---|---|---|---|\n| [Edge0-120B q3k](https://huggingface.co/WaveCut/Edge0-120B-q3k-NInfer-v3) | 34.60 | Q3_K/IQ4_NL latent experts, Q4_0 encoders and decoders | ✓ | MTP | Edge0's release byte for byte, base model's Vision tower; every expert on one 48 GB card; requires an n-gram table ( [FP8](https://huggingface.co/WaveCut/Edge0-ngram-table-FP8-NInfer-v3) or[IQ4_NL](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-ngram-table-NInfer-v3) ) | \n| [Edge0-145B q3k](https://huggingface.co/WaveCut/Edge0-145B-q3k-NInfer-v3) | 47.43 | Q3_K/IQ4_NL latent experts, Q8_0 encoders and decoders | ✓ | MTP | Edge0's release byte for byte, base model's Vision tower; experts in host memory or on disk on one 48 GB card; requires an n-gram table ( [FP8](https://huggingface.co/WaveCut/Edge0-ngram-table-FP8-NInfer-v3) or[IQ4_NL](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-ngram-table-NInfer-v3) ) | \n| [Edge0-120B NVFP4](https://huggingface.co/WaveCut/Edge0-120B-NVFP4-NInfer-v3) | 39.58 | NVFP4 latent experts, Q4_0 encoders and decoders | ✓ | MTP | Edge0's release byte for byte, base model's Vision tower; every expert on one 48 GB card; requires an n-gram table ( [FP8](https://huggingface.co/WaveCut/Edge0-ngram-table-FP8-NInfer-v3) or[IQ4_NL](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-ngram-table-NInfer-v3) ) | \n| [Edge0-145B NVFP4](https://huggingface.co/WaveCut/Edge0-145B-NVFP4-NInfer-v3) | 54.41 | NVFP4 latent experts, Q8_0 encoders and decoders | ✓ | MTP | Edge0's release byte for byte, base model's Vision tower; experts in host memory or on disk on one 48 GB card; requires an n-gram table ( [FP8](https://huggingface.co/WaveCut/Edge0-ngram-table-FP8-NInfer-v3) or[IQ4_NL](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-ngram-table-NInfer-v3) ) | \n\n| Model | Size, GiB | Weights | Vision | Drafting | Notes | \n|---|---|---|---|---|---|\n| [Gemma 4 31B it heretic i1-IQ4_XS](https://huggingface.co/WaveCut/gemma-4-31B-it-heretic-i1-IQ4_XS-DFlash-DSpark-NInfer-v3) | 18.89 | GGUF IQ4_XS blocks | — | DFlash DSpark | coder3101's heretic (decensored) tune in mradermacher's imatrix GGUF byte for byte; manateelazycat's DFlash drafter for the tune, Hikari07jp's DSpark drafter for the original 31B | \n| [Gemma 4 26B-A4B it QAT](https://huggingface.co/WaveCut/gemma-4-26B-A4B-it-QAT-Q4_0-MTP-NInfer-v3) | 14.75 | GGUF Q4_0 blocks | ✓ | MTP | Google's QAT GGUF byte for byte; MTP is Google's QAT assistant | \n| [Gemma 4 31B it QAT](https://huggingface.co/WaveCut/gemma-4-31B-it-QAT-Q4_0-MTP-NInfer-v3) | 17.77 | GGUF Q4_0 blocks | ✓ | MTP | Google's QAT GGUF byte for byte, the dense model; MTP is Google's QAT assistant for it | \n\n| Model | Size, GiB | Weights | Vision | Drafting | Notes | \n|---|---|---|---|---|---|\n| [Flint UD-Q4_K_XL](https://huggingface.co/WaveCut/Flint-UD-Q4_K_XL-NInfer-v3) | 23.38 | GGUF blocks, Q8_0 to IQ3_S | — | — | Unsloth's UD-Q4_K_XL GGUF byte for byte; drafts by context lookup | \n\n| Model | Size, GiB | Weights | Vision | Drafting | Notes | \n|---|---|---|---|---|---|\n| [GSQ-RCO IQ1_M](https://huggingface.co/WaveCut/DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ1_M-NInfer-v3) | 117.18 | GGUF blocks, IQ1_S to IQ2_S experts | ✓ | DSpark | ISTA-DASLab's GGUF byte for byte; experts in host memory or on disk; vision tower (images); DSpark drafter ( `--spec dspark` ) or context lookup; requires the[Engram table](https://huggingface.co/WaveCut/DeepSeek-V4.1-Flash-Engram-IQ4_NL-NInfer-v3) | \n| [GSQ-RCO Coder IQ2_XXS](https://huggingface.co/WaveCut/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-NInfer-v3) | 71.85 | GGUF blocks, IQ1_M to IQ2_XS experts | ✓ | DSpark | ISTA-DASLab's expert-pruned coding build byte for byte, 192 of 384 experts per block; otherwise as the IQ1_M artifact; requires the [Engram table](https://huggingface.co/WaveCut/DeepSeek-V4.1-Flash-Engram-IQ4_NL-NInfer-v3) | \n\n| Model | Size, GiB | Weights | Vision | Drafting | Notes | \n|---|---|---|---|---|---|\n| [Inkling 2 Mini UD-IQ1_M](https://huggingface.co/WaveCut/Inkling-2-Mini-UD-IQ1_M-NInfer-v3) | 8.87 | GGUF blocks, IQ1_S to IQ2_S [gate; up], Q2_0 down banks | ✓ | DSpark DFlash2 | Unsloth's UD-IQ1_M GGUF byte for byte; otherwise as UD-IQ4_XS | \n| [Inkling 2 Mini GSQ-RCO IQ2_S](https://huggingface.co/WaveCut/Inkling-2-Mini-GSQ-RCO-IQ2_S-NInfer-v3) | 9.75 | GGUF blocks, IQ1_S to IQ2_S [gate; up], Q2_0 and IQ4_NL down banks; BF16 token table and relative projections | ✓ | DSpark DFlash2 | ISTA-DASLab's GSQ-RCO IQ2_S GGUF byte for byte; otherwise as UD-IQ4_XS | \n| [Inkling 2 Mini UD-Q2_K_XL](https://huggingface.co/WaveCut/Inkling-2-Mini-UD-Q2_K_XL-NInfer-v3) | 10.07 | GGUF blocks, IQ1_S to IQ2_S [gate; up], Q2_0 and NVFP4 down banks | ✓ | DSpark DFlash2 | Unsloth's UD-Q2_K_XL GGUF byte for byte, its one MXFP4 bank as the same values in Q8_0; otherwise as UD-IQ4_XS | \n| [Inkling 2 Mini GSQ-RCO IQ3_S](https://huggingface.co/WaveCut/Inkling-2-Mini-GSQ-RCO-IQ3_S-NInfer-v3) | 12.03 | GGUF blocks, IQ1_S to IQ3_S [gate; up], IQ4_NL and Q2_0 down banks; BF16 token table and relative projections | ✓ | DSpark DFlash2 | ISTA-DASLab's GSQ-RCO IQ3_S GGUF byte for byte; otherwise as UD-IQ4_XS | \n| [Inkling 2 Mini APEX-I MiniPlus V2.1](https://huggingface.co/WaveCut/Inkling-2-Mini-APEX-I-MiniPlus-V2.1-NInfer-v3) | 13.48 | GGUF blocks, IQ3_XXS and IQ3_S experts | ✓ | DSpark DFlash2 | IsValorum's APEX-I MiniPlus GGUF byte for byte with its Q8_0 vision tower; Unsloth's DSpark drafter; otherwise as UD-IQ4_XS | \n| [Inkling 2 Mini UD-Q3_K_XL](https://huggingface.co/WaveCut/Inkling-2-Mini-UD-Q3_K_XL-NInfer-v3) | 14.09 | GGUF blocks, NVFP4 and IQ3 experts | ✓ | DSpark DFlash2 | Unsloth's UD-Q3_K_XL GGUF byte for byte; otherwise as UD-IQ4_XS | \n| [Inkling 2 Mini UD-IQ4_XS](https://huggingface.co/WaveCut/Inkling-2-Mini-UD-IQ4_XS-NInfer-v3) | 16.05 | GGUF blocks, NVFP4 experts in 20 of 24 layers | ✓ | DSpark DFlash2 | Unsloth's UD-IQ4_XS GGUF byte for byte; Q8_0 vision tower (images); DSpark drafter, by default for one request at a time, incoai's DFlash2 drafter ( `--spec dflash2` ) or context lookup | \n| [Tess-4.5-26B-A3B NVFP4](https://huggingface.co/WaveCut/Tess-4.5-26B-A3B-NVFP4-NInfer-v3) | 17.69 | GGUF blocks, NVFP4 experts in 20 of 24 layers | ✓ | DSpark DFlash2 | Migel Tissera's [agentic-coding fine-tune](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#tess-45) of Inkling 2 Mini, the author's NVFP4 GGUF byte for byte; Q8_0 vision tower; IQ4_NL DSpark drafter | \n| [Inkling 2 Mini UD-Q8_K_XL](https://huggingface.co/WaveCut/Inkling-2-Mini-UD-Q8_K_XL-NInfer-v3) | 19.07 | BF16 attention, head and token table; MXFP8 experts in layers 20-23, NVFP4 in the other 20 | ✓ | DSpark DFlash2 | Unsloth's UD-Q8_K_XL GGUF byte for byte except layers 20-23's BF16 experts, the same values in MXFP8; a card of 24 GB, or host experts; otherwise as UD-IQ4_XS | \n\nTencent's [DSpine drafter for Qwen3.8-27B](https://huggingface.co/WaveCut/Qwen3.8-27B-DSpine-b16-NInfer-v3)\n(2.27 GiB, Q8 layers and a BF16 code bridge) is an artifact of its own, which\n`--spec dspine --draft-model` loads beside any Qwen3.8-27B artifact.\n\nA model names the table it was converted with by digest; pass the table with `--ngram-table`.\n\nEvery Qwen3.8-Flash-Next and Edge0 model reads either of these two tables. The engine accepts any\ntable of the model's shape, in any row format\n([another table of the same shape](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#another-table-of-the-same-shape)).\nPerplexity: the first 40 KB of WikiText, INT8 KV, one A40.\n\n| Table | Size, GiB | Rows | Hot-row profile | Named by | Perplexity: Flash-Next Q2_0 · Edge0-120B-q3k | \n|---|---|---|---|---|---|\n| [IQ4_NL](https://huggingface.co/WaveCut/Qwen3.8-Flash-Next-ngram-table-NInfer-v3) | 26.92 | IQ4_NL blocks, 90 bytes a row: the GSQ-RCO and Unsloth releases' table byte for byte | ✓ | Flash-Next builds, Coder | 2.542153 · 5.017691 | \n| [FP8](https://huggingface.co/WaveCut/Edge0-ngram-table-FP8-NInfer-v3) | 48.38 | FP8 E4M3 codes and an FP16 scale, 162 bytes a row: Edge0's `ple-fp8.gguf` codes byte for byte, its one scale in every row | ✓ | Edge0 builds | 2.531971 · 4.964565 | \n\nDeepSeek-V4.1-Flash models read the Engram table, the release's IQ4_NL rows with a hot-row profile\n(`--ngram-residency ram-hot`).\n\n| Table | Size, GiB | Rows | Hot-row profile | Named by | \n|---|---|---|---|---|\n| [Engram](https://huggingface.co/WaveCut/DeepSeek-V4.1-Flash-Engram-IQ4_NL-NInfer-v3) | 103.32 | IQ4_NL blocks: the release's rows | ✓ | GSQ-RCO IQ1_M, Coder IQ2_XXS | \n\nThe official NInfer artifacts (Qwen3.6-27B, Qwen3.6-35B-A3B and Qwen3.8-27B, `groupwise-int` and\n`nvfp4`) load too; the [documentation map](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/README.md#model-artifacts) links them. Weight\nconversion shows how the [Bonsai](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/weight-conversion.md#ternary-bonsai-2-and-25-27b) and\n[GSQ-RCO](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/weight-conversion.md#a-mixed-precision-qwen38-27b-gguf) artifacts are built.\n\nTernary Bonsai 2 27B decodes 397 tok/s on an RTX 5090 with DFlash2, and Ternary Bonsai 2.5 fills that\ncard's 1,048,576-token window with every planted code found. Qwen3.8-Flash-Next decodes 138 tok/s with every expert on one RTX PRO 6000, and\n96 tok/s with its experts in host memory on one RTX 5090. DeepSeek-V4.1-Flash decodes 52 tok/s on one\nRTX 5090, 48 on one RTX PRO 6000 and 39 on one RTX 4090 with its 106.7 GiB of experts in host memory. Inkling 2 Mini\ndecodes 182 tok/s on an RTX 5090, 1.4 to 2.8 times llama.cpp's rate on 25 cards, and runs on an 8 GB card with its\nexperts in host memory. Every table of every card is on the [performance page](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance.md).\n\n*Click a section to expand it.*\n\n## **Ternary Bonsai 2 27B** — up to 397 tok/s, a million tokens of context\n\nMeasured in September 2026, one card each, greedy, one request unless the column says otherwise.\n\n| Card | Short chat, DFlash2 7 drafts (tok/s) | After a 261K-token document (tok/s) | 261K-token prompt, to the first token | Largest context, all three codes found | Eight requests at once, MTP 3 (tok/s) | \n|---|---|---|---|---|---|\n| RTX 3090 | 202 | 90 | 215 s | 970,752 | 551 | \n| RTX 4090 | 256 | 123 | 102 s | 958,464 | 824 | \n| RTX 5090 | 397 | 218 | 82 s | 978,944 | 1,063 | \n| RTX PRO 6000 | 381 | 218 | 78 s | 1,048,576, two of three codes | 1,155 | \n\nThe RTX PRO 6000 (96 GB) starts at the engine's ceiling of 1,048,576 tokens with every KV format and drafter. Filled to it, the model misses the code at 90% (about 943K); up to about 880K it found every code on every card.\n\n## **Ternary Bonsai 2.5 27B** — up to 349 tok/s, every code found at 1,048,576 tokens\n\nMeasured in November 2026, one card each, greedy, `rk8v4` over a 262,144-token window, one request\nunless the column says otherwise; the largest context is filled with `rk4v4`.\n\n| Card | Short chat, PTQ1_0, no drafter (tok/s) | Short chat, PQ2_0, MTP 3 (tok/s) | After a 261K-token document, PQ2_0, MTP 3 (tok/s) | 261K-token prompt, PQ2_0, to the first token | Largest context, all three codes found | Eight requests at once, PQ2_0, MTP 3 (tok/s) | \n|---|---|---|---|---|---|---|\n| RTX 3090 | 94 | 189 | 95 | 199 s | 1,032,192 (PTQ1_0) | 576 | \n| RTX 4090 | 126 | 232 | 110 | 91 s | 1,019,904 (PTQ1_0) | 943 | \n| RTX 5090 | 189 | 345 | 170 | 74 s | 1,048,576 | 1,157 | \n| RTX PRO 6000 | 188 | 349 | 170 | 73 s | 1,048,576 | 1,237 | \n\nPTQ1_0 (6.17 GiB) decodes one request fastest without a drafter and holds the longest windows; PQ2_0\n(7.37 GiB) is the faster one with MTP, with several requests and on prompts. Both decode faster than\nPrismML's own llama.cpp fork on the RTX PRO 6000, 5090 and 4090\n([comparison](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/bonsai-2-5-2026-11.md#prismmls-runtime)).\n\n## **Qwen3.8-27B** — up to 237 tok/s, 872,448 tokens of context filled\n\nThe official `groupwise-int` artifact, measured in September 2026, one card each, greedy, one request unless the column says otherwise.\n\n| Card | Short chat, DFlash2 7 drafts (tok/s) | Largest context, all three codes found | Eight requests at once, MTP 3 (tok/s) | \n|---|---|---|---|\n| RTX 3090 | 118 | 417,792 | 329 | \n| RTX 4090 | 149 | 405,504 | 442 | \n| RTX 5090 | 236 | 872,448 | 690 | \n| RTX PRO 6000 | 237 | 1,048,576, two of three codes | 739 | \n\n- **RTX PRO 6000 against RTX 5090.** Re-measured in October beside an RTX 5090, both at 600 W, the\nPRO 6000 came back within 2% of September wherever the drafts accepted the same share. One\nrequest's decode is bound by memory bandwidth, and both cards have 1.79 TB/s of GDDR7 (Bonsai 2\nwithout speculation: 167.7 against 170.4 tok/s). The PRO 6000's 188 SMs against 170 show where\ncompute decides: the 261K prompt is 2% faster and eight requests at once 6 to 7% faster\n([re-check](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance.md#rtx-pro-6000-against-rtx-5090-october-2026) ).\n- **Draft length.** DFlash2 with seven drafts is fastest on short answers; after long documents the\nbest count is three to seven. MTP runs up to fifteen drafts and is fastest at three to five.\n\n## **Qwen3.8-Flash-Next** — 138 tok/s with the experts on a GPU, 98 tok/s from host memory\n\nThe Q2_0 release (35.9 GiB model and 26.8 GiB n-gram table), one request, greedy, October 2026. Decode of a short answer, in tok/s:\n\n| Card | Every expert on the GPUs | Experts in host memory | Experts on disk, in the page cache | Experts on disk, cold | \n|---|---|---|---|---|\n| RTX PRO 6000 | 138 (one card) | 55 | 76 | 35 | \n| RTX 5090 | 136 (two cards) | 98 | 72 | 38 | \n| RTX 4090 | 97 (two cards) | 74 | 47 | 21 | \n| RTX 3090 | 90 (two RTX 3090 Ti) | 39 | 28 | 20 | \n\nPrefill of a 4,463-token prompt, in tok/s:\n\n| Card | Every expert on the GPUs | Experts in host memory | Experts on disk, in the page cache | Experts on disk, cold | \n|---|---|---|---|---|\n| RTX PRO 6000 | 2,939 | 1,297 | 2,024 | 1,000 | \n| RTX 5090 | 3,809 | 3,290 | 1,827 | 1,108 | \n| RTX 4090 | 3,608 | 1,801 | 1,144 | 558 | \n| RTX 3090 | 1,504 | 663 | 503 | 474 | \n\n- **The host matters.** Host and disk rows depend on the host as much as on the card. The RTX 5090\nhost had PCIe 5.0 x16, the RTX PRO 6000 and RTX 4090 hosts PCIe 4.0 x16, and the RTX 3090 host\nPCIe 3.0 x16 and two sockets (the test ran pinned to the GPU's node). The host, disk and cold\ncolumns of the three GeForce cards were measured on October 26, the rest on October 5 and 6.\n- **Prompt spans.** With host or disk experts a prompt prefills in spans of up to eight chunks\n(sixteen for one request at a time), so each layer's missing experts cross the bus once per\nspan. From the CLI with Q2_0 disk experts in the page cache, a 7,680-token prompt prefilled at\n1,830 tok/s on the RTX 5090 and the answer decoded at 115 tok/s, against 450 and 32 chunk by\nchunk\n([three cards](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md#expert-placements) ).\n- **Other releases and cards.** IQ3_S, the Coder IQ1_M build and the 8 and 12 GB cards are in the[expert placements](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance.md#expert-placements) . Six reasoning requests at once on two\nRTX 5090s produced 193 tok/s of output with Q2_0.\n\n## **DeepSeek-V4.1-Flash** — 52 tok/s on one RTX 5090, 48 on one RTX PRO 6000 (DSpark: 1.3 to 2.1 times as fast), 34 to 39 on one RTX 4090\n\nISTA-DASLab's GSQ-RCO IQ1_M GGUF (112.7 GiB, and its 103.0 GiB Engram table), one request, greedy, thinking off, one GPU, October 2026. The routed experts stay in pinned host memory or in the file, the card caches as many as fit, and CPU threads compute a share of each decode call's missing host experts:\n\n| Card | Experts cached on the card | Host experts: short answer (tok/s) | after 8,086 tokens (tok/s) | prefill of 8,086 tokens (tok/s) | Disk experts, page cache warm: short answer (tok/s) | \n|---|---|---|---|---|---|\n| RTX PRO 6000 | 74% | 48.0 | 45.3 | 1,310 | 37.4 | \n| RTX 5090 | 15% | 51.5 | 42.2 | 912 | 16.7 | \n| RTX 4090 | 7% | 33.8 | 27.5 | 915 | 9.5 | \n| RTX 3090 | 7% | 19.8 | 15.2 | 416 | 6.0 | \n\nThe RTX PRO 6000 row is an earlier build that ran prompts chunk by chunk and copied every missing\nexpert; the others ran on October 26 on hosts with PCIe 5.0 (RTX 5090), 4.0 (RTX 4090) and 3.0\n(RTX 3090) links ([per card](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#per-card)). On an RTX 4090 host with 64 CPU cores\nthe build decodes at 38.9 and 31.4 tok/s, against 33.5 and 26.6 when it copies every miss\n([the CPU share](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#the-cpu-share)); there Strata 0.2.6 decodes the same GGUF at\n34 to 40 tok/s, computing about half the experts on its CPU threads, and prefills at 635 to 690\ntok/s ([measurements](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#measurements)). With host experts the server peaks at 116\nGiB of host memory. On October 27, with the release's DSpark drafter (`--spec dspark`, 3.58 GiB on\nthe card in the STQ encoding the artifact carries), an RTX PRO 6000 decoded five requests 1.28 to\n2.07 times as fast as without it, and an RTX 4090 decoded code and reasoning 1.19 and 1.21 times as\nfast, the other three requests 0.85 to 1.02 times, prefilling at plain speed\n([the drafter](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#the-stq-drafter)). With `--vision` it reads images through\nthe release's vision tower ([images](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md#images)).\n\n## **Inkling 2 Mini** — 182 tok/s on an RTX 5090, 1.4 to 2.8 times llama.cpp's decode, from 8 GB\n\nUnsloth's UD-IQ4_XS GGUF with the vision tower and the DSpark drafter (a 15.4 GiB artifact), one request, F16 KV,\nNovember 21, 2026, against llama.cpp on the same GGUF (Unsloth's build `b12588-mix-c0c3de8`; mainline\nllama.cpp does not load it). A prompt of 10,000 tokens and a decode of 128, in tok/s, NInfer-all / llama.cpp:\n\n| Card | Experts | Prefill of 10,000 tokens | Decode | \n|---|---|---|---|\n| RTX 5090 | on the card | 6,664 / 2,318 | 182.1 / 96.9 | \n| RTX 4090 | on the card | 4,537 / 2,307 | 140.1 / 75.0 | \n| RTX 3090 | on the card | 2,046 / 1,236 | 112.0 / 59.5 | \n| RTX 5080 | in host memory | 3,238 / 1,377 | 116.5 / 41.3 | \n| RTX 3060 12 GB | in host memory | 759 / 387 | 48.8 / 24.8 | \n| RTX 5060 8 GB | in host memory | 1,074 / 293 | 33.1 / 14.7 | \n\nOn cards of 8 to 16 GB the routed experts stay in pinned host memory and the card caches the most used,\nwhile llama.cpp places the model with its own `--fit`. From disk (`--expert-residency disk`) the RTX 5060\nprefills 591 tok/s and decodes 9.6. While one request runs, the release's DSpark drafter decodes the same\ntext 1.06 to 1.33 times as fast with the experts on the card. Every card, the drafter and the hosts are in\n[Inkling 2 Mini's measurements](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md#across-cards).\n\nWith the [Docker image](#docker), or the same `--config` on a\n[native release](https://github.com/iamwavecut/ninfer-all/releases/latest):\n\n```\nhf download WaveCut/Inkling-2-Mini-UD-IQ4_XS-NInfer-v3 Inkling-2-Mini-UD-IQ4_XS-ninfer-v3.ninfer --local-dir models\n\n# 24 GB and more: every expert on the card, images, DSpark, a 64K-token context.\ndocker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -w / \\\n  -v \"$PWD/models:/models\" -v ninfer-cache:/cache \\\n  ghcr.io/iamwavecut/ninfer-all:cuda13.4 serve --config /opt/ninfer/configs/inkling2-mini.ini\n\n# 8 to 16 GB: the experts in 13.1 GiB of pinned host memory, a 32K-token context\n# (the 8 GB RTX 5060 above ran with --max-context 12288).\ndocker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -w / \\\n  -v \"$PWD/models:/models\" -v ninfer-cache:/cache \\\n  ghcr.io/iamwavecut/ninfer-all:cuda13.4 serve --config /opt/ninfer/configs/inkling2-mini-host.ini\n```\n\n*Click a section to expand it.*\n\n## **Models and weight formats** — Qwen3.5 family, GGUF block formats, Ternary Bonsai 2 and 2.5, loop adapters, Flash-Next, Gemma 4, Flint, DeepSeek-V4.1-Flash, Inkling 2 Mini\n\n- **Qwen3.5 family.** Dense and MoE (`Qwen3_5ForCausalLM` ,`Qwen3_5MoeForCausalLM` ) with MTP,\nDFlash (35B-A3B) and DFlash2 (Qwen3.8-27B, 35B-A3B) drafters, Vision for images and video, and`groupwise-int` , FP8, NVFP4 and ternary weights. Native MoE routed experts can stay in pinned\nhost memory or the artifact's files, brought into whole-layer GPU banks with an optional device\ncache ([expert residency](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/qwen3_5-model.md#routed-expert-residency) ). NVFP4\nexpert banks prefill through W4A4 and need a`120a` build.\n- **GGUF block formats.** Releases that pick a ggml type per tensor, such as ISTA-DASLab's GSQ-RCO,\nconvert without requantization and multiply their blocks in place. The 3.5-bit Qwen3.8-27B IQ3_S\nrelease holds 10.95 GiB of weights instead of 15.9, scores WikiText-2 perplexity 7.071 (the\nofficial artifact: 7.286) and decodes at 59.9 tok/s against the official artifact's 40.3 on an\nRTX 3090 ([GGUF block formats](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gguf.md) ).\n- **Ternary Bonsai 2 27B.** PrismML's[ternary Qwen3.8-27B](https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf) runs from`t2_g128_fp16` weights: 2.125 bits per weight, imported without rounding, with the\nHadamard rotations fused into the norms and gates and integer activations for its projections.\nThe`bonsai2_27b_ternary` recipe adds ProCreations' MTP head and DFlash2 adapter and an exact\nproposal head.\n- **Ternary Bonsai 2.5 27B.** PrismML's[second ternary release](https://huggingface.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF) in both of its forms: PQ2_0 as`t2_g128_fp16` , and PTQ1_0 (1.75 bits per weight) as its own\n28-byte blocks, multiplied in place by kernels of their own. Both artifacts carry PrismML's MTP\nhead in its Q4_0 blocks, the release's Vision tower and an exact proposal head\n([measurements](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/bonsai-2-5-2026-11.md) ).\n- **Loop adapters.** Jason Titus's[Looped Qwen3.8-27B](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/looped-qwen.md) adapter runs the\ncore layers 24-39 three times a token with low-rank updates and LoopCD-Hidden on the last pass,\nover any Qwen3.8-27B artifact of its geometry: the official and GSQ-RCO IQ3_S weights and Ternary\nBonsai 2 and 2.5.`--loop-adapter` attaches the published adapter, an overlay file of its own, to\nany of them. Every pass keeps its own keys, values and states; the context cache, CUDA Graphs,\nevery drafter, pipeline stages and tensor parallelism run per visit, and`--loop-passes` ,`--loop-cd-omega` and`--loop-cd-ref` change the depth and LoopCD at startup.\n- **Qwen3.8-Flash-Next.** The 125B-parameter MoE (512 experts, about 6B active) from the GSQ-RCO\nGGUF releases, with its experts on the GPUs, in pinned host memory with a GPU cache\n(`--expert-residency host` ) or in the artifact's files read into a GPU cache\n(`--expert-residency disk` , under 1 GB of RAM). It serves up to eight requests with prefix reuse,\nstructured output, images and video, and MTP drafting. On two RTX 5090s the Q2_0 release scores\n93.3% on AIME 2025 and 86.4% on GPQA-Diamond ([Qwen3.8-Flash-Next](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/qwen3-8-flash-next.md) ).\n- **Gemma 4 26B-A4B.** Google's QAT Q4_0 GGUF release, imported block for block (13.4 GiB), or a\nmixed-format GGUF of it: the sliding-window and full-attention blocks (the latter caching values\nonly), the dense MLP beside 128 routed experts, every`--kv-dtype` format, up to eight concurrent\nrequests with prefix reuse through host memory and shared system prompts, tool calls and\nstructured output, images and video through the release's vision tower (on the\nGPU, streamed from pinned memory or on CPU threads), and Google's multi-token-prediction assistant\nfor speculative decoding. On an RTX 3090 it prefills a 10,000-token prompt at 6,045 tok/s and decodes at 215\ntok/s, 190 after 10,000 tokens, against llama.cpp's 4,697, 169 and 152 on the same GGUF; with two\ndrafts a round chat answers decode at 291 tok/s instead of 209 ([Gemma 4](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gemma4.md) ).\n- **Gemma 4 31B.** The dense model from Google's QAT Q4_0 GGUF (16.4 GiB on the GPU) with its own\nQAT assistant and the vision tower, on one 24 GB card: on an RTX 3090 it holds 101,376 tokens of\nF16 context and decodes 42 tok/s plainly, 95 to 110 tok/s with two drafts a round\n([Gemma 4 31B](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/gemma4.md#gemma-4-31b) ).\n- **Flint.** Recursive's 39.8B coding MoE (2.5B active), from a llama.cpp GGUF such as Unsloth's\nUD-Q4_K_XL, imported block for block (23.4 GiB): sliding-window and position-free full-attention\nblocks with learned sinks, 256 routed experts beside a shared one, up to eight concurrent\nrequests with prefix reuse through host memory, the model's own reasoning, GLM-4.7 tool calls,\nstructured output, typed decisions, context-lookup drafting, and experts on the GPU, in pinned\nhost memory or in the artifact's files. On an RTX 5090 it prefills a 10,000-token prompt at\n14,656 tok/s and decodes at 348 tok/s, 315 after 10,000 tokens, against llama.cpp's 8,679, 223\nand 209 on the same GGUF; on an RTX 3090, with its experts in host memory, at 5,755, 161 and 140\nagainst llama.cpp's 2,553, 80 and 77 with four blocks' experts on the CPU\n([Flint](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/flint.md) ).\n- **DeepSeek-V4.1-Flash.** DeepSeek's 40-block MoE (384 routed experts, 6 per token) from\nISTA-DASLab's GSQ-RCO IQ1_M GGUF, imported block for block, with its Engram table: four-stream\nhyper-connections, latent attention over a 128-position window and indexer-selected compressed\nlatents with the release's FP8 and FP4 roundings, Engram rows read from the table's file or\nRAM, up to eight concurrent requests with prefix reuse through host memory, reasoning, DSML\ntool calls, structured output, typed decisions, images through the release's vision tower, the\nrelease's DSpark drafter and context-lookup drafting. Its 106.7 GiB of\nrouted experts stay in pinned host memory or in the artifact's files, read into bounded\nbuffers rather than mapped, and CPU threads compute a share of each decode call's missing host\nexperts. Prompts run block by block in spans of up to 16,384 tokens, so each block's experts\ncross the bus once per span. On one RTX 4090 with its experts in host memory it decodes at 31.4\nto 38.9 tok/s and prefills 8,086 tokens at 938 tok/s; on the same host\nStrata 0.2.6 decodes at 34 to 40 tok/s and prefills at 635 to 690\n([DeepSeek-V4.1-Flash](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/deepseek-v41.md) ).\n- **Inkling 2 Mini.** Thinking Machines' looped 26.4B MoE (3.4B active per token), the engine's\nfirst looped transformer, from Unsloth's UD-IQ4_XS GGUF (15.4 GiB), its UD-IQ1_M to UD-Q3_K_XL (8.2 to 13.4 GiB), its UD-Q8_K_XL (18.5 GiB),\nIsValorum's APEX-I MiniPlus (12.8 GiB) or ISTA-DASLab's GSQ-RCO IQ2_S and IQ3_S (8.4 and 10.6 GiB) imported block for block: 24 stored layers run as 48 visits, the 12 core layers three\ntimes with messages between passes, sliding-window and full attention with a learned distance\ntable and sinks, depth attention over the earlier layers' states, 128 routed experts, up to eight\nconcurrent requests with prefix reuse through host memory, the model's own reasoning and tool-call\nblocks, structured output, typed decisions, images through the release's vision tower, the\nrelease's DSpark drafter, incoai's DFlash2 drafter (`--spec dflash2` ) and context-lookup drafting,\nand experts on the GPU, in pinned host\nmemory or in the artifact's files. On an RTX 3090 it prefills a 10,000-token prompt at 2,031 tok/s\nand decodes at 111.4 tok/s, 95.9 after 10,000 tokens, against llama.cpp's 1,228, 58.6 and 55.9 on\nthe same GGUF; DSpark decodes greedy answers 1.14 to 1.41 times as fast\n([Inkling 2 Mini](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/inkling2.md) ).\n- **CPU share of host and disk experts.** With Flash-Next, Gemma 4, Flint, Inkling 2 or native Qwen3.5/3.6\nMoE experts off the GPU, or DeepSeek-V4.1-Flash's experts in host memory, CPU threads compute a\nshare of each decode call's cache misses from host memory while the GPU copies the rest, bit for\nbit equal to the GPU's products (`--expert-dma-share auto` ). The pool takes`min(physical cores, usable CPUs / 2)` threads by\ndefault, where usable CPUs are the affinity mask bounded by a container's CPU quota (15 threads\non a 30-CPU quota);`--expert-cpu-threads N` sets another count\n([common options](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#common-options) ).\n\n## **Speculative decoding** — MTP, DFlash, DFlash2, DSpark, DSpine, n-gram copying and context lookup\n\n- MTP, DFlash and DFlash2 with 1 to 15 drafts; the artifact's proposal head drafts by default when it stores one. Under MTP and DFlash a sampled request keeps a draft only while it equals the model's own keyed draw, so every emitted token is the model's sample; DFlash2 verifies its proposal distribution by rejection sampling.\n- Gemma 4 drafts with Google's multi-token-prediction assistant (`--spec mtp` , 1 to 7 drafts), four\nblocks that read the model's own KV cache; its verification rows are bit for bit plain decode rows,\nso the output is the one plain decoding gives.\n- DeepSeek-V4.1-Flash drafts with the release's DSpark drafter (`--spec dspark` , 1 to 5 drafts kept\nwhile its confidence holds): three blocks that read the backbone's last three blocks' streams. Its\nverification rows are bit for bit plain decode rows. In beamster's STQ encoding, which the\npublished artifact carries (3.58 GiB on the card), it decodes 1.28 to 2.07 times as fast on an\nRTX PRO 6000; on an RTX 4090, whose expert cache it shrinks, it decodes code and reasoning 1.19\nand 1.21 times as fast and other requests 0.85 to 1.02 times.\n- Inkling 2 Mini drafts with the release's DSpark drafter (`--spec dspark` , 1 to 7 drafts), three\nnon-causal blocks over the target's tapped states and a recurrent head that corrects the target\nhead's logits; without`--spec` it drafts while the Engine serves one request at a time, 3 drafts\na round adapting to their survival, and the output is plain decoding's. On an RTX 3090 it decodes\ngreedy answers 1.14 to 1.41 times as fast and sampled ones 0.99 to 1.24 times; over two RTX\n3090s with`--tensor-parallel` , where it also drafts by default, 1.33 to 1.70 and 1.18 times.\n- A DSpine drafter is an artifact of its own (`--spec dspine --draft-model PATH` ): 1 to 15 drafts\non Qwen3.5-core models and Qwen3.8-Flash-Next, 1 to 7 on Gemma 4, Flint, DeepSeek-V4.1 and\nInkling 2.\nTencent's drafter for Qwen3.8-27B, converted, decodes a code answer 3.08 times and a prose answer\n1.86 times as fast as plain decoding on an RTX 5090, where DFlash2 reaches 3.29 and 2.05\n([measurements](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance.md#dspine-on-qwen38-27b) ).\n- Flint, which has no drafter, DeepSeek-V4.1-Flash without `--spec` and Inkling 2 draft by context lookup\n(`--lookup-ngram N` , 1 to 7 drafts): what followed the last N tokens' earlier occurrence (the one\nthe sequence was already copying while it still matches, else the newest), verified in one pass of\ndecode rows.\n- `--adaptive-mtp` picks each round's width from measured draft survival and round cost: an MTP\nround's, and on Qwen3.5-core models a DFlash, DFlash2 or DSpine round's (`--draft-tokens` or half).\n- N-gram copy drafting beside the neural drafter (on with `--spec` ) verifies up to 15 tokens copied\nfrom earlier prompt, tool-result or output text ([ngram copy proposals](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/ngram.md) ).\n\n## **Context and memory** — ten KV formats, up to 1,048,576 tokens, a context cache with a disk tier\n\n- Ten KV formats, from `bf16` to`rk2v4-e8` at 216 bytes per token and KV head;`rk8v4` is the\nall-round choice,`rk4v4` holds the native 262,144-token window of Qwen3.8-27B on a 24 GB card,\nand`bf16p` keeps BF16's bits in 784 bytes instead of 1,024\n([context and memory](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#context-and-memory) ).\n- Up to 1,048,576 tokens of context, four times the native window, with plain RoPE or YaRN\n(`--rope-yarn` , for Qwen3.5, Qwen3.8-Flash-Next and Gemma 4; Flint's full-attention blocks and\nInkling 2's attention carry no rotation and DeepSeek-V4.1's compressed blocks the release's own\nYaRN, so none of them takes scaling).\n- A hybrid prefix cache by default, which shares content-addressed KV blocks and sparse state\nsnapshots across requests on the device and in pinned host memory; or a checkpoint catalog\n(`--use-original-prefix-caching` ) with an optional disk tier that survives restarts\n(`--disk-kv-path` ,`--disk-kv-restore` ) and endpoint and branch anchors that let an edited or\nregenerated turn resume where it left the conversation.\nGemma 4, Flint, DeepSeek-V4.1, Inkling 2 and Flash-Next keep state images in pinned host memory\nwith a disk tier, a prefix cache file and session slots of their own\n([Serving](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#context-cache-of-the-other-families) ).\n- Precision trades that buy context: `--embedding-q4` ,`--lm-head-q6` ,`--gdn-state-fp16` ([quality trades](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/quality-trade-experiments.md) ).\n- A token embedding kept in mapped host memory, which frees its VRAM for context with no change to\nthe output: the server's default for Qwen3.5-family models on Linux whose KV pool takes free\nmemory and that run without drafting or with more than eight requests\n(`--embedding-residency auto` ), or`host` explicitly.\n\n## **Serving** — OpenAI, Anthropic and llama.cpp APIs, typed decisions, model suspend, several models behind one server\n\n- OpenAI Responses and Chat Completions, Anthropic Messages, llama.cpp's `/completion` ,`/tokenize` ,`/detokenize` ,`/apply-template` ,`/v1/rerank` ,`/metrics` ,`/slots` and`/props` ,\nstreaming, tool calls, structured output through xgrammar (`--structured-output` ), token log\nprobabilities and prompt grafts ([HTTP serving](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md) ).\n- **Typed decisions.**`/v1/systemone` (TypeSafe's System One API, as llama.cpp, vLLM and Ollama\nserve it) and`/v1/decisions` (OpenAI's Decisions API) answer choice, yes/no and score questions\nabout a state with the served chat model: one prompt per question, the answer read from the\nfirst token's exact label log probabilities, the state prefilled once and every question run\nafter it as a branch of one read; up to 200 questions, 255 options, Runoff's order-independent\nchoices, a conversation as the state, images and video as data URLs (with`--vision` ), and a\nmargin by which a client escalates near ties ([typed decisions](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#typed-decisions) ).\n- **Model suspend.**`--model-suspend` lets an idle server give its device memory back without\nexiting and take it again on the next request, retained conversations included. Ternary Bonsai 2\n27B on an RTX 3090: 7.9 GiB down to 0.3 GiB in 0.33 s, back in 1.1 s\n([model suspend](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#model-suspend) ).\n- **Several models behind one server.** With`--models-dir` or a llama.cpp-style`--models-preset` ,`ninfer-serve` is a router with llama.cpp's model API; with`--model-suspend` a\nmodel sleeps instead of unloading: two 27B models on one 24 GB RTX 3090 swap in 1.8 s instead of\nan 11.6 s cold load ([several models](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#several-models-router) ).\n- **Control vectors and direction LoRA adapters.** Qwen3.5-core models load llama.cpp control\nvectors and the rank-one LoRA adapters that abliteration tools write, such as AtomicChat's for\nTernary Bonsai 2 27B; a request sets adapter scales through llama.cpp's`lora` field\n([LoRA adapters and control vectors](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#lora-adapters-and-control-vectors) ).\n- Built-in read-only [NInfer Monitor](https://spk-c.github.io/ninfer-all-rtx4090/monitor.html) at`/monitor` (GPU sensors, live token rates, KV occupancy, DFlash2 acceptance and request metadata),[monitoring documentation](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/monitor-dashboard.md) , optional[Python sidecar](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/tools/monitor/README.md) , request logs with rotation,\nand llama.cpp's WebUI, built into the Linux packages and the Docker images.\n\n## **Kernels and devices** — route profiles per card, pipeline stages, FP8 and NVFP4 tensor-core routes\n\n- **Device route profiles.** Each card's measured profile picks the kernel route for every\noperation and width: built in for the cards in[supported GPUs](#supported-gpus) , measured once\nat first start on any other ([device profiles](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/device-profiles.md) ).\n- **Pipeline stages.**`--devices 0,1,...` splits the layers over up to eight GPUs on Linux, each\nstage owning its weights, KV and state; the cards may differ where the build runs on each, such as\nRTX 30 with RTX 40 cards on the`86` build ([pipeline stages](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md) ).`--tensor-parallel` divides every layer over the devices instead: each holds a share of the GDN\nheads, of the attention's KV heads with their cache and of the dense FFN rows or MoE experts in\nany weight format, sized to the card, and reads only those per token\n([tensor parallelism](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/pipeline-stages.md#tensor-parallelism) ), Qwen3.8-Flash-Next\nits GDN key heads, attention KV heads and routed experts. Gemma 4, Flint, DeepSeek-V4.1-Flash and\nInkling 2 divide only their routed experts this way.\n- FP8 A8 and NVFP4 W4A4 tensor-core routes on every `120a` build, an FP4 tensor-core prompt kernel\nfor an NVFP4 KV cache, and programmatic dependent launches on Blackwell.\n\nThe release pipeline packages two Debian 13 / Linux x64 images from the native Linux archives. Each image contains one executable with all NInfer architectures supported by its CUDA variant. The image build does not compile NInfer again.\n\n| Image tag | Toolkit | Embedded GPU architectures | \n|---|---|---|\n| `ghcr.io/iamwavecut/ninfer-all:cuda12.9` | CUDA 12.9.2 | `sm_70` ,`sm_75` ,`sm_80` ,`sm_86` ,`sm_89` | \n| `ghcr.io/iamwavecut/ninfer-all:cuda13.4` | CUDA 13.4.3 | `sm_75` ,`sm_80` ,`sm_86` ,`sm_89` ,`sm_120a` | \n\nChoose `cuda12.9` for Volta and `cuda13.4` for Blackwell. Both cover Turing, Ampere and Ada.\nBoth support a layer pipeline (`--devices`) across different architectures included in that image.\nThe host needs a compatible NVIDIA driver and the\n[NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html).\nWindows archives, Linux archives and Docker images use the same two architecture sets:\n\nEach archive and image contains all device images inside its outline. These are the project's build targets,\nnot the complete list of architectures supported by NVIDIA's Toolkits.\nSee the [release process](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/release-process.md) for build and verification status.\n\n## **Commands, volumes and tags** — what the container runs\n\n- **Tags.**`cuda12.9` and`cuda13.4` update after both Linux CUDA builds and both Docker jobs succeed for the\ncurrent`master` . Windows builds do not block them.\nPin a build with`cuda12.9-<commit12>` or`cuda13.4-<commit12>` , where`commit12` is the first\n12 hexadecimal characters of its commit SHA. Both images must build before either floating tag\nmoves. The pipeline no longer updates`latest` or`multi` tags.\n- **Volumes.**`/models` holds artifacts,`/cache` the device profile measured on first start, and`/grafts/<model>/` optional[prompt grafts](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/serving.md#prompt-grafts) .\n- **Verification.** The new image variants still need a complete build and GPU inference checks.\nEarlier image tests on RTX 3090 and RTX 5090 do not establish these variants' runtime behavior.\n\nThe container's command chooses what runs:\n\n| command | runs | \n|---|---|\n| `serve` ,`ninfer` ,`perplexity` ,`calibrate``[args]` | that binary with any artifact and flags; `serve` listens on`0.0.0.0:8080` unless its flags or`--config` files give`host` or`port` . The image keeps the[configuration files](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/cli.md#launch-configuration-files) in`/opt/ninfer/configs` :`docker run -w / ... serve --config /opt/ninfer/configs/<file>.ini` | \n| `run <model> [profile]` (the default:`run qwen38-27b` ) | the [launcher profiles](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/maintainer/launcher-profiles.md) of`scripts/run.sh` for the official`qwen38-27b` and`qwen36-35b-a3b` , with its`NINFER_*` overrides (`-e NINFER_SPEC=mtp` ,`-e NINFER_CONTEXT=131072` , ...) | \n| `download <model>` | `scripts/download-model.sh` into`/models` :`qwen38-27b` ,`qwen36-27b` or`qwen36-35b-a3b` | \n\nThe official Qwen3.8-27B with the measured `tuned` profile, on [http://localhost:8080/v1](http://localhost:8080/v1):\n\n```\ndocker run --rm -v \"$PWD/models:/models\" ghcr.io/iamwavecut/ninfer-all:cuda13.4 download qwen38-27b\ndocker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 \\\n  -v \"$PWD/models:/models\" -v ninfer-cache:/cache \\\n  ghcr.io/iamwavecut/ninfer-all:cuda13.4 run qwen38-27b\n```\n\n[compose.yaml](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/compose.yaml) wires the GPU, the port and the volumes for the same:\n`docker compose run --rm ninfer download qwen38-27b`, then `docker compose up -d`.\n`NINFER_CUDA_TAG=cuda12.9 docker compose up -d` selects the Volta-capable image; Compose defaults\nto `cuda13.4`. The published images use their multiarch binary automatically.\n`docker build -t ninfer .` builds a separate Ubuntu image from source (`--build-arg ARCHS=86` for one architecture,\n`--build-arg 'ARCHS=75;86;120a'` for the multi-architecture build).\n\n```\nscripts/fetch-media-sources.sh\ncmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CUDA_ARCHITECTURES=86\ncmake --build build --target ninfer-serve ninfer-calibrate\n```\n\nThe first command downloads the FFmpeg and dav1d releases that a Linux build compiles in.\n\n`CMAKE_CUDA_ARCHITECTURES` takes one build from [supported GPUs](#supported-gpus), or a list of them\nfor a pipeline across cards of different architectures\n([several architectures](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/build-linux.md#cards-of-several-architectures-in-one-pipeline)).\n\n## **Toolchains and options** — CUDA versions per target, guides\n\n`120a` runs the `mma.sync` compatibility path, which the ternary route needs. CUDA 12.8 or newer builds\n`75`, `80`, `86` and `89`, and `70` needs CUDA 12.8 or 12.9. A `120a` build needs CUDA 13.1 or newer except\n13.2.0 and 13.2.1: those releases, 12.8 and 12.9 miscompile sm_120a kernels, and configure refuses them\n([CUDA toolkits](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/build-linux.md#cuda-toolkits)). The [Linux](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/build-linux.md)\nand [Windows](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/build-windows.md) guides cover dependencies, the opt-in build options and the\nlauncher scripts; [tests](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/tests/README.md) and [benchmarks](https://github.com/spk-c/ninfer-all-rtx4090/blob/master/bench/README.md) have their own guides.\n\nApache-2.0, as upstream. The Bonsai artifacts' weights come from PrismML, ProCreations and Qwen, all Apache-2.0; their cards list the notices. The Qwen3.8-Flash-Next artifacts carry the Qwen Community License 1.0 of their model.", "url": "https://wpnews.pro/news/show-hn-running-a-27b-llm-with-176k-context-on-a-single-rtx-4090", "canonical_source": "https://github.com/spk-c/ninfer-all-rtx4090", "published_at": "2026-12-03 18:37:34+00:00", "updated_at": "2026-12-03 18:48:42.081639+00:00", "lang": "en", "topics": ["large-language-models", "ai-infrastructure", "ai-tools"], "entities": ["NInfer-all RTX 4090", "NVIDIA GeForce RTX 4090", "Qwen3.8-27B", "DFlash2", "CUDA", "Hugging Face", "Inkling 2", "NInfer-all"], "also_reported_by": [], "takeaway": "On one 24 GB RTX 4090, DFlash2 speculative decoding at K7 raised Qwen3.8-27B IQ3_S decode to 267.70 tok/s and solved 115/115 synthetic coding fixtures at 196,608 context, versus 133.50 tok/s and 69/69 with no drafter.", "recommendation": {"advice": "Enable a DFlash2 K7 draft backend when serving long-context models on a single 24 GB RTX 4090; the source measured roughly double the decode rate (267.70 vs 133.50 tok/s) with no loss in solved fixtures.", "playbook": "inference-serving", "playbook_url": "https://wpnews.pro/playbooks/inference-serving"}, "alternates": {"html": "https://wpnews.pro/news/show-hn-running-a-27b-llm-with-176k-context-on-a-single-rtx-4090", "markdown": "https://wpnews.pro/news/show-hn-running-a-27b-llm-with-176k-context-on-a-single-rtx-4090.md", "text": "https://wpnews.pro/news/show-hn-running-a-27b-llm-with-176k-context-on-a-single-rtx-4090.txt", "jsonld": "https://wpnews.pro/news/show-hn-running-a-27b-llm-with-176k-context-on-a-single-rtx-4090.jsonld"}}