base_model: ISTA-DASLab/Qwen4-35B-A3B-GSQ-RCO-GGUF
base_model_relation: quantized
license: apache-2.0
library_name: gguf
pipeline_tag: text-generation
language:
- en
- zh
tags: - gguf
- gsq
- rco
- abliterated
- uncensored
- tensor-transplant
- qwen4
- moe
- mixture-of-experts
- mixed-precision
- mtp
- llama-cpp
Selective low-VRAM abliterated builds of ISTA-DASLab/Qwen4-35B-A3B-GSQ-RCO-GGUF (IQ3_XXS at 14.03 GB On-GPU for 16 GB cards and IQ2_S at 11.88 GB On-GPU for 12 GB cards). Exactly 78 middle-layer residual writers (L8–L33) are projected from lossless BF16 using our locked P3 Rank-2 recipe and re-encoded to exact per-tensor RCO GGML types; all remaining 833 / 911 tensors—including upstream GSQ weights outside L8–L33, BF16 token_embd, and the 30-tensor Q4_K MTP draft layer—remain byte-identical to upstream.
|
MODIFIED TENSORS
78 / 911
L8–L33 (26L × 3 writers)
|
SIZE DELTA
±0 B
0 overlaps · exact RCO types
|
|
BLAKE2B AUDIT
PASS (0 ERR)
833/911 + 30 MTP exact
|
MTP ACCEPTANCE
44.6% / 44.5%
--spec-type draft-mtp
|
Evaluated on llama-perplexity (chunks=4, c=512, b=512, single RTX 4080 SUPER) with --ple ngram/Qwen4-35B-A3B-ngram-Q8_0.gguf. All 833/911 untouched tensors keep upstream GSQ-RCO weights verbatim, while the 78 edited L8–L33 tensors (including 26 ffn_down_exps) are re-encoded from BF16 using llama-quantize + Unsloth imatrix to each layer's exact RCO GGML type:
| TIER / DOMAIN | OFFICIAL PPL | ABLIT PPL | ΔPPL | MEAN KLD | SAME-TOP |
|---|---|---|---|---|---|
| IQ3_XXS / valid | 4.4111 | 4.5295 | +2.684% | 0.077710 | 90.10% |
| IQ3_XXS / cn | 7.0037 | 6.9533 | −0.719% | 0.043385 | 90.88% |
| IQ3_XXS / code | 3.6225 | 3.6165 | −0.166% | 0.030277 | 94.22% |
| IQ3_XXS / agent | 4.6548 | 4.6908 | +0.774% | 0.040201 | 91.18% |
| IQ3_XXS / general | 5.6579 | 5.5987 | −1.047% | 0.099784 | 87.65% |
| IQ3_XXS MACRO AVG | 5.0700 | 5.0778 | +0.305% | 0.058271 | 90.80% |
| IQ2_S / valid | 4.6483 | 4.7655 | +2.521% | 0.103977 | 88.33% |
| IQ2_S / cn | 7.1598 | 7.0583 | −1.417% | 0.049608 | 90.20% |
| IQ2_S / code | 3.6416 | 3.6336 | −0.218% | 0.039806 | 93.82% |
| IQ2_S / agent | 4.6693 | 4.6815 | +0.260% | 0.043938 | 91.18% |
| IQ2_S / general | 5.6650 | 5.7994 | +2.373% | 0.108490 | 86.67% |
| IQ2_S MACRO AVG | 5.1568 | 5.1877 | +0.704% | 0.069164 | 90.04% |
| TIER | 911-TENSOR BLAKE2B | 10-Q PROBE (ABLIT vs OFFICIAL) | SMOKE & MTP CHECK |
|---|---|---|---|
| IQ3_XXS | PASS · 78 edited / 833 exact · ±0 B · 0 overlaps · 6,656 expert slices · 30/30 MTP exact | 9/10 vs 9/10 (off 4/5, high 5/5, 0 loops, 0 collapses; both missed only zh_constraints_off length cap: 448 vs 506 CJK) | 5/5 Smoke PASS · MTP 44.61% accept (182/408, mean len 2.34, 126.8–144.9 tok/s on 1× RTX 4080S) |
| IQ2_S | PASS · 78 edited / 833 exact · ±0 B · 0 overlaps · 6,656 expert slices · 30/30 MTP exact | 9/10 vs 10/10 (off 5/5, high 4/5, 0 loops, 0 collapses; single miss en_math_high stopped at 47, 16/17 vals) | 5/5 Smoke PASS · MTP 44.53% accept (183/411, mean len 2.34, 129.9–145.8 tok/s on 1× RTX 4080S) |
[-0.75, -0.50] along B_l): IQ3_XXS dense writers (Q4_K–Q8_0/IQ4_XS) hit [-0.7440..-0.7501, -0.4947..-0.5001] and ffn_down_exps hit [-0.7598, -0.5054] (IQ3_S, 21L), [-0.7355, -0.4849] (IQ3_XXS, 3L), [-0.7223, -0.4686] (IQ2_S, 2L). IQ2_S ffn_down_exps hit [-0.7602, -0.5055] (IQ3_S, 12L), [-0.7207, -0.4708] (IQ2_S, 6L), [-0.7039, -0.4560] (IQ2_XS, 6L).Measured on the identical 5-domain benign corpus (valid / cn / code / agent / general, chunks=4) and identical 10-question low-bit capability probe against our locked-P3 UD-GGUF low-bit tiers. Both GSQ-RCO and Unsloth UD embed the Qwen4 MTP layer inside Shard 1 (--spec-type draft-mtp).
| TIER (SHARD 1) | OFFICIAL PPL↓ | ABLIT PPL↓ | CODE PPL↓ | KLD / ΔPPL | 10-Q PROBE |
|---|---|---|---|---|---|
| GSQ-RCO IQ3_XXS (15.54 GB) | 5.0700 | 5.0778 | 3.6165 | 0.0583 / +0.305% | 9/10 vs 9/10 (0 loops) |
| GSQ-RCO IQ2_S (13.39 GB) | 5.1568 | 5.1877 | 3.6336 | 0.0692 / +0.704% | 9/10 vs 10/10 (0 loops) |
| UD-Q3_K_XL (~17.9 GB) | 4.8535 | 4.9177 | 3.6692 | 0.0345 / +1.384% | 10/10 (0 loops) |
| UD-Q2_K_XL (~15.4 GB) | 4.8500 | 4.9182 | 3.6144 | 0.0359 / +1.556% | 9/10 vs 10/10 (0 loops) |
| UD-IQ2_XS (~12.8 GB) | 4.8790 | 4.9450 | 3.6304 | 0.0350 / +1.331% | 10/10 vs 9/10 (0 loops) |
0.035 vs 0.058–0.069) thanks to its broad multilingual/agent imatrix, and is the recommended path for 4-bit+ or Strata Engine (GPU Vision + MTP + 1M context); (2) Code & Reasoning focus at 12–16 GB VRAM: GSQ-RCO IQ3_XXS beats the larger UD-Q3_K_XL on Code PPL (3.6165 vs 3.6692) with minimal P3 ΔPPL (+0.305%) and strong upstream AIME25/GPQA/LCB recovery (99.6%); (3) MTP Parity: Both GSQ-RCO and Unsloth UD include built-in MTP layers in Shard 1 for llama.cpp speculative decoding.| FILE | BPW | ON GPU | FILE SIZE | TARGET HARDWARE |
|---|---|---|---|---|
| Qwen4-35B-A3B-GSQ-RCO-IQ3_XXS-abliterated-00001-of-00002.gguf | 3.25 | 14.03 GB | 15.54 GB | 16 GB VRAM sweet spot (13,838 MiB CUDA buffer w/ MTP) |
| Qwen4-35B-A3B-GSQ-RCO-IQ2_S-abliterated-00001-of-00002.gguf | 2.75 | 11.88 GB | 13.39 GB | 12 GB VRAM sweet spot (11,786 MiB CUDA buffer w/ MTP) |
| tensor-allocation/*.rco-allocation.txt | — | — | 60.5 KB | Per-tensor RCO GGML type manifests (911 tensors) |
| results/verification.json · SHA256SUMS.txt | — | — | Audit | Full measured metrics, post-quant stats & SHA-256 ledger |
| REPOSITORY | BEST FOR | TRADE-OFFS MEASURED |
|---|---|---|
| GSQ-RCO-GGUF (this repo) | 12–16 GB VRAM code/reasoning-focused llama.cpp serving (built-in Q4_K MTP) | Strong reasoning/code preservation (Code PPL 3.6165 on IQ3_XXS, upstream 99.6% AIME25/GPQA/LCB recovery); higher 5-domain general/CN PPL (5.0778 / 5.1877) than UD low-bit; requires separate upstream ngram table (or Unsloth Q4 Shard 2 via --ple); no bundled vision projector |
| UD-GGUF | All-round daily driver & 4-bit+ tiers (8 tiers, built-in MTP, Vision mmproj, 69 MB Rank-2 LoRA, plus Strata GPU Vision + MTP + 1M ctx) | Lower 5-domain text PPL across all low-bit tiers (UD-IQ2_XS 4.9450, UD-Q2_K_XL 4.9182, UD-Q3_K_XL 4.9177) with tighter KLD (0.0345–0.0359) and smaller 11.52 GB Shard 2 |
| Strata v1.2 | Native .strata (strata-q4-lite) packs (Ultra / Balanced / Compact) | Upstream native .strata format currently has a known speed bottleneck and ignores --vision on CUDA/HIP; for full-speed Strata + GPU Vision + MTP + 1M context, use UD-Q4_K_XL / UD-IQ4_XS from UD-GGUF |
Identical locked P3 causal per-layer Rank-2 asymmetric abliteration used across our UD-GGUF and Strata releases: bilingual dual-mode extraction (off + high), per-mode float64 harmless-mean orthogonalization, flat L8–L33 projection (α_off = 1.75, α_high = 1.50) over the 78 residual writers (6 attn_output, 20 ssm_out, 26 ffn_down_shexp, 26 × 256 ffn_down_exps), and overlap-protected in-place patching back to exact RCO per-layer types. Upstream token_embd.weight (BF16) and all 30 blk.40.* MTP tensors stay 100% bit-identical.
To avoid duplicating untouched 22–41 GB upstream tables, download our abliterated Shard 1 alongside the upstream n-gram table from ISTA-DASLab/Qwen4-35B-A3B-GSQ-RCO-GGUF (ngram/Qwen4-35B-A3B-ngram-BF16.gguf at 40.96 GB recommended, or ngram-Q8_0.gguf at 21.76 GB). Requires llama.cpp (>= b12971 / PR #33626); the n-gram table stays in system RAM via -ot per_layer_token_embd=CPU (0 VRAM):
# 1. Download abliterated Shard 1 (swap IQ3_XXS for IQ2_S for 12 GB VRAM) hf download SC117/Qwen4-35B-A3B-abliterated-GSQ-RCO-GGUF \ Qwen4-35B-A3B-GSQ-RCO-IQ3_XXS-abliterated-00001-of-00002.gguf --local-dir . # 2. Download upstream n-gram table (BF16 40.96 GB recommended, or Q8_0 21.76 GB) hf download ISTA-DASLab/Qwen4-35B-A3B-GSQ-RCO-GGUF \ --include "ngram/Qwen4-35B-A3B-ngram-BF16.gguf" --local-dir . # 3a. Option A: load directly with --ple + built-in MTP speculative decoding llama-server \ -m Qwen4-35B-A3B-GSQ-RCO-IQ3_XXS-abliterated-00001-of-00002.gguf \ --ple ngram/Qwen4-35B-A3B-ngram-BF16.gguf \ -ot per_layer_token_embd=CPU --fit on -ngl 99 -c 16384 -ctk q8_0 -ctv q8_0 \ --spec-type draft-mtp --spec-draft-n-max 3 --host 127.0.0.1 --port 8080 # 3b. Option B: symlink as Shard 2 if your launcher omits --ple ln -s ngram/Qwen4-35B-A3B-ngram-BF16.gguf \ Qwen4-35B-A3B-GSQ-RCO-IQ3_XXS-abliterated-00002-of-00002.gguf
11.52 GB IQ4_NL): If you already have Unsloth's 11.52 GB IQ4_NL Shard 2 (e.g., Qwen4-35B-A3B-abliterated-UD-Q4_K_XL-00002-of-00002.gguf), llama-server and llama-perplexity accept it directly via --ple with zero load warnings, coherent generation, and only +0.658% 1-chunk valid PPL delta vs 21.76 GB ngram-Q8_0 (3.6385 vs 3.6147) while saving 10.24 GB of RAM and disk.- Verification scope transparency: Uses the exact locked
P3recipe previously verified on our bilingual dual-mode refusal audit (SC117/Qwen4-35B-A3B-abliterated-UD-GGUFUD-Q4_K_M,n=100:99% → 10.0%off,97% → 5.0%/5.3%validhigh,0loops); per owner policy, no redundant refusal sweep was repeated here. Both GSQ-RCO builds passed 911-tensorblake2b, 5-domain KLD, 10-question capability, 5/5 benign smoke, and live MTP checks. - License & upstream credits: Apache-2.0, inherited from Qwen/Qwen4-35B-A3B. Quantized bases by IST-DASLab; imatrix from Unsloth; runtime by llama.cpp. Independent research release, unaffiliated with upstream organizations.
@article{gsq2026,
title = {GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling},
author = {Dadgarnia, Alireza and Tabesh, Soroush and Nikdan, Mahdi and Helcig, Michael and Kurtic, Eldar and Kleinegger, Maximilian and Alistarh, Dan},
journal = {arXiv preprint arXiv:2604.18556},
year = {2026}
}
@article{rco2026,
title = {Model Compression with Exact Budget Constraints via Riemannian Manifolds},
author = {Helcig, Michael and Alistarh, Dan},
journal = {arXiv preprint arXiv:2605.00649},
year = {2026}
}