You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

ZS-MoE-75.5B (uncrayon/small-qwen-3.8-flash-next-reap320)

ZS-MoE-75.5B is a coding-, vision-, compaction-, and long-context-calibrated REAP-320 expert-pruned variant of Qwen/Qwen3.8-Flash-Next-FP8, reducing routed experts from 512 → 320 per layer (-37.5%, removing 45.30B routed parameters) while preserving 100% of the dense backbone, Vision tower, 51.2B N-gram PLE table, and verbatim 512-expert MTP draft head — with zero fine-tuning drift.

  • Parameter Breakdown: 75.50B routed MoE (48 × 320) · 80.45B non-PLE (vs. 125B parent) · 131.65B text incl. 51.20B PLE (vs. 177B parent) · ~6.67B active per token.
  • All-Resident on 120 GiB Unified Memory (Strix Halo / EVO-X2 / Mac Studio): Q4_K_M (82.74 GiB) + Vision mmproj-BF16 (0.85 GiB) + verbatim mtp-Q8_0 (3.85 GiB) + 262K Q8_0 KV (~3.9 GiB) = ~91.3 GiB total (~28 GiB free OS headroom!).
  • Matches unpruned 512E BF16 Flash-Next on official Docker SWE-bench Multilingual (xhigh): 40 / 50 (80.00%) officially resolved across 41 repos and 8 languages (90.91% among submitted patches; 100% in C, C++, and Java — within 1.0 pp of unpruned 512E BF16 81.0%!), 125 / 175 (71.43%) raw (85.03% non-truncated, 95.4% of unpruned 64K Flash-Next, 0 loops, 0 empty stops) on LiveCodeBench v6, 40 / 89 (44.94%) on Terminal-Bench 2.0 (medium), 24 / 24 (100%) on held-out 6-language multi-file repos, 8 / 8 (100%) on WebGen-Bench:test, and 192.0 tok/s (81.0% accept) with lossless MTP on a single 96 GB GPU!

Full Engineering Deep-Dive Series on uncrayon.xyz:


Pruning Method & Why Zero Fine-Tuning Won

Component Qwen/Qwen3.8-Flash-Next (Parent) ZS-MoE-75.5B (REAP-320)
Routed Experts / Layer (48 layers) 512 (Top-10 active) 320 (Top-10 active, -37.5%)
Routed MoE Parameters 120.80B 75.50B (-45.30B)
Non-PLE / Total Text (incl. 51.20B PLE) 125.75B / 176.95B 80.45B / 131.65B
Active Parameters / Token ~6.67B ~6.67B
DeltaNet (36L), QSA (12L), Shared Experts, Hyper-Connections, PLE, Vision, 512E MTP Native 100% Bit-Exact Verbatim
  1. Multi-Domain Streaming REAP Calibration (1.365M tokens, 48/48 layers in 15.4 GiB VRAM): Scored every routed expert by router-weighted output-norm saliency $\sum_t g_{l,e}(t),|\text{FFN}_{l,e}(x_t)|_2$ across 255 decontaminated multi-turn coding repos (6 languages), mid-episode compaction traces, Playwright UI vision screenshots (32 multimodal samples), 32K long-context sequences, and math — retaining 90.57% mean (85.18% worst-layer) saliency mass at 320 experts.
  2. Bit-Exact FP8 Slicing → Q4_K_M GGUF: Sliced routed expert tensors and router gates cleanly to 320 experts without re-quantizing intermediate FP8 weights, then quantized to Q4_K_M (82.74 GiB across 2 HF-safe shards) while exporting verbatim mmproj-BF16.gguf (0.85 GiB) and verbatim 512-expert mtp-Q8_0.gguf (3.85 GiB).
  3. Why We Shipped Zero-SFT Stage B1 Over Fine-Tuned Stage B2 (Honest Ablation): We also trained a lossless BF16-only LoRA Stage B2 variant (348 non-expert modules, 0 FP8 experts touched) on off-policy SFT + pure thinking=OFF DPO. Despite slashing held-out Val NLL by -36.1% (-45.7% compaction) and lifting MTP acceptance to 83.83%, live native-G4 execution regressed across Agentic fixtures (18/20 → 11/20), 6-lang Contest (13/24 → 9/24), and multi-file repos — proving that pure coding-calibrated REAP-320 (ZS-MoE-75.5B) is stronger without off-policy SFT drift. (Full ablation in Part 3 & Part 4.)

Unfiltered Benchmark Scorecard

1. Official Model-Card Coding & Docker Benchmarks (1:1 Matched)

Benchmark Setting / Harness ZS-MoE-75.5B (320E Q4_K_M + mtp-Q8_0) ZS-Dense-22 (Sibling Dense) Unpruned Flash-Next (512E Q4, 64K¹ / BF16 Card)
LiveCodeBench v6 (175/175) 64K cap, T=1.0, top_p=0.95, top_k=20, Kaggle CPU exec 125 / 175 (71.43%) 119 / 175 (68.00%) 74.86% (64K Q4¹) · 91.9% (BF16 Card)
— Non-Truncated pass@1 0 repetition loops, 0 empty stops 125 / 147 (85.03%) 119 / 174 (68.39%) 94.24% (64K Q4¹)
— Easy / Medium / Hard 43 / 52 / 80 problems 43/43 (100%) · 46/52 (88.5%) · 36/80 (45.0%) 100% · 80.8% · 42.5% 100% · 96.2% (non-trunc)
— LeetCode / AtCoder 63 / 112 problems 53/63 (84.13%) · 72/112 (64.29%) 76.19% · 63.39% —
Terminal-Bench 2.0 (89/89 Docker) harbor 0.27.0 + terminus-2, medium, max_tokens=8192 **40 / 89 (44.94%)**² 29 / 89 (32.58%) — (27B Card TB 2.1: 73.0%)
SWE-bench Multilingual (50/50 Docker, Official xhigh) mini-swe-agent 2.4.6 + swebench 5.0.2, xhigh, 250 steps, 1800s, 262K/slot 40 / 50 (80.00%) (40/44 = 90.9% sub)² 9 / 20 (45.00%) (20-repo slice) 81.0% (full 300, mini-swe-agent xhigh)
— Throttled medium Docker Ablation (50/50) Same 50 repos, medium, 50 steps, 600s, 64K/slot 12 / 50 (24.00%) (12/18 = 66.7% sub) 8 / 50 (16.00%) (57.1% sub) —

¹ Unpruned 512E Flash-Next (64K cap, Q4) baseline from Scaling My Zero-Dependency Rust ROCm Engine to 177B Qwen3.8-Flash-Next.
² *Under official mini-swe-agent xhigh budgets (250 steps, 1800s, max_tokens=32768, 262K/slot), ZS-MoE-75.5B resolved 40 / 50 (80.00%) with 0 infra failures (C 5/5, C++ 3/3, Java 7/7, JS/TS 7/8, Go 5/7, Rust 5/7, Ruby 4/6, PHP 4/7 — 40/42 = 95.2% among cleanly applied patches!). On the matched 20-repo subset, ZS-MoE-75.5B scored 16/20 (80.0%) vs. ZS-Dense-22 9/20 (45.0%). Terminal-Bench 2.0 used tighter medium / 8192-tok turn caps (27/89 timeouts).*

2. Core Coding, Agentic, Long-Context, Vision & Frontend Eval Triad

Benchmark Community REAP-288 (58.9 GiB, No MTP) ZS-MoE-75.5B (82.74 GiB + Vision + MTP)
Real Held-Out Multi-File 6-Lang Repos (24, Node 22) — 24 / 24 (100.0%) (0% trunc, 6.0 avg turns)
Live Mid-Episode Compaction Recovery (8, 6 langs) — 8 / 8 (100.0%) (100% protocol valid, 0% trunc)
Frontend Triad (8,192 tok, Playwright + VLM Judge) — 8/8 (100%) WebGen · 2/8 (4.03/10) Artifacts · 8/8 (0 trunc) SWE-MM
Agentic Tool-Use Fixtures (med, 20) — 18 / 20 (90.0%) (7/8 tool-feasible, 7/7 honest stops, 0 unnec. calls)
HumanEval (stride=5, med / OFF) 33/33 / — 33/33 (100.0%) / 32/33 (97.0%)
Authored Multi-File Java + Rust (med) 2 / 2 2 / 2 (100.0%)
6-Lang Contest (24 tasks, med 6k cap / OFF) 13/24 / — 13/24 (54.2%) (Rust 3/4, TS 3/4) / 9/24 (37.5%)
Vision Code-Feedback (10 PNGs) / Math (16) 10/10 · 15/16 10/10 (100%) · 16/16 (100%)
Long-Context (32K / 128K / 250K, 262K Q8_0 KV) 9 / 9 9 / 9 (100.0%) (59.1–59.9 tok/s @ 250K on RTX PRO 6000)

Speed & VRAM Telemetry (1K → 250K Unique-Nonce)

Measured via llama-server with mmproj-BF16.gguf loaded and unique prefix nonces (no KV-cache prefix reuse):

  • NVIDIA A100-SXM4-80GB (55.80 GiB plain / 60.33 GiB MTP peak VRAM):
    • Plain Q4_K_M: 1K: 67.1 (823 ms TTFT) · 8K: 64.1 · 32K: 56.1 · 128K: 36.3 · 250K: 25.1 tok/s
    • Lossless mtp-Q8_0.gguf: 1K: 96.4 tok/s (79.6%, 1.43×) · 8K: 94.3 (1.48×) · 32K: 91.5 (1.63×) · 128K: 74.8 (2.07×) · 250K: 58.7 tok/s (2.33×!)
  • NVIDIA RTX PRO 6000 (96 GB): Plain 122.6 tok/s → 192.0 tok/s (+56.6%, 81.0% acceptance) with verbatim mtp-Q8_0.gguf!

Files & Quick-Start Serving (llama-server)

File Size Notes
gguf/Qwen3.8-Flash-Next-REAP-320-Q4_K_M-00001-of-00002.gguf 41.91 GiB Shard 1 of 2 (Q4_K_M, 320 routed experts)
gguf/Qwen3.8-Flash-Next-REAP-320-Q4_K_M-00002-of-00002.gguf 40.82 GiB Shard 2 of 2 (82.74 GiB combined)
gguf/mmproj-BF16.gguf 0.85 GiB Verbatim Qwen3.8 Vision projector
gguf/mtp-Q8_0.gguf 3.85 GiB Verbatim 512-expert MTP speculative draft sidecar
llama-server \
  -m Qwen3.8-Flash-Next-REAP-320-Q4_K_M-00001-of-00002.gguf \
  --mmproj mmproj-BF16.gguf \
  -md mtp-Q8_0.gguf --spec-type draft-mtp --spec-draft-n-max 2 \
  -ngl 99 -c 262144 -np 1 -fa on -ctk q8_0 -ctv q8_0 \
  --jinja --reasoning-format deepseek

(Total desktop UMA footprint: 82.74 + 0.85 + 3.85 + ~3.9 KV ≈ 91.3 GiB / 120 GiB usable UMA on a 128 GB Strix Halo / EVO-X2.)

Recommended Sampling:

  • Thinking Mode (medium or xhigh): temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0.
  • Non-Thinking (enable_thinking=False): temperature=0.7, top_p=0.80, top_k=20, presence_penalty=1.5.

License & Attribution

  • Derived from Qwen/Qwen3.8-Flash-Next-FP8 under the Qwen Community License 1.0. All downstream use must comply with the base model's Qwen Community License 1.0 terms and attribution requirements.
  • Calibration data was strictly decontaminated against 127 held-out SWE-bench / SWE-bench_Multimodal repositories, all 190 frozen EVAL-04 tasks, and Terminal-Bench.
Downloads last month
88
GGUF
Model size
132B params
Architecture
qwen4exp
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for uncrayon/zs-abyss-code-flash-320

Quantized
(23)
this model