66 Downloads Updated 3 hours ago
ollama run mannix/qwen3.6-27b-a3b-coder:vision-Q3_K_M
Updated 5 hours ago
5 hours ago
12dcb81c9a7b · 14GB ·
~27B params · 184 experts (72 dropped/layer) · A3B active · top-10 routing (baked) · MTP head + vision tower
A code-targeted expert prune of Qwen3.6-35B-A3B: the mixture is reduced from 256 experts to 184 per layer (72 dropped, ~35B→27B, still A3B active), keeping the code-competent experts. Same router, attention, norms, MTP head and vision tower as the base — only the expert keep-set changes. No fine-tuning, no distillation — pure expert selection.
Full model card & methodology: ManniX-ITA/Qwen3.6-27B-A3B-Coder-MTP-GGUF on Hugging Face.
The 256-expert teacher is profiled per-expert on a balanced corpus plus targeted LiveCodeBench and MultiPL-E (Rust/Java/JS) pass-response classes. A wmax drop map with the code classes up-weighted evicts 72 experts per layer, protecting the code-competent ones. Serving at top-10 (vs the base top-8) is a routing-recovery dial baked into the config: it buys back instruction-following at no cost to code. Pass --override-kv qwen35moe.expert_used_count=int:8 to any llama.cpp tool to A/B back to native top-8.
| Benchmark | This model | Qwen3.6-35B-A3B (256e) |
|---|---|---|
| GPQA-Diamond | 0.773 | 0.833 |
| MATH-500 | 0.620 | 0.730 |
| AIME | 0.733 ▲ | 0.633 |
| LiveCodeBench (v6, 77q) | 0.688 | 0.714 |
| IFEval | 0.730 | 0.960 |
| HumanEval | 0.970 | 0.970 |
| GSM8K | 0.970 ▲ | 0.960 |
| ARC-Challenge | 0.944 ▲ | 0.935 |
| MultiPL-E | 0.840 ▲ | 0.827 |
| Average | 0.808 | 0.840 |
▲ = matches or beats the full 256-expert teacher (AIME, GSM8K, ARC, MultiPL-E). MultiPL-E 0.840 tops the teacher and beats the older LCB-only coder by +17pp; HumanEval 0.970 ties it. Average sits within 0.03 of the full teacher at ~21% fewer experts. The trade is graduate science (GPQA, MATH) and instruction-following (IFEval), not code.
Two ladders share this repo. ContribDynamic (CD-*) tiers apply per-layer bit allocation and sit at full-precision code parity — start here. Standard imatrix K-quants cover the same size band. Every tier is built with imatrix (load-bearing at 4-bit on this model). Append vision- to any tag for the multimodal tower (e.g. :vision-CD-IQ4_K_M).
| ContribDynamic tier | Size | Notes |
|---|---|---|
| CD-IQ4_K_M ⭐ | 16.7 GB | recommended — parity at the smallest at-parity size |
| CD-Q6_K | 21.1 GB | headroom tier |
| CD-Q5_K_M | 17.8 GB | parity |
| CD-Q4_K_M | 14.7 GB | parity, lighter |
| CD-Q3_K_L | 12.3 GB | small, coherent |
| CD-IQ2_XS_h | 8.2 GB | smallest CD, protected body |
| Standard K-quant | Size ≈ | Notes |
|---|---|---|
| Q8_0 | ~29 GB | near-lossless |
| Q6_K | ~22 GB | eval reference tier |
| Q5_K_M | ~19 GB | — |
| Q4_K_M | ~16.5 GB | the :latest default tag |
| Q3_K_M | ~13 GB | — |
| IQ4_XS / Q2_K_L | ~14.5 / ~10 GB | — |
| IQ2_XS | ~8 GB | smallest shipped here, coherent everywhere |
ollama run mannix/qwen3.6-27b-a3b-coder # :latest = Q4_K_M, ~16.5 GB
ollama run mannix/qwen3.6-27b-a3b-coder:CD-IQ4_K_M # recommended — full-precision-parity code
ollama run mannix/qwen3.6-27b-a3b-coder:vision-CD-IQ4_K_M # + vision tower (multimodal)
Every tag ships these sampling defaults baked in: temperature 1, top_p 0.95, top_k 20, min_p 0, repeat_penalty 1, presence_penalty 1.5, num_ctx 32768. ollama 0.30.x has no reasoning-budget flag, so num_ctx is what bounds the thinking phase there — keep it well above your prompt+output budget.
All ollama tiers in this repo run coherently on every backend, including NVIDIA Blackwell (RTX PRO 6000, sm_120). The two low i-quant tiers hit by a llama.cpp / ggml sm_120 CUDA-kernel bug (
IQ2_M,IQ3_M) are intentionally not shipped on ollama — they live on Hugging Face only, for CPU / Ampere / Ada use. Nothing to work around here.
-vision mmproj tower.Links: HF · GGUF + full card · base model
Apache-2.0 · research checkpoint.