This repository contains a 4-bit RTN-quantized version of the Tencent Hy3 Mixture-of-Experts model.
Hy3 is a 295B-parameter MoE model with 21B active parameters, 192 experts (top-8 routed), and a 256K context window. Quantizing it to 4-bit brings the weight footprint down to ~150 GB, making it possible to serve the full 256K context on a single 8x24 GB node with KVarN KV cache compression.
⚠️ Required vLLM Branch
This model requires a patched vLLM build. Stock vLLM cannot load it due to several bugs in weight-name remapping, dynamic GPTQ MoE group-size handling, and TurboQuant KV cache shaping:
Set TORCH_CUDA_ARCH_LIST to your GPU's compute capability to skip unused architectures and speed up the build (e.g. 8.6 for RTX 3090, 8.9 for RTX 4090, 9.0 for H100).
Quantization Details
Quantized with GPTQModel (7.2.0) using the RTN (Round-To-Nearest) fallback strategy.
Property
Value
Quant method
GPTQ (RTN fallback)
Bits
4
Symmetric
true
desc_act
false
Global group size
128 (dense layers, attention projections)
Expert / shared-MLP group size
64 (dynamic override)
Fallback threshold
0.5%
Pack dtype
int32
Verified Hardware & Performance
This model is verified to run with Tensor Parallel on 8x NVIDIA RTX 3090 (24 GB each) GPUs with the full 256K (262,144) context window, using kvarn_k4v2_g128 4-bit K, 2-bit V near lossless cache compression.
Tensor parallel: 8 (no expert parallel — expert group size 64 divides cleanly across 8 GPUs)
Reasoning mode: Set reasoning_effort to "high" for complex tasks (math, coding, reasoning), "low" for faster thinking or "no_think" for direct responses.
Verified Functionality
✅ Functional 2D HTML aquarium generation (without reasoning enabled) — working artifact.
✅ Reasoning mode (<think>) engages and produces output.
Original Model
For full details on the architecture, benchmarks, and capabilities of the base model, see the original model card:
➡️ tencent/Hy3
KVarN team for abilty to use large near-lossless KV cache
License
This model inherits the Apache License 2.0 of the base model. See the original license.
Attribution
@misc{muller2026kvarn,
title={KVarN: Variance-Normalized KV-Cache Quantization Mitigates Error Accumulation in Reasoning Tasks},
author={Lorenz K. Muller and Philippe Bich and Chiara Boretti and Hyun-Min Chang and Jiawei Zhuang and Lukas Cavigelli},
year={2026},
eprint={2606.03458},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={http://arxiv.org/abs/2606.03458}
}