Newsroom Wire

CN China11-25 14:58⏱ 3 min read

Hy4 flash: Tencent Hunyuan open-sources GGUF quantized weights and inference code to run the 224B model on personal devices

Hy4 flash: Tencent Hunyuan open-sources

On November 25, Tencent Hunyuan open-sourced GGUF quantized weights and companion inference code for Hy4 flash, a model with 224B total parameters, via its AngelSlim model compression and acceleration toolkit. After compression and runtime optimization, the model can be deployed on personal devices: the smallest version's weights are only about 30% the size of the original. With the optimized Strata offload framework, it can also run on devices such as a 64 GB Mac mini. Measured results show generation peaking at up to 89 tokens per second on a device with 48 GB of VRAM. Tencent said local deployments have been completed on RTX / DGX Spark 128 GB, an M5 Max Mac 128 GB, a 64 GB Mac mini, and a machine equipped with a 4090D.

IThome reported on November 25 that Tencent Hunyuan has open-sourced GGUF quantized weights and companion inference code for Hy4 flash through AngelSlim, its toolkit for large-model compression and acceleration. After compression and runtime optimization, Hy4 flash, a model with 224B total parameters, can be deployed on personal devices; the smallest version's weights are only about 30% the size of the original. With the optimized Strata offload framework, the model can also run on devices such as a 64 GB Mac mini. Measured data shows that on a device with 48 GB of VRAM, generation speed reaches up to 89 tokens per second.

224B

Total parameters

Full-parameter scale; vendor says it fits personal devices

410.27 GiB

Original weight size

Full weights before quantization

about 30%

Smallest version's weights

Relative to the original

89 tokens/s

48 GB VRAM generation speed

10K-context measured average; vendor says up to this speed

125.73 GiB

IQ2-AH weight size

About 285 GiB smaller than the original; storage cut by about 69%

0.4 points

Max benchmark gap after quantization

Worst Q3_K gap across four benchmarks

Tencent Hunyuan open-sources Hy4 flash GGUF quantized weights and companion inference code
Tencent Hunyuan open-sources Hy4 flash GGUF quantized weights and companion inference codeIT之家

Tencent said it has completed local deployments of Hy4 flash on RTX / DGX Spark 128 GB, an M5 Max Mac 128 GB, a 64 GB Mac mini, and a device equipped with a 4090D.

— Tencent

Measured data shows that on a device with 48 GB of VRAM, generation speed reaches up to 89 tokens per second.

NEW FEATURES & PLAYS

Multi-tier GGUF quantized weights

The original weights run about 410.27 GiB — too big for a typical single machine. Tencent Hunyuan split them into tiers: general-purpose Q4_K_M, the Q3_K benchmarked on M5 Max, the smaller IQ2-AH, plus two Spark-specific 4-bit versions. Pick by your machine's memory class.

Strata offload framework

When memory can't hold all weights, the offload framework moves part of them to other storage tiers; that's what put the 64 GB Mac mini on the list of machines that can run the model.

Companion inference code

Not just weights: the inference code is open-sourced too, under the AngelSlim toolkit's GitHub repo, with the weights also on Hugging Face and ModelScope.

Reproduce the official numbers

To line up with official results, follow the three setups: 48 GB VRAM tier at 10K context, M5 Max with Q3_K at 32K context, and Spark with SPARK-4Bit-Fast measuring both read-in and generation at 16K context.

Tencent said it has completed local deployments of Hy4 flash on RTX / DGX Spark 128 GB, an M5 Max Mac 128 GB, a 64 GB Mac mini, and a device equipped with a 4090D.

48 GB VRAM device: an average of 89 tokens per second generated in a 10K-context test.

M5 Max Mac: the Q3_K version generated 47 tokens per second in a 32K-context test.

Spark: the SPARK-4Bit-Fast version read in 717 tokens per second and generated 33 tokens per second in a 16K-context test.

Generation speed by device (tokens/s, vendor-measured)

All vendor self-tests; context lengths and quantization versions differ per device, so this lists each device's own result rather than a like-for-like ranking. The Spark's 717 tokens/s read-in speed is a different metric and is not mixed in.

Hy4 flash's original weights total about 410.27 GiB. To fit different devices, Tencent Hunyuan released multiple quantized versions, including the general-purpose Q4_K_M, the Q3_K that was benchmarked on the M5 Max, the smaller IQ2-AH, and two 4-bit versions for the Spark.

Q3_K's weights come to 144.70 GiB, about 35% of the original; IQ2-AH's weights are 125.73 GiB, roughly 285 GiB smaller than the original, cutting storage use by about 69%.

Weight sizes (GiB)

Same metric (weight file size) compared; no sizes were given for Q4_K_M or the Spark-specific versions.

Tencent compared the model's performance before and after quantization on presentation generation, software engineering, and automation tasks. Across four benchmarks, Q3_K scored within 0.4 points of the original model. For example, on DeepSWE v1.1 the score moved from the original's 64.6 to 64.3.

Tencent also compared the model's performance before and after quantization on presentation generation, software engineering, and automation tasks. Across four benchmarks, Q3_K scored within 0.4 points of the original model. For example, on DeepSWE v1.1 the score moved from the original's 64.6 to 64.3. The Spark-oriented SPARK-4Bit scored 54.1 on PPTGenBench, 0.1 points off the original model.

MindStudio's judgment: GGUF quantization trims the memory footprint further, but even heavily quantized, a model this large still needs a high-memory workstation or multiple GPUs.

The FP8 variant roughly halves that footprint, and GGUF quantization (4-bit or lower) reduces it further, though a model this large will still need a high-memory workstation or multiple GPUs even when heavily quantized.

MindStudio ↗

IThome included the relevant links:

GitHub: https://github.com/Tencent/AngelSlim

Hugging Face: https://huggingface.co/AngelSlim/Hy4-flash-GGUF

ModelScope: https://www.modelscope.cn/models/AngelSlim/Hy4-flash-GGUF

Related reading: "Tencent Hunyuan officially open-sources its Hy4 flash model"

01The 89 tokens/s belongs to the 48 GB VRAM tier

The headline 89 tokens/s comes from a 48 GB VRAM device at 10K context; the official numbers for M5 Max and Spark are 47 and 33, under different context lengths and quantization versions — treat them as tier results, not one ranking table.

02Quantization costs at most 0.4 points across four benchmarks

By Tencent's own tests, Q3_K stays within 0.4 points of the original on four benchmarks, including 64.6 to 64.3 on DeepSWE v1.1, so everyday engineering and slide tasks look barely affected — but the benchmark set is vendor-chosen, and your own workloads still need a fresh check.

03Check your disk first, then your memory

Original weights are 410.27 GiB while the smallest quantized version is 125.73 GiB (about 285 GiB lighter), so storage is the first gate; smaller-memory machines like the 64 GB Mac mini also depend on the Strata offload framework, and real speed should follow the measured numbers per tier.

04A 4090D machine is on the official deployment list

The four device classes Tencent deployed locally include one with a 4090D, which shows a workable path exists without 128 GB-class memory — though no speed figure was published for that tier, so check measured numbers for your chosen quantization version first.

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…