license: apache-2.0
base_model: Qwen/Qwen4-35B-A3B
tags:
- gguf
- qwen
- qwen4
- moe
- quantized
- mixed-precision
- uncensored
- abliterated
- consumer-gpu
language: - en
- zh
- code
pipeline_tag: text-generation
Qwen4-35B-A3B · XQ · 24 GB core · v2.2 (uncensored at runtime)
6 Dec 2026 (afternoon): v2.2 is out as a new file,
Qwen4-35B-A3B-XQ-24GB-v2.2.gguf, and is the recommended download.
Same 24 GB core, same VRAM, same sidecars and flags; only the bit allocation inside the core changed.Qwen4-35B-A3B-XQ-24GB.gguf
(v2.1, from this morning) stays in the repo for now.Why: v2.2's allocation is weighted on a new probe built around agentic coding (real agent sessions, plus broad knowledge,
maths and text so general ability is protected). The probe found layers 6-11 to be the ones that matter most, so v2.2 moves
bytes there (and to layers 22-29) from layers 0-5, 12-17 and 30-39. Against v2.1 it is closer to the original model on
KL, KL p99 and perplexity (top-1 agreement within 0.2 points either way), with the biggest gain in the worst-case tail (KL p99 1.59 -> 1.48 with the sidecar), and the
sidecar still gives 0 / 100 harmful refusals. Agentic Gauntlet with the Loop add-on: 7 / 9 solved (below).
On our agentic-coding probe itself (next-token KL on real agent-session turns), v2.2 and v2.1 are level within noise
(blended KL 0.068 vs 0.065, 95 % interval of the difference -0.006 to +0.011). A follow-up allocation that keeps more bits
in layers 0-5 is being tested; if it wins on the probe as well, it ships as v2.3.
What it is
Qwen4-35B-A3B-XQ-24GB.ggufis a clean XQ quant of the original Qwen4-35B-A3B. Nothing is edited. Run it as is
and it behaves like the stock model.Qwen4-35B-A3B-uncensor.abl2is the uncensoring, as a small sidecar applied by the engine while it runs:--abl-proj Qwen4-35B-A3B-uncensor.abl2. For a range of layers it removes a few directions (rank 1-2 per layer) from
each block's output before it joins the residual stream.
- One file, two models: no flag = stock Qwen4,
--abl-proj= uncensored. No second 36 GB download. - Adjustable:
--abl-proj Qwen4-35B-A3B-uncensor.abl2:0.8scales it down,:1.0is as shipped,:0is exactly stock.
v1 (taken down 5 Dec) had the edit baked into the weights before quantising. v2 keeps the two apart, so each can be
measured and improved on its own. v2.1 and v2.2 are the same idea with rebalanced quants.
Results (6 Dec 2026, RTX 4090, Xolotl)
Quality and refusals, v2.2 vs v2.1. KL is measured against the original model at Q8_0 over the same 5K positions;
refusals on 100 held-out harmful and 100 harmless prompts, thinking off.
| test | v2.2 + --abl-proj |
v2.2 without it | v2.1 + --abl-proj |
v2.1 without it | first v2 + --abl-proj |
|---|---|---|---|---|---|
| KL vs the original (Q8_0) | 0.117 | 0.102 | 0.118 | 0.107 | 0.204 |
| top-1 agreement | 89.0 % | 89.8 % | 88.8 % | 90.0 % | 84.1 % |
| KL p99 | 1.48 | 1.56 | 1.59 | 1.78 | - |
| perplexity (original Q8_0: 6.381) | 6.345 | 6.325 | 6.374 | 6.340 | 6.244 |
| harmful prompts refused (100) | 0 / 100 | - | 0 / 100 | 89 / 100 | 0 / 100 |
| harmless prompts refused (100) | 1 / 100 | - | 0 / 100 | 1 / 100 | 1 / 100 |
Perplexity of v2.1 and v2.2 sits right next to the original's (6.33-6.37 vs 6.38); the first v2's lower number was drift away
from the original, not an improvement.
Speed, measured on v2.1 (same core size and layout as v2.2; 6 Dec, one RTX 4090, Xolotl, --abl-proj on, 1024 tokens generated after an 8K / 32K prompt):
| setup | decode 8K / 32K | prefill 8K / 32K |
|---|---|---|
plain (MTP drafts, --spec 4) |
192 / 208 tok/s | 4.9K / 7.2K tok/s |
with the Loop add-on (--loop-passes 2, MTP drafts) |
126 / 133 tok/s | 3.8K / 5.1K tok/s |
The Loop add-on runs the core layers twice, so each verify window costs more (16 ms instead of 10).
Long context, measured on the first v2 (same engine and core size; not re-run for v2.1):
| test | result |
|---|---|
| needle recall (8 needles) at 128K / 256K / 512K / 1.02M | 8/8 each, one 4090, 1.02M prompt read in 231 s |
| decode at 128K / 256K / 512K / 1.02M | 181 / 159 / 147 / 126 tok/s |
Agentic coding, v2.2 (our Gauntlet: 9 hidden-test-graded tasks, 10 turns, one run; sidecar on, Loop add-on--loop-passes 2, DFlash2 drafts):
| run | solved | score | tokens | decode |
|---|---|---|---|---|
| v2.2 + Loop + DFlash2 | 7 / 9 | 7.00 | 269K | 239 tok/s |
| first v2 + Loop (MTP drafts) | 7 / 9 | 7.50 | 179K | 156 tok/s |
| first v2, no Loop | 4 / 9 | 6.03 | 276K | 262 tok/s |
Same solved count as the first v2 with the Loop add-on (v2.2 fully solves one task v2 half-solved and misses another; one
sampled run each, so a one-task swing is noise). v2.2 solves most tasks in fewer turns. The Loop add-on isQwen4-35B-A3B-Loop.safetensors from Niko1221's Strata Qwen4 pack (--loop-adapter Qwen4-35B-A3B-Loop.safetensors --loop-passes 2).
Coming to Xolotl main (this week): DFlash2 drafting for Qwen4 (the RadixArk Qwen4 DFlash2 drafter, block-input taps) and
new Loop kernels: the Loop add-on with DFlash2 reaches ~200 tok/s on one 4090 at 2K context.
Drafts only propose tokens and the model checks every one, so quality is the same; it is a speed change. This card will give
the run command when it lands.
Known quirk with --abl-proj: in one long tool-transcript test (43K / 84K tokens) the uncensored model sometimes
re-reads the file it was just given instead of answering at once; without the sidecar it answers 6/6 there. A follow-up
question in the same conversation is answered 6/6 with the sidecar too, and the 8-needle recall above is 8/8 to 1M.
Files
| file | what |
|---|---|
Qwen4-35B-A3B-XQ-24GB-v2.2.gguf |
v2.2, recommended (sha256 a97d0dda638d5b891aae2cf81ced3955a7e119d1fe951cff20b9ce7dcc6f6bbd, 36.3 GB): same layout as below, probe-weighted allocation |
Qwen4-35B-A3B-XQ-24GB.gguf |
v2.1, the rebalanced clean XQ quant (sha256 df5c9dee15ddc83d74c21cf62fea11611203ddb79e62535c338af62f4bf26aaa, 36.3 GB): 24 GB core (dense + routed experts) + PLE n-gram table (streamed from disk) + MTP layer |
Qwen4-35B-A3B-uncensor.abl2 |
the runtime uncensoring sidecar (a few MB) |
mtp-rt/ |
MTP sidecar for --mtp, with the 40K-token draft-head subset (draft_vocab.bin) |
qwen4exp-40x256.bin |
expert profile for the verify window (from basalt) |
The file uses Q2_0, a Xolotl-only type, so it needs Xolotl and does not
load in upstream llama.cpp. Keep the GGUF on an NVMe drive (Qwen4 reads PLE rows for every token; a SATA SSD is
the bottleneck) and leave --ple-io unset.
Running it (Xolotl)
- Build Xolotl with the Qwen4 geometry:
-DSTRATA_GEOMETRY_PROFILE=cmake/geometry/qwen4-35b-a3b.cmake
(the build makesxolotl;stratais the same binary). - Pack once:
STRATA_GGUF_PY=<llama.cpp>/gguf-py python tools/iq_pack.py --gguf Qwen4-35B-A3B-XQ-24GB-v2.2.gguf --out pack --compat-bf16 - Serve (4090 = CUDA 0; add
--expert-cache-device1 autoand a second visible GPU for the expert cache):
xolotl --serve --pack pack --native Qwen4-35B-A3B-XQ-24GB-v2.2.gguf --ple-gguf Qwen4-35B-A3B-XQ-24GB-v2.2.gguf \
--expert-profile qwen4exp-40x256.bin --expert-cache auto --prefill auto \
--spec 4 --spec-min-p 0.5 --mtp mtp-rt --mtp-q4 all \
--max-context 524288 --kv int8 --kv-resident 32768 \
--abl-proj Qwen4-35B-A3B-uncensor.abl2
Leave out the last line for the stock model. --max-context 1048576 for the full 1M context (tested above on one 4090).
More in docs/QWEN4.md in the Xolotl repo.