Hy4-Flash-WV-NVFP4-Hybrid-SM120
Flagship Blackwell SM120a (sm_120a SASS-only) Hybrid NVFP4 + WV-v6.7 quantization of tencent/Hy4-flash (220.25B active model + 0.85B closed-loop recalibrated DFly2 speculative drafter + exact BF16 SigLIP2 ViT vision tower + fp8_exact host-mmap Engram), packaged with dual-OS (Linux x86_64 & Windows amd64) qfn_sm120_unified (v22.7.0) OpenAI & Open-WebUI servers.
All quality metrics below are directly measured on held-out Blind-Val sequences against the canonical pure-BF16 fp8_exact reference logits at Grawnch/Hy4-Flash-BF16-Reference-Logits.
Universal Runtime (wv_universal_runtime v1.5.2) — Install & Serve
All WV6 models share a single universal runtime wheel (sm_80–sm_120a, Linux + Windows) hosted at Grawnch/wv-runtime-binaries:
pip install --no-deps https://huggingface.co/Grawnch/wv-runtime-binaries/resolve/main/wheels/wv_runtime_installer-1.5.2-py3-none-any.whl
python -m wv_runtime.cli install
python -m wv_runtime.serve --model Grawnch/Hy4-Flash-WV-NVFP4-Hybrid-SM120 --max-seq 8192 --offload-cold --vram-budget-gb 12.0
Verified Blackwell (RTX PRO 6000, sm_120a) v1.5.2 Throughput
| Metric | Context / Batch | Measured (v1.5.2) |
|---|---|---|
Greedy Parity (96/96 + 64/64 CG) | B=1 (DFly2 + SAM) | 96/96 (100%) + 64/64 CUDA Graph exact |
Plain M=1 Decode | B=1 | 47.93 tok/s |
| Speculative Decode | B=1 | code: 55.26, math: 65.44, json: 63.79, prose: 55.16 tok/s |
| Batched Decode | B=4 / B=8 / B=16 (2K ctx) | 111.0 / 165.4 / 233.8 tok/s |
Prefill (S=512) | 512 tokens | 1983.1 tok/s (258.18 ms) |
Prefill (S=2048) | 2,048 tokens | 1915.4 tok/s (1069.23 ms) |
Prefill (S=8192) | 8,192 tokens | 1700.9 tok/s (4816.28 ms) |
Prefill (S=32768) | 32,768 tokens | 1327.5 tok/s (24684.10 ms) |
Why Hybrid NVFP4 + WV-v6.7 Beats Standalone NVFP4
| Checkpoint | Routed MoE BPW | GPU Backbone (+ DFly2 + ViT) | Total Disk (incl. Engram) | Single 96 GB RTX PRO 6000 Fit | Held-Out MoE Output Rel-MSE (↓) | Blind-Val 2K Math/Code Top-1 (↑) |
|---|---|---|---|---|---|---|
AngelSlim / Avifenesh / atakans NVFP4 | 4.500 bpw | ~95–100 GB (88.5–93.1 GiB) | 159.6–164.7 GB | Tight / OOM w/ KV + Drafter | 0.9023% (data-free W4A4) | < 94% (W4A4 E2M1 act loss) |
Hy4-Flash-WV-NVFP4-Hybrid-SM120 (Ours) | 3.9650 bpw | 83.15 GB (77.44 GiB) | 147.83 GB | Yes (~16+ GiB KV headroom) | 0.0329% (27.4x lower!) | 95.09% (KLD = 0.07413) |
- Rotated Two-Level
NVFP4(4.5000 bpw) +4D VQ-4096(3.3125 bpw) Output-SpaceMODE3: Hot experts and high-Jacobian projections use rotated Two-LevelNVFP4(E2M1+ MSE-optimalUE4M3/16block scales + exact power-of-2FP32expert scale inFWHT-128+ Clamped-SwiGLU-safe SnakeP_pidomain ->0.0%UE4M3subnormals and27.4xlower activation output error than data-freeNVFP4), paired with16 KB-SMEM4D VQ-4096(3.3125 bpw), sequentialGate/Up -> DownWaterfall Hessians, Top-32 Rank-8down_projSVD patches, andSWZ8_G32(8.50 bpw) across all dense MLA, shared-expert,embed_tokens, andlm_headlayers (W-NVFP4 / A8— zero4-bitactivation degradation). - Native
sm_120aQMMA.16832.F32.E4M3.E2M1+ Zero-SMEM Register__dp4a: Uses Blackwellsm_120aTensorCore MMA onM >= 16prefill & batched speculative verification and0-SMEM register nibble-LUT__dp4aonM < 16decode buckets (0.0-ULPparity,96/96greedyDFly2 + SAMparity).
Measured Quality vs Pure-BF16 fp8_exact Reference (Gate 1)
| Blind-Val Split | Tokens | BF16 PPL | WV-v6.7 PPL (Delta) | KLD (↓) | Top-1 (↑) | Top-5 (↑) |
|---|---|---|---|---|---|---|
Blind-Val 2K Overall (Matched B=1 fp8_exact BF16) | 16376 | 13.4214 | 11.9456 (-1.4758) | 0.22712 | 90.413% | 97.869% |
Blind-Val 2K Overall (mb=8 Ref Repo; Pure-BF16 Ceiling 93.03%) | 16376 | 13.2992 | 11.9456 (-1.3536) | 0.23359 | 90.223% | 97.869% |
2K — WikiText-2 test Prose | 4094 | 29.2581 | 24.7954 (-4.4627) | 0.25598 | 87.396% | 97.875% |
2K — Held-Out Code | 4094 | 40.1816 | 34.3671 (-5.8146) | 0.53013 | 83.317% | 94.797% |
2K — Self-Gen Math/Code | 8188 | 5.1584 | 4.8883 (-0.2701) | 0.07413 | 95.09% | 99.402% |
Blind-Val 8K Overall (WT2 test) | 16382 | 34.8908 | 30.8164 (-4.0744) | 0.34514 | 84.538% | 97.168% |
8K — Early (0..512) | 1024 | 11.9276 | 12.287 (+0.3594) | 0.10163 | 89.648% | 99.219% |
8K — Mid (4096..4608) | 1024 | 52.4458 | 44.4088 (-8.0370) | 0.49801 | 81.055% | 95.605% |
8K — Late (7679..8191) | 1024 | 33.1118 | 27.5008 (-5.6110) | 0.37035 | 85.059% | 96.777% |
Measured Verification, Latency & Throughput (Gate 2 + Gate 3 + Clean-Room Audit)
| Benchmark / Check | Measured Result |
|---|---|
21,606-Token Multi-Needle Exact Recall | 3/3 (100%) (prefill = 37.6369s, decode = 49.3 tok/s, mean tau = 5.222) |
Greedy Hybrid-Tree (DFly2 + SAM) vs M=1 Parity | 96/96 (100.0%) (DFly2 closed-loop cos = 0.984934, per-prompt tau = [2.583, 3.444, 2.818]) |
GPU JSON Schema FSM + Multimodal SigLIP2 ViT VQA | 4/4 (100.0%) + Live vit.safetensors VQA & <tool_calls:opensource> Verified |
RTX PRO 6000 (96 GB) 512 Spec Decode (B = 1 / 4 / 8 / 16 / 32) | 22.03 / 95.05 / 133.41 / 173.25 / 196.51 tok/s (mean tau = 2.159) |
RTX PRO 6000 (96 GB) 8K Spec Decode (B = 1 / 2 / 4 / 8 / 16) | 22.85 / 41.17 / 51.39 / 65.56 / 91.21 tok/s (B=1 8K prefill = 11.541s) |
Live HTTP SSE Cold TTFT (128 / 512 / 2048 / 4096 / 8192 tok) | 458.43 / 736.84 / 2689.07 / 5526.79 / 9203.75 ms (Prefix-cache hit: 95.53..254.63 ms) |
AIME-2025 (30/30, temp=0.9, 150K Think) | 100.0% (30/30, 0 loops) |
LiveCodeBench v6 (175 Problems: Easy / Med / Hard) | 86.29% (100.0% / 92.31% / 75.0%, Hard-Top30 83.33%, 0 loops) |
Quickstart (SM120 Blackwell — 96 GB RTX PRO 6000)
# Linux x86_64:
pip install --no-deps https://huggingface.co/Grawnch/wv-runtime-binaries/resolve/main/wheels/wv_runtime_installer-1.5.2-py3-none-any.whl
python -m wv_runtime.cli install
# Windows amd64: pip install wheels/qfn_sm120_unified-22.7.0-cp311-cp311-win_amd64.whl
# Launch OpenAI & Open-WebUI compatible speculative server:
python -m qfn_sm120_unified.serve --ckpt . --host 0.0.0.0 --port 8000 --inline-think
License
This model derivative is distributed under the Tencent Hy License (see LICENSE), inherited from tencent/Hy4-flash.