Beating AI News Flash: Tencent's model compression tool AngelSlim enables Hy4 Flash, with a total parameter count of 224 billion, to run on personal computers—even a Mac mini with only 64GB of memory can run it.
The original Hy4 Flash model takes up about 440GB. Tencent compressed it to a minimum of about 135GB, a 69% reduction in size. The compressed model still exceeds the memory capacity of the Mac mini, so Tencent also optimized the inference program Strata, allowing the computer to read model data from the SSD on demand and offload some computation to the CPU to reduce wait times.
In Tencent's tests, a 64GB M4 Pro Mac mini using the IQ2-AH compressed version generated about 17 tokens per second under an 8K context. An M5 Max Mac with 128GB of memory using the Q3_K compressed version generated about 47 tokens per second in a 32K context test.
Tencent compared performance before and after compression on PPT creation, programming, and automation tasks. The Q3_K compressed version differed from the original by no more than 0.4 points across all four tests.
The relevant model files and inference code have been open-sourced, and developers can download them for local deployment.
