Hy4-flash-NVFP4 for Flare (gb202 TP=1, Concurrency 8)

Signed Flare native runtime core for tencent/Hy4-flash, exported from timbuksu/Hy4-flash-NVFP4 for single-GPU 96 GiB NVIDIA Blackwell (SM120 / gb202) serving with 64 GiB+ host RAM.

This is the higher-accuracy multimodal package, keeping all sensitive dense attention/FFN, DFly2 draft, and SigLIP2 vision weights in BF16. For a 1M+ KV token multimodal package exported from the same checkpoint via --online-mxfp8 (with measured quality loss), see timbuksu/Hy4-flash-NVFP4-1M-FLARE.

Flare serves precompiled kernels, CSF-compressed NVFP4/MXFP8 weights, 4-bit host-resident Engram n-gram tables, and captured CUDA graphs directly from Rust with no Python runtime and no runtime compilation. Transformers, vLLM, SGLang, and llama.cpp cannot load this package directly (use timbuksu/Hy4-flash-NVFP4 for the ModelOpt safetensors checkpoint).

Quick Start

Interactive first run (downloads the gb202 revision, verifies the Ed25519 signature online against publisher.json, and prompts you to type timbuksu to accept the key and Tencent Hy License):

flare run timbuksu/Hy4-flash-NVFP4-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/Hy4-flash-NVFP4-FLARE \
  --gpus 0 \
  --embedding-table-storage ram \
  --dangerously-accept-publisher timbuksu \
  --dangerously-approve-key 05eccfc726b6877c0d7fdcefacd3fb041650754753fabc00aceb1526c9cf1e09

--embedding-table-storage ram keeps the 33.19 GiB 4-bit NVFP4_E4M3_GLOBAL Engram tables resident in host RAM (recommended on 64 GiB+ hosts). Omit it to serve the Engram tables from NVMe disk on lower-RAM hosts.

Package Configuration

Setting Value
Target hardware Single NVIDIA SM120 / gb202 96 GiB GPU (TP=1) + โ‰ฅ64 GiB host RAM
Architecture 42-layer hybrid (12 sparse-indexed MLA + 30 SWA-512 MLA, 4-stream iHC, 4 Engram layers, 41 512-expert LatentMoE) + 5-layer DFly2 + 27-layer SigLIP2 vision
GPU precision Calibrated GPTQ NVFP4 routed experts (W4A16 decode / W4A4 prefill, CSF-compressed scales) + selective MXFP8 (q_b_proj, linear_gate, o_proj) + BF16 sensitive dense/attention/vision/DFly2 layers
Host Engram tables 4-bit NVFP4_E4M3_GLOBAL (33.19 GiB in host RAM via --embedding-table-storage ram, down from 60.84 GiB in FP8)
Speculation DFly2 (--mtp-only, widths 1..6, adaptive width selection, --speculative-token-capacity 48) with NVFP4 draft head (--draft-head-quantization nvfp4, exact BF16 target verification)
Max context / prefill chunk 1,048,576 tokens (native 1M) / 4,096 tokens
Max concurrency 8 concurrent requests, 4 concurrent vision slots (2048ร—2048 SigLIP2)
Clock-locked tuning Exported with --lock-gpu-clocks on SM120 (RTX PRO 6000 Blackwell)
Sampling defaults temperature=0.9, top_p=1.0, top_k=-1 (official tencent/Hy4-flash defaults)

Expected Memory & KV Cache Capacity (96 GiB SM120)

Measured directly under native flare run --embedding-table-storage ram on a single 96 GiB SM120 GPU:

  • Loaded GPU memory: 88.38 GiB (85.9 GiB weights with CSF + NVFP4 draft head, 54 captured CUDA graphs)
  • Expected KV cache budget: 5.98 GiB (6.0 GiB allocated) โ†’ 2,947 sparse MLA/C4 KV pages (754,432 KV tokens) + 298 shared prefix-snapshot slots
  • Host RAM (Engram tables): 33.19 GiB resident (12.3 ยตs/step average GPU readiness wait across 1,207 steps, zero disk reads)

Measured Serving Throughput (flare run, SM120 96 GiB)

Measured on a single 96 GiB SM120 GPU under native flare run --embedding-table-storage ram (DFly2 acceptance: 2.17 tok/round across 1,824 request rounds):

Prefill (Fresh Uncached Prompts, max_tokens=1)

Prompt Length TTFT Prompt Throughput
5,483 tokens 853.0 ms 6,428.0 tok/s
21,869 tokens 3,432.8 ms 6,370.5 tok/s
43,804 tokens 6,356.6 ms 6,891.1 tok/s

Decode & Multimodal Workloads

Workload Throughput Notes
B=1 Prose essay (greedy, max_tokens=512, temperature=0.0) 94.52 tok/s TTFT 83.6 ms
B=1 Prose essay (official defaults, max_tokens=512, temperature=0.9) 97.48 tok/s Prefix cache hit
B=1 Rust B-tree code (greedy, max_tokens=400, temperature=0.0) 98.05 tok/s TTFT 75.8 ms
B=1 Linux epoll C code (greedy, max_tokens=400, temperature=0.0) 99.87 tok/s TTFT 74.5 ms
B=8 concurrent (8 ร— 256 tok, official defaults) 355.88 tok/s agg 61.45 tok/s/user
Multimodal PNG (128ร—128 4-quadrant test, max_tokens=128) 123.21 tok/s TTFT 77.8 ms; exact 4-quadrant color identification

Quality Verification (Source Checkpoint vs. Upstream BF16)

Lockstep 42-layer evaluation of timbuksu/Hy4-flash-NVFP4 against upstream BF16 tencent/Hy4-flash (eval_hy4.jsonl, 4 ร— 256 tokens, seed 999):

  • Full 42-layer model (selective-dense GPTQ NVFP4 vs. BF16): KL = 0.09434, top1 = 91.02%, PPL = 10.789 vs. 10.909 (0.9890ร—)
  • 4-bit NVFP4_E4M3_GLOBAL Engram vs. FP8 Engram: KL = 0.0560, top1 = 93.46%, PPL = 10.82 vs. 11.14 (0.971ร—)

License

This derivative package is governed by the Tencent Hy License, Version 1.0 (LICENSE), matching tencent/Hy4-flash.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for timbuksu/Hy4-flash-NVFP4-FLARE

Quantized
(1)
this model