File size: 5,544 Bytes
3b9142c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1a85a8e
fde2573
85efc59
 
1a85a8e
 
caa912e
3b9142c
 
 
 
 
caa912e
3b9142c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
license: apache-2.0
base_model: lordx64/Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled
tags:
  - gguf
  - quantized
  - apex
  - moe
  - mixture-of-experts
  - qwen3
  - vlm
  - vision
  - reasoning
  - distilled
  - claude-opus
---




<!-- 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>

# Qwen3.6 35B-A3B β€” Claude 4.7 Opus Reasoning Distilled β€” APEX GGUF

**APEX (Adaptive Precision for EXpert Models)** quantizations of [lordx64/Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled](https://huggingface.co/lordx64/Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled).

**Brought to you by the [LocalAI](https://github.com/mudler/LocalAI) team** | [APEX Project](https://github.com/mudler/apex-quant) | [Technical Report](https://github.com/mudler/apex-quant/blob/main/paper/APEX_Technical_Report.pdf)

## Available Files

| File | Profile | Size | Best For |
|------|---------|------|----------|
| Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled-APEX-I-Balanced.gguf | I-Balanced | 24 GB | Best overall quality/size ratio |
| Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled-APEX-Balanced.gguf | Balanced | 24 GB | General purpose |
| Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled-APEX-I-Quality.gguf | I-Quality | 21 GB | Highest quality with imatrix |
| Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled-APEX-Quality.gguf | Quality | 21 GB | Highest quality standard |
| Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled-APEX-I-Compact.gguf | I-Compact | 16 GB | Consumer GPUs, best quality/size |
| Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled-APEX-Compact.gguf | Compact | 16 GB | Consumer GPUs |
| Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled-APEX-I-Mini.gguf | I-Mini | 13 GB | Smallest "safe" tier |
| Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled-APEX-I-Nano.gguf | **I-Nano** | 11 GB | Experimental β€” IQ2_XXS mid-layer experts |
| Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled-F16.gguf | F16 reference | 65 GB | Full-precision reference |
| mmproj.gguf | Vision projector | ~1 GB | Required 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](https://github.com/mudler/apex-quant) 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 IQ2_S, edges to Q3_K, 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

- **Model**: Qwen3.6 35B-A3B Claude 4.7 Opus Reasoning Distilled
- **Base**: Qwen 3.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)

## Run with LocalAI

```bash
local-ai run mudler/Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled-APEX-GGUF@Qwen3.6-35B-A3B-Claude-4.7-Opus-Reasoning-Distilled-APEX-I-Balanced.gguf
```

## Credits

- **Reasoning distill fine-tune**: [lordx64](https://huggingface.co/lordx64)
- **Vision projector (mmproj)**: [mradermacher](https://huggingface.co/mradermacher)
- **APEX quantization**: [LocalAI](https://github.com/mudler/LocalAI) team
- Built on [llama.cpp](https://github.com/ggerganov/llama.cpp)