Hy4-flash NVFP4 GPTQ for Basalt

Model file for Basalt, unmodified (tested on 0.5.6, commit 9e184fd88). It is jesdga's Hy4-flash pack with the routed experts replaced by ours; every other section (Q8_0 dense tensors, output head, Engram table, vision encoder, DFly2 drafter, tokenizer) is a byte-for-byte copy of theirs. Thanks to jesdga for the engine and the pack.

File Size Routed experts
Hy4-flash-NVFP4-GPTQ.basalt 158.7 GB NVFP4: imatrix-weighted block-scale search, then GPTQ rounding on gate/up (98k calibration tokens); down without GPTQ

Quality

Basalt's gate (basalt-bench --quality 100, wikitext-2, two RTX PRO 6000, against jesdga's hy4flash-bf16-base.kld), all run by us on one build:

Pack KLD Top-1
byobChat Q4_K / Q5_1 0.168 87.31%
byobChat NVFP4 GPTQ 0.196 86.51%
jesdga NVFP4 0.207 86.17%

Paired against jesdga's pack: Q4_K / Q5_1 -0.040 +- 0.004, NVFP4 GPTQ -0.012 +- 0.005 (chunk standard error). These are not comparable with the numbers on our GGUF cards, which use other texts.

Speed

One RTX PRO 6000 Blackwell, tokens/s, one run each, DFly2 drafting on:

Pack 16K prompt chat structured prose
byobChat Q4_K / Q5_1 2,945 160 258 132
byobChat NVFP4 GPTQ 3,519 163 268 137
jesdga NVFP4 3,552 158 272 136

Run

hf download byobChat/Hy4-flash-NVFP4-GPTQ-Basalt Hy4-flash-NVFP4-GPTQ.basalt --local-dir models
bin/basalt serve models/Hy4-flash-NVFP4-GPTQ.basalt --vision dynamic

Images work with --vision dynamic: a short test (four synthetic images: shapes and text, a table, a bar chart, a sign in noise; and one two-image prompt; one RTX PRO 6000, 32K context) read the same content as jesdga's pack.

Long context

Two cards (--gpu 0,1 --max-context 262144): one 254,895-token prompt with five hidden codes at 5-95% depth, all five found; 2,745 t/s prompt. One run; a pass/fail check, not a quality score.

One card (Basalt 0.5.6, RTX PRO 6000 96 GB): prompts of 16K tokens work; longer prompts crash.

One card Result
16K tokens works (3,519 t/s prompt)
29,647 tokens, --max-context 131072 engine crash (prefill mmq: quantize: an illegal memory access)
59,652 tokens, --max-context 65536 or 131072 engine crash (prefill mmq: quantize: an illegal memory access)
125,006 tokens, --max-context 131072 engine crash (prefill mmq: quantize: an illegal memory access), also with --kv fp8 or 16 or 24 GiB reserved
254,895 tokens, --max-context 262144 engine crash (prefill mmq: quantize: an illegal memory access)

jesdga's pack crashes the same way on one card here (60K, 125K and 255K prompts), so this is an engine limit and not specific to this file. Use two cards for long context.

Not tested by us: beyond 262K, and GPUs other than the RTX PRO 6000 Blackwell.

License

Tencent Hy License 1.0 (Apache 2.0 based, with additional commercial terms in section 10). This is a modified (quantized and repacked) derivative of tencent/Hy4-flash. Not an official Tencent release.

Downloads last month
1
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for byobChat/Hy4-flash-NVFP4-GPTQ-Basalt

Quantized
(57)
this model

Collection including byobChat/Hy4-flash-NVFP4-GPTQ-Basalt