Hy4 GGUF

We introduce Hy4 GGUF from Nace.AI: Tencent's Hy4 as one 447.5 GB Q4_K_M file for llama.cpp, plus the 2.7 GB vision projector.

A 228.3 GB STQ1_0 version, which needs a custom llama.cpp runtime, is in STQ1_0.

Results

Mean KL from BF16 against weight-file size for Hy4 quantizations

  • 447.5 GB: Hy4-Q4_K_M.gguf, 4.65 bits per weight.
  • 0.068 mean KL from the BF16 model on held-out text, with the same next token as BF16 at 91.8% of 5,621 positions.
  • Lower KL than the public 4-bit Hy4 files we measured: AngelSlim's Q4_K_M (470.2 GB, KL 0.091) and Xylolabs' MLX 4-bit (447.6 GB, KL 0.091).

KL measures how far the quantized model's next-token probabilities drift from BF16; lower is closer. The chart shows the files we scored on the same 11 held-out texts in November 2026. Sizes are the text-model weight files; the MLX and FP8 points use their published weight shards.

Nace Weight Space Quantization

Four-bit routed experts, higher precision for the rest.

Routed-expert weights in all 77 MoE layers are stored at 4 bits. Attention, shared experts, the dense first-layer FFN, embeddings and the output layer use 8 bits. The KV expansion matrices stay in BF16, and routers and norms keep full precision.

Run it

Hy4 needs the llama.cpp build from PR #32517, commit f8d4cc4.

git clone https://github.com/Little0o0/llama.cpp && cd llama.cpp
git checkout f8d4cc414546b8320a281f4c1364aba5f07d4149
cmake -B build -DGGML_CUDA=ON && cmake --build build --config Release -j
hf download nace-ai/Hy4-GGUF Hy4-Q4_K_M.gguf mmproj-HY4-VL-BF16.gguf LICENSE --local-dir ./Hy4-GGUF
build/bin/llama-server -m ./Hy4-GGUF/Hy4-Q4_K_M.gguf --jinja -c 8192 -ngl 99

--jinja is required: Hy4's chat template matches no built-in llama.cpp template.

License

Tencent Hy License, Version 1.0, including its Section 10 commercial terms for large Model-as-a-Service operators.

Downloads last month
-
GGUF
Model size
770B params
Architecture
hy_v4
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for nace-ai/Hy4-GGUF

Base model

tencent/Hy4
Quantized
(12)
this model