Hy4-flash-NVFP4-FLARE-src (Flare Source Checkpoint, compact-1m)

Calibrated ModelOpt MIXED_PRECISION (NVFP4 + compact-1m MXFP8 + BF16) quantization of tencent/Hy4-flash (revision b2498eba6a1a3f9bbcab4190bc1313a3c7010c2f), formatted for single-GPU 96 GiB NVIDIA Blackwell (SM120) serving with 64 GiB+ host RAM under Flare (ignition export --expert-scale-compression csf --online-mxfp8 --online-mxfp8-scope draft-head).

Related repositories from the same calibrated expert weights:

Format note: On disk, this checkpoint stores uncompressed float8_e4m3fn NVFP4 block scales in stacked 3D expert tensors and 4-bit NVFP4_E4M3_GLOBAL host-resident Engram tables (33.19 GiB). CSF scale compression is applied during ignition export --expert-scale-compression csf when building the -FLARE core. For vLLM or SGLang, use timbuksu/Hy4-flash-NVFP4 instead.

Quantization Summary

Total checkpoint size on disk is 122.26 GiB across 30 safetensors shards (89.07 GiB GPU weights before CSF scale compression + 33.19 GiB 4-bit Engram host tables; compact-1m dense policy):

Component Precision Method
41 LatentMoE routed expert layers (20,992 experts) NVFP4 (group_size=16, stacked 3D tensors with 1D [512] scales) Batched block-16 Cholesky GPTQ with Four-Over-Six (1.5× headroom), empirical-Bayes pooled H1 shrinkage (0.15), off-diagonal H2 shrinkage (0.05), and intra-group sequential GPTQ block-scale re-selection; 0 zero-hit experts across all 41 layers
High-sensitivity backbone dense projections (q_a_proj, kv_a_proj_with_mqa, kv_b_proj, routed_expert_{down,up}_proj, and all 12 sparse-indexed o_proj), DFly2 draft layers, SigLIP2 vision encoder, embeddings, lm_head, norms, routers BF16 / FP32 Preserved verbatim from upstream BF16
Remaining backbone dense projections (q_b_proj, linear_gate, 30 sliding-window o_proj, shared_experts, layer-0 dense MLP, Engram key_projs & value_proj — 260 modules) MXFP8 (group_size=32) Optimal E8M0 block-scale quantization (W8A16 activations at serving time)
4 Engram n-gram embedding tables (host RAM) 4-bit NVFP4_E4M3_GLOBAL Reduces host footprint from 60.24 GiB (per-row FP8) to 33.19 GiB (-44.9%), fitting resident in 64 GiB host RAM

Calibration Corpus

Calibrated on 772 multi-length documents (528,759 valid tokens across 1024, 2048, and 4096-token buckets; 75.3% thinking mode / 24.7% no_think mode) covering:

  • General English chat and assistance (29.9%)
  • Balanced six-language coding across Python, Rust, Java, JavaScript, Go, and C++ (30.3%)
  • Reasoning and STEM (15.9%)
  • Multi-turn tool use and terminal automation (10.0%)
  • Long-context (4k) legal prose (8.1%)
  • Chinese text (6.0%)

Quality Verification (vs. Upstream BF16 tencent/Hy4-flash)

Evaluated in full 42-layer streaming lockstep (including 4-bit NVFP4_E4M3_GLOBAL Engram lookups and W8A16 dense MXFP8 activations) against upstream BF16 tencent/Hy4-flash (revision b2498eba6a1a3f9bbcab4190bc1313a3c7010c2f) across five held-out assistant suites disjoint from calibration. Metrics report mean assistant-token KL divergence KL(BF16 || Quant) (lower is better):

Model legal_long eng_chat hermes_tools code_multi public_mix
Hy4-flash-NVFP4-FLARE (exported from this checkpoint, compact-1m + draft-head) 0.01278 0.03483 0.00976 0.02277 0.03234
Upstream FP8 (W8A8 simulated reference) 0.01694 0.03259 0.01078 0.02378 0.03124

Under the deployed compact-1m + draft-head configuration, assistant-token KL beats the simulated upstream FP8 (W8A8) reference on legal_long (-24.6%), hermes_tools (-9.5%), and code_multi (-4.2%).

Limitations

  • Targets Flare (ignition export) on single-GPU TP=1 NVIDIA Blackwell (SM120); cannot be loaded directly in vLLM or SGLang (use timbuksu/Hy4-flash-NVFP4 for those runtimes).
  • Simulated KL metrics evaluate dequantized NVFP4 routed expert weights (W4A16) rather than W4A4 activations.
  • Upstream license terms (tencent-hy-license) apply to all derived weights.
Downloads last month
144
Safetensors
Model size
193B params
Tensor type
F32
·
BF16
·
F8_E4M3
·
I32
·
U8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

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

Quantized
(81)
this model
Quantizations
1 model