CoolFace
Modelpublic

mudler/Darwin-36B-Opus-APEX-GGUF

sourceHugging Faceapache-2.0updated 1mo agoView on Hugging Face
36likes3.3kdownloads
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>30+ 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>

Darwin-36B-Opus โ€” APEX GGUF

APEX (Adaptive Precision for EXpert Models) quantizations of FINAL-Bench/Darwin-36B-Opus.

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

Available Files

FileProfileSizeBest For
Darwin-36B-Opus-APEX-I-Balanced.ggufI-Balanced24 GBBest overall quality/size ratio
Darwin-36B-Opus-APEX-Balanced.ggufBalanced24 GBGeneral purpose
Darwin-36B-Opus-APEX-I-Quality.ggufI-Quality22 GBHighest quality with imatrix
Darwin-36B-Opus-APEX-Quality.ggufQuality22 GBHighest quality standard
Darwin-36B-Opus-APEX-I-Compact.ggufI-Compact16 GBConsumer GPUs, best quality/size
Darwin-36B-Opus-APEX-Compact.ggufCompact16 GBConsumer GPUs
Darwin-36B-Opus-APEX-I-Mini.ggufI-Mini13 GBSmallest "safe" tier
Darwin-36B-Opus-APEX-I-Nano.ggufI-Nano11 GBExperimental โ€” IQ2_XXS mid-layer experts
Darwin-36B-Opus-F16.ggufF16 reference65 GBFull-precision reference

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.

Nano (experimental tier)

The APEX Nano tier pushes mid-layer routed experts to IQ2_XXS (2.06 bpw), near-edge to IQ2S, edges to Q3K, with shared experts kept at Q5_K. About 20% smaller than Mini with modest quality cost โ€” viable only on MoE thanks to sparse per-token expert activation. Requires imatrix.

Benchmarks pending. Feedback welcome.

Architecture

  • โ€”Base: Qwen 3.5 MoE (Qwen3_5MoeForCausalLM) โ€” evolutionary-merge reasoning fine-tune
  • โ€”Layers: 40
  • โ€”Experts: 256 routed (8 active per token)
  • โ€”Total Parameters: ~36B
  • โ€”Active Parameters: ~3B per token
  • โ€”Hidden size: 2048
  • โ€”Attention: Hybrid (full attention every 4th layer, linear/Mamba otherwise)
  • โ€”APEX Config: 5+5 symmetric edge gradient across 40 layers
  • โ€”Calibration: v1.3 diverse dataset (chat, code, reasoning, multilingual, tool-calling, Wikipedia)

Run with LocalAI

bash
local-ai run mudler/Darwin-36B-Opus-APEX-GGUF@Darwin-36B-Opus-APEX-I-Balanced.gguf

Credits