CoolFace
Modelpublic

mudler/Qwen3.6-35B-A3B-APEX-GGUF

sourceHugging Faceapache-2.0updated 1mo agoView on Hugging Face
202likes219kdownloads
Model Card

<!-- apex-banner-v2 --> <div style="background-color: #f59e0b; color: white; padding: 20px; border-radius: 10px; text-align: center; margin: 20px 0;"> <h2 style="color: white; margin: 0 0 10px 0;">โšก Each donation = another big MoE quantized</h2> <p style="font-size: 18px; margin: 0 0 15px 0;">I host <b>25+ free APEX MoE quantizations</b> as independent research. My only local hardware is an <b>NVIDIA DGX Spark</b> (122 GB unified memory), enough for ~30-50B-class MoEs, but <b>bigger ones (200B+) require rented compute</b> on H100/H200/Blackwell, typically $20-100 per quant.<br>If APEX quants are useful to you, your support directly funds those bigger runs.</p> <p style="font-size: 20px; margin: 0;"> <a href="https://www.patreon.com/cw/mudler" style="color: white; text-decoration: underline;">๐ŸŽ‰ Patreon (Monthly)</a> &nbsp;|&nbsp; <a href="https://www.buymeacoffee.com/mudler" style="color: white; text-decoration: underline;">โ˜• Buy Me a Coffee</a> &nbsp;|&nbsp; <a href="https://github.com/sponsors/mudler" style="color: white; text-decoration: underline;">โญ GitHub Sponsors</a> </p> <p style="font-size: 14px; margin: 10px 0 0 0; opacity: 0.9;">๐Ÿ’š Big thanks to Hugging Face for generously donating additional storage, much appreciated.</p> </div>

Qwen 3.6 35B-A3B APEX GGUF

APEX (Adaptive Precision for EXpert Models) quantizations of Qwen/Qwen3.6-35B-A3B.

Brought to you by the [LocalAI](https://github.com/mudler/LocalAI) team | APEX Project | Technical Report

Benchmark Results

All benchmarks run with llama.cpp b8797 on NVIDIA GB10 (122 GB VRAM). Perplexity and KL divergence measured on wikitext-2. HellaSwag zero-shot (400 tasks). KL divergence computed against BF16 reference logits.

APEX vs Baselines (unsloth UD quants)

ModelSizePPL โ†“KL mean โ†“KL median โ†“KL max โ†“HellaSwag โ†‘
BF16 (reference)65 GB6.722โ€”โ€”โ€”โ€”
Q8_035 GB6.7200.00590.00229.7282.5%
UD-Q5KXL25 GB6.7250.00830.00309.0682.8%
UD-Q5KS24 GB6.7280.00950.00358.7282.8%
APEX I-Balanced24 GB6.7270.01030.00414.5383.0%
APEX Balanced24 GB6.7260.01170.004714.1483.0%
APEX I-Quality22 GB6.7350.01410.00545.6982.5%
APEX Quality22 GB6.7530.01550.006013.0182.8%
UD-Q4KXL21 GB6.7350.01340.00505.1482.3%
UD-Q4KM21 GB6.7360.01380.00547.8683.3%
APEX I-Compact17 GB6.8570.04510.01828.7683.5%
APEX Compact17 GB6.8620.06140.026117.5883.3%
UD-Q3KM16 GB6.8830.04350.01639.3782.8%
APEX I-Mini14 GB7.2380.09990.04149.2182.8%

[image]

[image]

[image]

Highlights

  • โ€”APEX I-Balanced (24 GB) achieves the lowest KL max (4.53) of any quant tested โ€” even lower than Q80 (9.72). The imatrix dramatically reduces worst-case divergence while matching UD-Q5K_S on perplexity.
  • โ€”At 17 GB, APEX I-Compact beats UD-Q3KM (16 GB) on PPL (6.857 vs 6.883) and HellaSwag (83.5% vs 82.8%).
  • โ€”imatrix consistently halves KL max: I-Balanced 4.53 vs Balanced 14.14, I-Quality 5.69 vs Quality 13.01.
  • โ€”APEX I-Mini (14 GB) delivers usable quality (PPL 7.24, HellaSwag 82.8%) in the smallest package.

Available Files

FileProfileSizeBest For
Qwen3.6-35B-A3B-APEX-I-Balanced.ggufI-Balanced24 GBBest overall โ€” lowest KL max of any quant
Qwen3.6-35B-A3B-APEX-I-Quality.ggufI-Quality22 GBHighest quality with imatrix, 2 GB smaller
Qwen3.6-35B-A3B-APEX-Quality.ggufQuality22 GBHighest quality standard
Qwen3.6-35B-A3B-APEX-Balanced.ggufBalanced24 GBGeneral purpose
Qwen3.6-35B-A3B-APEX-I-Compact.ggufI-Compact17 GBConsumer GPUs, beats UD-Q3KM quality
Qwen3.6-35B-A3B-APEX-Compact.ggufCompact17 GBConsumer GPUs
Qwen3.6-35B-A3B-APEX-I-Mini.ggufI-Mini14 GBSmallest viable, fastest inference
mmproj.ggufVision projector~1 GBRequired for image understanding

What is APEX?

APEX is a quantization strategy for Mixture-of-Experts (MoE) models. It classifies tensors by role (routed expert, shared expert, attention) and applies a layer-wise precision gradient โ€” edge layers get higher precision, middle layers get more aggressive compression. I-variants use diverse imatrix calibration (chat, code, reasoning, tool-calling, agentic traces, Wikipedia).

The key insight: in MoE models, expert FFN tensors make up the bulk of model weight but only ~8/256 experts activate per token. APEX compresses middle-layer experts more aggressively while preserving edge layers (first/last 5) and keeping attention, SSM/Mamba, and shared expert tensors at higher precision.

See the APEX project for full details, technical report, and scripts.

Architecture

  • โ€”Model: Qwen 3.6 35B-A3B (Qwen/Qwen3.6-35B-A3B)
  • โ€”Layers: 40
  • โ€”Experts: 256 routed + shared (8 active per token)
  • โ€”Total Parameters: ~35B
  • โ€”Active Parameters: ~3B per token
  • โ€”Attention: Hybrid (full attention every 4th layer, linear/Mamba otherwise)
  • โ€”Vision: Built-in vision encoder (mmproj included)
  • โ€”APEX Config: 5+5 symmetric edge gradient across 40 layers
  • โ€”Calibration: v1.3 diverse dataset (chat, code, reasoning, multilingual, tool-calling, Wikipedia)
  • โ€”llama.cpp: Built with b8797

Run with LocalAI

bash
local-ai run mudler/Qwen3.6-35B-A3B-APEX-GGUF@Qwen3.6-35B-A3B-APEX-I-Balanced.gguf

Credits

APEX is brought to you by the LocalAI team. Developed through human-driven, AI-assisted research. Built on llama.cpp.