Downloads · 30 days
0
splickz/qwen3.8-27b-yarn-nvfp4-sm120
qwen3.8-27b-yarn-nvfp4-sm120 is a text generation model from splickz. Use it when you need the model to write or continue text. It is set up for ninfer. The card lists the license as apache-2.0.
This repository contains no model weights. The weights are upstream's unchanged NVFP4 artifact neroued/Qwen3.8-27B-nvfp4-NInfer (qwen3827bnvfp4.ninfer, 21,492,695,040 bytes, sha256 bb3360522a06e136e0367f5703414d26272b…
Downloads · 30 days
0
Access
Public
Updated Sep 2, 2026
Repo size
—
Likes
1
Public
Click a slice to open those files.
.md6.1 KB · 46%
From the Hugging Face model README
This repository contains no model weights. The weights are upstream's unchanged NVFP4 artifact
neroued/Qwen3.8-27B-nvfp4-NInfer
(qwen3_8_27b_nvfp4.ninfer, 21,492,695,040 bytes,
sha256 bb3360522a06e136e0367f5703414d26272b7285c8a6ab6194135c17dbd81b32). Nothing here was
retrained, fine-tuned or re-quantized, so duplicating 20 GB of weights would add nothing. This page
documents a runtime configuration — the engine build, flags and measurements — that runs that
artifact past its native context on a single 32 GB RTX 5090.
Code: github.com/splickz/ninfer-yarn-nvfp4
(release v0.1.0-yarn-nvfp4-sm120, commit b5f2d1a9).
| Weights | NVFP4 (upstream artifact, unchanged) |
| KV cache | Neroued/ninfer's upstream NVFP4 KV implementation (--kv-dtype nvfp4); k8v4 also measured |
| Context extension | YaRN, applied at runtime — NTK-by-parts RoPE frequency rescaling plus the 0.1·ln(F)+1 attention-scale correction. Positional only; the KV format is untouched |
| Native model context | 262,144 tokens, unchanged. Variant::maximum_context is not modified |
| Is this a 600K model? | No. It is not a newly trained or fine-tuned long-context checkpoint. Positions past 262,144 are reachable through YaRN scaling; quality there is not guaranteed |
| Factor used for all published long-context results | 4 (--rope-yarn-factor 4 --rope-original-max-position 262144) |
| Recommended practical target on a 32 GB RTX 5090 | 500K (--max-context 500000) |
| Edge | A 590,053-token prompt returned 5/5 needles, but with a performance cliff near the VRAM limit (see below) |
The memory side (how many tokens fit) is upstream's NVFP4 KV compression. The positional side (how positions past the trained window are encoded) is the YaRN option added in the linked repository. They are separate problems; this page is about the combination.
One RTX 5090 (32,607 MiB), SM120, WSL2 Ubuntu 22.04, CUDA 13.1, driver 610.47. Weights 19.0 GiB
resident. CUDA graphs on, speculative decoding off, prefix reuse off, single request,
--rope-yarn-factor 4. Retrieval: 5 codewords at 10/25/50/75/90% depth, question at the end,
each codeword scored individually, finish_reason=stop required. Prompt tokens are the engine's own
usage.prompt_tokens. Prefill tok/s from streamed time-to-first-token.
| KV mode | --max-context | prompt tokens | retrieval | prefill tok/s | decode tok/s | KV runtime | peak VRAM |
|---|---|---|---|---|---|---|---|
| nvfp4 | 300,000 | 270,055 | 5/5 | 2,237 | 53.3 | 5.47 GiB | 26,809 MiB |
| nvfp4 | 300,000 | 290,105 | 5/5 | 2,130 | 51.6 | 5.47 GiB | 26,809 MiB |
| nvfp4 | 400,000 | 389,954 | 5/5 | 1,662 | 49.2 | 7.18 GiB | 28,511 MiB |
| nvfp4 | 500,000 | 489,803 | 5/5 | 1,357 | 48.6 | 8.90 GiB | 30,474 MiB |
| k8v4 | 400,000 | 389,954 | 5/5 | 1,820 | 49.7 | 9.90 GiB | 31,507 MiB |
| nvfp4 | 600,000 | 590,053 | 5/5 | 655 | 33.1 | 10.6 GiB | 32,045 MiB |
Planner frontier: nvfp4 650,000 and k8v4 500,000 are refused by the engine's reservation check on this card (12,056,834,048 bytes available). Nothing bypasses the allocator.
Control: at 262,144 tokens, factor 1 and factor 4 reserve identical KV (4.82 GiB) and leave identical free memory (6.12 GiB). Factor 1 with the flag is byte-identical to upstream without it.
git clone https://github.com/splickz/ninfer-yarn-nvfp4.git
cd ninfer-yarn-nvfp4
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel
hf download neroued/Qwen3.8-27B-nvfp4-NInfer qwen3_8_27b_nvfp4.ninfer --local-dir models
# practical: 500K, factor 4, NVFP4 KV
./build/apps/ninfer-serve models/qwen3_8_27b_nvfp4.ninfer \
--port 5800 --kv-dtype nvfp4 \
--rope-yarn-factor 4 --rope-original-max-position 262144 \
--max-context 500000
# retrieval harness (needles at 10/25/50/75/90%, streamed timing)
python3 bench/ctxbench.py 5800 nvfp4-f4 270000 390000 490000
For the 600K edge use --max-context 600000; expect ~400–500 MiB free after startup and roughly
half the 500K throughput. Requirements and the full flag reference are in the GitHub README.
k8v4 costs ~40% more KV memory per token than nvfp4 and does not fit 500K on this card.rk4v4-e8):
splickz/ninfer-rk4v4-e8 /
splickz/qwen3.8-27b-rk4v4-e8-sm120.