Qwen3.8-Flash-Next-FP4-Local + DFlash2 for Flare (gb202 TP=1, Concurrency 16)
Signed Flare native runtime core for Qwen/Qwen3.8-Flash-Next, prepared from NVIDIA's ModelOpt QAD checkpoint nvidia/Qwen3.8-Flash-Next-FP4-Local (revision b9ce18a6887e18c089fdea8509a33e63429a3300) with the incoai/Qwen3.8-Flash-Next-DFlash2 block-diffusion drafter (revision a22a1744e85c17364dcc54a6a420af7135d4c7f6) for single-GPU 96 GiB NVIDIA Blackwell (SM120 / gb202) serving.
Flare serves precompiled CUDA kernels, NVFP4/MXFP8 weights, and captured CUDA graphs directly from Rust with no Python runtime and no runtime compilation. The model's 26.82 GiB n-gram embedding table (PLE) stays outside GPU VRAM and is served from host RAM or disk. Transformers, vLLM, SGLang, and llama.cpp cannot load this runtime core directly (use nvidia/Qwen3.8-Flash-Next-FP4-Local for the source ModelOpt checkpoint).
Quick Start
Interactive first run with the 26.82 GiB PLE n-gram embedding table resident in host RAM (downloads the gb202 revision, verifies the Ed25519 signature online against publisher.json, and prompts you to type timbuksu to accept the key and NVIDIA Open Model Agreement):
flare run timbuksu/Qwen3.8-Flash-Next-FP4-Local-DFlash2-FLARE \
--gpus 0 \
--embedding-table-storage ram
Non-interactive / unattended startup (explicitly approving publisher timbuksu and its SHA-256 signing-key fingerprint):
flare run timbuksu/Qwen3.8-Flash-Next-FP4-Local-DFlash2-FLARE \
--gpus 0 \
--embedding-table-storage ram \
--dangerously-accept-publisher timbuksu \
--dangerously-approve-key 05eccfc726b6877c0d7fdcefacd3fb041650754753fabc00aceb1526c9cf1e09
To reduce system RAM usage, keep PLE weights on disk with a bounded RAM row cache (RAM scales + 2 GiB hot-row cache):
flare run timbuksu/Qwen3.8-Flash-Next-FP4-Local-DFlash2-FLARE \
--gpus 0 \
--embedding-table-storage disk \
--embedding-table-cache-size 2GiB
Pass "chat_template_kwargs": {"enable_thinking": false} in /v1/chat/completions requests to skip <think>...</think> blocks for direct answers, or set "reasoning_effort" to "xhigh" (default), "medium", or "low" when thinking is enabled.
Package Configuration
| Setting | Value |
|---|---|
| Target hardware | Single NVIDIA SM120 / gb202 96 GiB GPU (TP=1) |
| Architecture | 48-layer hybrid (12 Γ (3 Γ Gated DeltaNet + 1 Γ Qwen Sparse Attention) with 512-expert MoE, 10 active + shared expert, gated residual hyperconnections), 26.82 GiB host-offloaded n-gram PLE table, 27-layer Qwen vision encoder, and 5-layer DFlash2 drafter |
| Source checkpoints | nvidia/Qwen3.8-Flash-Next-FP4-Local (b9ce18a6887e18c089fdea8509a33e63429a3300) + incoai/Qwen3.8-Flash-Next-DFlash2 (a22a1744e85c17364dcc54a6a420af7135d4c7f6) |
| Target precision | NVIDIA ModelOpt QAD MIXED_PRECISION: NVFP4 routed experts (--force-moe-decode-a16: W4A16 decode/verify, calibrated W4A4 prefill), MXFP8 attention and shared-expert projections, W4A16 NVFP4 vision MLPs, BF16 embeddings/lm_head/norms |
| Draft precision | DFlash2 draft body converted online to MXFP8 (--online-mxfp8), NVFP4 proposal vocabulary head (--draft-head-quantization nvfp4), verified against exact BF16 target lm_head |
| Speculation | --speculative-method dflash2 --mtp-only, widths 1..8 (up to 7 draft tokens per round, adaptive width selection), --speculative-token-capacity 128 |
| Max context / prefill chunk | 262,144 tokens / 4,096 tokens |
| Max concurrency | 16 concurrent text requests (4 concurrent image requests) |
| Clock-locked tuning | Exported with --lock-gpu-clocks on SM120 (RTX PRO 6000 Blackwell Max-Q Workstation Edition) |
| Sampling defaults | temperature=1.0 (clamped 0.7β1.0), top_p=0.95 (clamped 0.8β0.95), top_k=20, presence_penalty=0.0 (clamped 0β2) |
| Modalities | Text + Vision (qwen profile, 65,536β16,777,216 px, patch capacities 256, 1024, 4096, 16384; video input not qualified) |
| Frontend | Qwen3.8 Jinja chat template (enable_thinking, reasoning_effort), <think>...</think> reasoning parser, QWEN_CODER XML tool parser |
Prepared with Ignition using:
ignition export qwen3.8-flash \
--gpus 0 \
--max-concurrency 16 \
--image-concurrency 4 \
--prefill-chunk-size 4096 \
--speculative-method dflash2 \
--mtp-draft-tokens 7 \
--speculative-token-capacity 128 \
--online-mxfp8 \
--draft-head-quantization nvfp4 \
--force-moe-decode-a16 \
--lock-gpu-clocks \
--mtp-only
Expected Memory & KV Cache Capacity (96 GiB SM120)
Measured directly under native flare run on a single 96 GiB NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition (SM120):
- Loaded GPU memory:
73.18 GiB(71.7 GiBGPU weights and initial state,74captured CUDA graphs,8,372kernels) - Expected KV cache budget:
21.24 GiBβ24,320paged KV pages (1,556,480KV tokens,64tokens/page) +133shared GDN/QSA/DFlash2 prefix-snapshot slots (memory-limited) - Host PLE n-gram table:
26.82 GiB(28,800,138,240bytes on disk; fully resident in host RAM under--embedding-table-storage ram, or disk-backed with RAM scales +2 GiBrow cache under--embedding-table-storage disk --embedding-table-cache-size 2GiB, leaving GPU KV cache capacity unchanged)
Measured Serving Throughput (flare run, SM120 96 GiB)
Measured on a single NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition (300 W TDP, 96 GiB VRAM) under native flare run with --embedding-table-storage ram --max-concurrency 16 --mtp-draft-tokens 7 and official core sampling defaults (temperature=1.0, top_p=0.95, top_k=20, adaptive DFlash2 verification). Single-request decode throughput reports streaming generation rate after TTFT; concurrent aggregate throughput reports total completion tokens divided by batch wall time across distinct prompts alongside mean per-user decode throughput.
Decode & Concurrent Workloads
Across the code, math, tool-call, vision, prefix-cache, and concurrent batch suite (2,627 verification rounds, 7,683 accepted draft tokens, 3.93 mean emitted tokens per round), measured DFlash2 acceptance by depth was 85.61% (depth 1), 68.79% (depth 2), 57.10% (depth 3), 48.25% (depth 4), 37.56% (depth 5), 30.47% (depth 6), and 24.79% (depth 7). On open-ended prose decode workloads (measured in a second flare run session), acceptance averaged 2.09β2.47 tokens per round (68.77%β71.83% depth-1 acceptance):
| Workload | Decode Throughput | Notes |
|---|---|---|
B=1 Rust B-tree (enable_thinking=False, 800 tok) |
330.99 tok/s |
2.46s total, 44.5 ms TTFT, 4.36 tok/round |
B=1 Linux epoll C (enable_thinking=False, 800 tok) |
385.50 tok/s |
2.12s total, 43.3 ms TTFT, 5.26 tok/round |
B=1 Technical essay prose (enable_thinking=False, 800 tok) |
184.79 tok/s |
4.37s total, 45.8 ms TTFT, 2.09 tok/round (68.8% d1) |
B=1 Literary fiction prose (enable_thinking=False, 800 tok) |
190.65 tok/s |
4.24s total, 46.1 ms TTFT, 2.22 tok/round (69.1% d1) |
B=1 Explanatory prose (reasoning_effort="low", 800 tok) |
207.84 tok/s |
3.89s total, 48.8 ms TTFT, 2.47 tok/round (71.8% d1) |
B=1 Math arithmetic (reasoning_effort="low", 310 tok) |
458.73 tok/s |
47.9 ms TTFT, 6.57 tok/round, <think> separated, exact 1637 |
B=1 Math proof (thinking on, default xhigh, 241 tok) |
290.24 tok/s |
47.4 ms TTFT, 3.89 tok/round, <think> separated cleanly |
B=1 Tool calling (get_weather XML, enable_thinking=False) |
0.185s total |
Structured tool_calls JSON, finish_reason="tool_calls" |
B=1 Vision (256Γ256 PNG, enable_thinking=False, 122 tok) |
192.65 tok/s |
0.69s total, 58.7 ms TTFT, 94 prompt tok, accurate color/layout |
B=1 Multi-turn prefix cache reuse (700 β 913 prompt tok) |
200.87 tok/s |
TTFT 114.1 ms β 81.5 ms, 693 cached tokens reused |
B=2 concurrent (2 Γ 256 tok, direct code) |
427.79 tok/s agg |
270.10 tok/s/user, 1.20s wall |
B=4 concurrent (4 Γ 256 tok, direct code) |
546.40 tok/s agg |
200.93 tok/s/user, 1.87s wall |
B=8 concurrent (8 Γ 256 tok, direct code) |
725.01 tok/s agg |
162.94 tok/s/user, 2.82s wall |
B=16 concurrent (16 Γ 256 tok, direct code) |
853.47 tok/s agg |
110.69 tok/s/user, 4.80s wall |
Cold Prefill Scaling (B=1, 4Kβ128K)
Measured with unique non-repeating technical prompts (enable_thinking=False, 0 prefix-cache tokens reused, 4,096-token prefill chunks). Prefill throughput equals prompt_tokens / TTFT. Every prompt verified exact end-of-context archive-code retrieval:
| Context | Prompt Tokens | TTFT | Prefill Throughput | Verification |
|---|---|---|---|---|
| 4K | 4,012 |
277.3 ms |
14,465.5 tok/s |
Exact end-of-prompt code |
| 8K | 8,007 |
568.5 ms |
14,085.0 tok/s |
Exact end-of-prompt code |
| 16K | 16,102 |
1.18 s |
13,697.0 tok/s |
Exact end-of-prompt code |
| 32K | 32,261 |
2.26 s |
14,269.4 tok/s |
Exact end-of-prompt code |
| 64K | 64,539 |
4.52 s |
14,273.4 tok/s |
Exact end-of-prompt code |
| 128K | 129,705 |
9.33 s |
13,898.9 tok/s |
Exact end-of-prompt code |
A separate needle-in-a-haystack check at 5,090 prompt tokens retrieved the mid-context code (EMERALD-9472) in 358.5 ms TTFT (14,198 tok/s).
A separate smoke check under --embedding-table-storage disk --embedding-table-cache-size 2GiB verified startup (1.2s PLE setup, identical 21.24 GiB GPU KV cache budget) and generated 101 tokens at 431.09 tok/s (47.0 ms TTFT) on a single Python code prompt.
Source Quality & Functional Verification
- Source checkpoint accuracy (reported by NVIDIA): This core packages
nvidia/Qwen3.8-Flash-Next-FP4-Localdirectly without additional target weight requantization (only the DFlash2 drafter is converted to MXFP8/NVFP4, while targetlm_headverification remains BF16). On its model card, NVIDIA reports GPQA Diamond91.5%(vs.92.2%BF16) and ToolEvalBench88.7%(vs.89.4%BF16) fornvidia/Qwen3.8-Flash-Next-FP4-Localunder vLLM. Those academic benchmark suites were not re-run under Flare for this release. - Live Flare qualification checks passed on this signed core: online publisher verification (
Verified via huggingface.co/timbuksu), arithmetic and reasoning separation (<think>...</think>),QWEN_CODERXML tool calling (get_weatherwithfinish_reason="tool_calls"), vision image understanding (256Γ256synthetic PNG), mid-context needle retrieval (5,090prompt tokens) and cold prefill retrieval up to129,705prompt tokens, multi-turn prefix cache reuse (693reused tokens), concurrent serving up toB=16, and disk-backed PLE startup/generation. Video inputs and multi-GPU deployments are not covered by thisTP=1package.
License
Use of this packaged core is governed by the NVIDIA Open Model Agreement, matching nvidia/Qwen3.8-Flash-Next-FP4-Local. The upstream Qwen/Qwen3.8-Flash-Next base model is governed by the Qwen Community License 1.0, and the incoai/Qwen3.8-Flash-Next-DFlash2 draft model is released under the Apache License 2.0.
Model tree for timbuksu/Qwen3.8-Flash-Next-FP4-Local-DFlash2-FLARE
Base model
Qwen/Qwen3.8-Flash-Next