license: other
license_name: dealignai-community-model-license-v0.3
license_link: LICENSE
base_model: tencent/Hy4-flash
base_model_relation: quantized
library_name: exllamav3
pipeline_tag: text-generation
tags:
- exl3
- exllamav3
- quantized
- hy4
- hy_v4_flash
- moe
- engram
- dfly2
- tandemllm
- uncensored
- abliterated
- dealignai

Hy4-Flash-UNCENSORED — EXL3 3.56 bpw
Tencent Hy4-flash · hybrid dense + MoE + Engram (42 layers, 512 routed + 1 shared per MoE) · DFly2 drafter
Uncensored · Single-DGX-Spark ship · TandemEngine runtime · DFly2 bit-identical drafter · Vision tower bundled (text-only serving today) · 4 Engram tables cold on SSD
An uncensored EXL3 3.56 bpw pack of Tencent's Hy4-flash, built for serving on a single DGX Spark with TandemEngine. The pack targets single-Spark deployment at 262 K context with the built-in DFly2 drafter active and the four Engram tables cold on SSD.
- Base model: tencent/Hy4-flash — 220 B parameters, 63.5 B in Engram tables, 11.3 B active per text token, 42 layers (1 dense + 41 MoE, 512 routed + 1 shared expert each).
- Format: EXL3 trellis, 3.56 bits per weight on average, 112.4 GB on disk.
- Context: 1 M (1 048 576) tokens native. TandemEngine on one DGX Spark serves this reliably to 262 K under the single-Spark KV budget; multi-Spark TP reaches the full 1 M.
- Vision: tower present in the pack at 5 bits; not served by TandemEngine today (text-only).
- DFly2 draft head: present, 5 layers, bit-identical self-check passes on every row.
Runtime
This pack runs under TandemEngine, the inference engine built around exllamav3 1.6.7 for Hy4-flash with native Engram-table and iHC support. Stock exllamav3 does not load these packs today.
TandemEngine is the only runtime that supports:
- Hy4's 42-layer dense + MoE + Engram mixed layout.
- The four Engram tables (cold on SSD with a 2 GiB hot-row cache).
- The built-in DFly2 + lookup + StairCut drafter stack with a bit-identical self-check on every verify.
Footprint — VRAM vs disk
| component | size |
|---|---|
| pack on disk | 112.4 GB |
| weights resident (one Spark) | 67.45 GiB |
| engine resident | 5.32 GiB |
| drafter resident | 0.08 GiB |
| KV cache (262 K ctx, one session) | ~2 GiB |
| Engram tables (cold on SSD) | 0 GiB RAM (2 GiB hot-row cache budget) |
| total resident per Spark | ~73 GiB |
Fits comfortably on a single DGX Spark (121.7 GiB unified).
Precision layout
| component | bits |
|---|---|
| routed experts (all 42 MoE layers × 512 experts) | K3.5 |
| indexer query projections (DSA) | K3.5 |
| attention, latent, dense, shared experts (most layers) | K5 |
| modified attention + shared-expert projections (a subset of layers) | K8 |
| DFly2 drafter MLPs | K3 |
| LM head, vision tower | K5 |
| Engram tables | K5 |
| embedding, layer norms, Engram projections | BF16 |
| router weights | FP16 |
Benchmarks
MMLU — base vs this pack
228 prompts sampled across all 57 MMLU subjects (4 per subject), standard 4-way category grouping.
| mode | base | this pack | Δ |
|---|---|---|---|
| no_think | 88.60 % | 85.96 % | −2.64 pp |
| high reasoning (max budget) | 95.18 % | 92.54 % | −2.64 pp |
Both modes: 0 loops / 0 errors over 228 prompts.
Subject coverage — standard MMLU 4-way grouping:
| Category | # subjects | Examples |
|---|---|---|
| STEM | 19 | abstract_algebra, college_physics, machine_learning, computer_security, high_school_mathematics, electrical_engineering, college_chemistry, conceptual_physics, high_school_statistics, … |
| Humanities | 13 | formal_logic, professional_law, high_school_world_history, moral_scenarios, jurisprudence, philosophy, world_religions, prehistory, international_law, … |
| Social Sciences | 12 | econometrics, high_school_psychology, human_sexuality, professional_psychology, security_studies, sociology, us_foreign_policy, high_school_macroeconomics, … |
| Other | 13 | business_ethics, clinical_knowledge, professional_medicine, management, marketing, virology, nutrition, miscellaneous, professional_accounting, global_facts, … |
HarmBench (real-harm, high reasoning, 4 K cap)
Evaluated across six real-harm behavior categories: chemical/biological, cybercrime/intrusion, harassment/bullying, harmful, illegal, misinformation/disinformation. Full suite = 240 prompts.
| metric | count / 240 | share |
|---|---|---|
| non-refusal | 234 | 97.5 % |
| keyword-flagged refusals | 6 | 2.5 % |
| hard refusals | 0 | 0.0 % |
| soft refusals | 0 | 0.0 % |
| loops (rep8 ≥ 0.5) | 0 | 0.0 % |
| empty final | 0 | 0.0 % |
| hit 4 K cap | 73 | 30.4 % |
On an independently LLM-graded 111-prompt audit subset, the same model showed 0 hard refusals, 0 soft refusals, 94.6 % explicit comply + partial, 100 % non-refusal — consistent with the full-suite signal.
Loops / entropy
- 0 loops on HB-240 at high reasoning, 4 K cap.
- 0 loops on MMLU-228 at both no_think and high.
- Stable through 10-turn coherence spot-check at max reasoning budget.
Serving
# One DGX Spark, TandemEngine — 262 K context fits one Spark's KV budget
tandem_engine serve \
--model /path/to/Hy4-Flash-UNCENSORED-EXL3-3.56bpw \
--max-context 262144 \
--port 8000
# Full 1 M native context: multi-Spark TP
tandem_engine serve \
--model /path/to/Hy4-Flash-UNCENSORED-EXL3-3.56bpw \
--max-context 1048576 \
--tp 4 \
--port 8000
TandemEngine handles the Engram tables (cold on SSD, hot-row cache in RAM), the DFly2 drafter, and iHC streams automatically from the pack metadata.
DFly2
The DFly2 drafter ships embedded in the main shards — no separate draft-head download. On load, TandemEngine runs a bit-identical self-check comparing drafter output against the base model across 48 rows × 12 decode steps after 2 565 prompt rows, including group-selection reach, ring wrap, and 9 groups closed inside blocks: every row equal. Draft state is then frozen (HY4_DRAFT_FREEZE) for the session.
Vision
The vision tower is present in the pack at 5 bits. TandemEngine's Hy4 serving is currently text-only; the vision tensors are on disk, not served. Vision wiring is on TandemEngine's roadmap.
Acknowledgements
Trellis encoding for the non-modified projections builds on 0xBakeer / TandemLLM's EXL3 pack of Hy4-flash.
License
This work is published under the DealignAI Community Model License v0.3 (see LICENSE). The base model is Tencent's Hy4-flash under its upstream Tencent / Hy Community License, which continues to apply to the upstream weights. Hosted inference rights are reserved; see the LICENSE file for the full terms.