Tencent's Hy4 Flash Squeezes a 220B Model Into 64 GB Consumer Hardware
Tencent spotlights six community conversions of its 220B Hy4 Flash MoE model into GGUF, MLX, EXL3, and NVFP4, enabling local runs from 64GB laptops to dual DGX Sparks.
Takeaways
- Tencent highlighted six community conversions of its 220B Hy4 Flash MoE model for local inference.
- Formats cover GGUF, MLX, EXL3, and NVFP4, spanning NVIDIA, AMD, and Apple Silicon hardware.
- AtomicChat's build fits 64GB machines by keeping the 63.5B Engram n-gram table on SSD.
- Stock llama.cpp now supports Hy4 Flash natively; the NVFP4 vLLM path still needs a patched image.
- Quantization hits this model harder than most because routing decisions amplify small weight errors.
- Builds listed: Project Maya, Xylolabs, AtomicChat, nace-ai, aitamedia, and atakans.
Tencent has published a roundup of six community builds that package Hy4 Flash as GGUF, MLX, EXL3, and NVFP4. The releases exploit the model’s unusual architecture to reduce resident memory, with targets ranging from an experimental 64 GB consumer host to two DGX Spark systems. Developers gain more deployment options, along with tradeoffs in routing accuracy, storage latency, vision support, and runtime compatibility.
Where 220B parameters go
The official model card describes Hy4 Flash as a 220B-parameter mixture-of-experts model. For each token, its router activates 16 of 512 routed experts plus one shared expert, leaving most expert weights idle. The attention stack interleaves sparse attention, which selects a subset of tokens, with sliding-window attention over recent context. Its approximate parameter allocation is:
- 155.5B in the backbone
- 63.5B in Engram
- 0.43B in the vision encoder
- 0.85B in the drafter
Engram stores learned embeddings for bigrams and trigrams, meaning two- and three-token sequences. Hy4 Flash places these tables at layers 1, 11, 21, and 31, with eight hash heads for each n-gram order. Each token triggers lookups for a few rows, so Engram consumes substantial storage while adding little matrix-multiplication work. That separation enables community runtimes to keep the backbone in memory and fetch Engram data from an SSD.
Six ways to package it
| Build | Format and runtime | Reported target | Key details |
|---|---|---|---|
| Project Maya | Local engine with four GGUF quantization tiers | NVIDIA GPUs on Linux and Windows; AMD GPUs on Linux | Broad desktop GPU coverage across several memory budgets |
| Xylolabs | GGUF from Q8_0 through IQ2_XXS-E4 | Workstations in the 96 to 128 GB class | Includes calibration data and vision projectors for llama.cpp image input |
| AtomicChat | Experimental GGUF with routed experts at about 2.3 bits per weight | 64 GB consumer host with an SSD | Keeps about 49.1 GB resident and serves Engram from storage |
| nace-ai | MLX through mlx-lm | Apple silicon with 128 GB or more; tested on an M5 Pro | 131 GB, text only, with 4-bit routed experts and Engram plus SSD memory mapping |
| aitamedia | EXL3 with routed experts at 3.0 bits per weight | GPU host with enough capacity for 55.7 GB of expert weights plus other tensors | Ships Engram as separate shards for runtimes that can stream them from disk |
| atakans | NVFP4 on a patched vLLM image | Two DGX Spark systems | Uses tensor and expert parallelism; the vLLM changes remain outside the upstream project |
GGUF serves llama.cpp-style local inference, MLX targets Apple silicon, EXL3 packages low-bit weights for GPU inference, and NVFP4 uses NVIDIA’s 4-bit floating-point format. Within the GGUF family, systems with 96 to 128 GB can target Xylolabs or Tencent’s official quantization, while AtomicChat provides the more aggressive 64 GB option.
Xylolabs bundles an importance matrix, which supplies calibration data during quantization, and an mmproj file that maps vision-encoder output into the language model. In the atakans deployment, tensor parallelism splits operations across devices and expert parallelism assigns different experts to different devices.
How SSD offload reaches 64 GB
AtomicChat’s experimental GGUF keeps about 49.1 GB of non-Engram weights resident. The routed experts average roughly 2.3 bits per weight, while the remaining in-memory tensors use Q8_0. Engram sits in a separate SSD-backed file, with each token fetching only a few kilobytes of table data.
The 49.1 GB figure covers resident weights. Total process memory also includes runtime buffers, the operating system, and the key-value cache that stores attention state for the active context. Context length and concurrent requests increase that cache, so a 64 GB deployment has limited headroom. Token generation speed will also depend on SSD latency, bandwidth, and operating-system caching.
Routing raises quantization risk
AtomicChat measured how often each quantization selected the same highest-probability next token as a BF16 reference. Its low-bit file matched BF16 on 76.4% of positions, compared with 89.3% for Tencent’s Q4_K_M build. A Q8_0 version disagreed with BF16 on 8.2% of positions, and the team notes that comparable models often exceed 98% agreement.
Top-token agreement measures numerical sensitivity; application quality still requires task-specific evaluations. The team suspects that small rounding changes alter which 16 experts the router selects. A changed routing decision sends the token through different expert weights, allowing quantization error to affect the subsequent computation path.
Runtime support still varies
The llama.cpp project merged Hy4 Flash support on 25 November 2026. Builds from that merge forward can load the GGUF files without a project-specific fork. The NVFP4 path still requires atakans’ patched vLLM image, so deployments should pin the exact container and runtime versions before upgrading dependencies.
The nace-ai package uses SSD memory mapping through mlx-lm, allowing the operating system to load model pages on demand. Tencent’s roundup reports that this MLX path provides the fastest prompt processing among the listed ports on compatible Apple hardware, though cross-runtime performance will vary with memory capacity, storage, context length, and batch size.
Vision support depends on the package and runtime. Xylolabs includes the required vision projector, while nace-ai is explicitly text only. Developers using the other builds should confirm projector compatibility before planning image workloads.
Tool calls need separate tests
AtomicChat reported one tool-calling test in which its low-bit build produced prose and failed to invoke the tool when reasoning mode was disabled. The Q8_0 version invoked the tool with reasoning enabled and disabled. For the experimental IQ2 deployment, reasoning should remain enabled by default, and production evaluations should cover tool selection, argument values, JSON or schema conformance, stop behavior, context lengths, and representative prompts.