
Beats 23 GB UD-Q4_K_XL at 14 GB. Full 256K int8 KV + 10,240/10,240 experts resident + CPU Vision (0 MiB VRAM) on one RTX 3090. Uncensored by default — weights untouched.
Quick Start · 1×3090 Solo · 2×3090 Batch · Benchmarks · Uncensored · Technical Details
Recommended Engine — github.com/alesha-pro/Strata: These GSQ-RCO models achieve peak speed and full 256K
int8KV on a single RTX 3090 on our unified CUDAsm_86fork (mainbranch, one binary for both DFlash 2 solo and 1,000+ tok/s batching) with nativeIQ2/IQ3GSQ-RCO kernels and default-on control vectors.
Quick Start
One branch (main), one binary (build/strata) from alesha-pro/Strata (CUDA 12.8+, CMake 3.24+, Ninja, Python 3.10+ with numpy and regex).
1. Clone & build our Strata fork + CPU Vision (0 MiB VRAM)
git clone https://github.com/alesha-pro/Strata.git && cd Strata
# Main CUDA engine (set CMAKE_CUDA_ARCHITECTURES: 86=RTX 3090, 89=RTX 4090, 120=RTX 5090)
cmake -S engine -B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
-DSTRATA_ENABLE_CUDA=ON \
-DCMAKE_CUDA_ARCHITECTURES=86 \
-DSTRATA_GEOMETRY=q4_lite \
-DSTRATA_WINDOW_MAX_T=64
cmake --build build --target strata -j
# CPU Vision encoder (standalone, ~3s build, 0 MiB VRAM — handles images on CPU)
cmake -S terminal/tools/vision -B build-vision -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build-vision --target strata-vision -j
2. Download the turnkey pack (GSQ-RCO-IQ3_XXS)
One command pulls the quant, compact 11 GB RAM-mapped n-gram table, F16 vision projector (mmproj, runs on CPU with 0 MiB VRAM), refusal control vector, pre-packed DFlash 2 drafter, expert profile, and ready configs:
hf download alesha-pro/Qwen4-35B-A3B-GSQ-RCO-Uncensored-GGUF \
Qwen4-35B-A3B-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf \
ngram/Qwen4-35B-A3B-ngram-IQ4_NL.gguf \
mmproj-F16.gguf \
qwen4-35b-a3b-cvec-nht.gguf \
dflash2-q4_0-sel4.pack \
expert-profile-40x256.bin \
--include "configs/*" \
--local-dir qwen4-gsq
3. Split trunk & build pack (one-time, ~2 min)
python3 terminal/tools/qwen4_split_gguf.py \
--gguf qwen4-gsq/Qwen4-35B-A3B-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf \
--out qwen4-gsq/Qwen4-35B-A3B-GSQ-RCO-IQ3_XXS-trunk40.gguf
python3 terminal/tools/iq_pack.py \
--gguf qwen4-gsq/Qwen4-35B-A3B-GSQ-RCO-IQ3_XXS-trunk40.gguf \
--out packs/qwen4-gsq-iq3xxs --compat-bf16
Run: 1× RTX 3090 Solo
(256K int8 KV · 10,240/10,240 experts in VRAM · DFlash 2 · CPU Vision 0 MiB VRAM · uncensored by default)
CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=0 \
STRATA_NO_ARENA_THP=1 STRATA_GDN_SPLIT=16 STRATA_MOE_SH9=0 \
python3 terminal/serve/server.py \
--engine strata \
--config qwen4-gsq/configs/strata-qwen4-gsq-iq3xxs-1x3090-uncensored.json \
--port 18451
Run: 2× RTX 3090 Batching
(32 concurrent slots with full int8 KV at 967 tok/s, or 48 slots at 1,026 tok/s)
CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=0,1 \
STRATA_NO_ARENA_THP=1 \
python3 terminal/serve/server.py \
--engine strata \
--config qwen4-gsq/configs/strata-qwen4-gsq-iq3xxs-batch-uncensored.json \
--replicas 2 --gpu 0,1 --port 18451
Query (uncensored by default — works with any harness)
Once loaded via --control-vector-scaled, the control vector is ON by default — connect Claude Code, OpenCode, Cursor, Cline, OpenWebUI, or SillyTavern directly to http://127.0.0.1:18451/v1 with zero custom fields. Pass "experimental_speed_projection": false only if you want to temporarily run stock behavior on a single request:
curl -s http://127.0.0.1:18451/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "qwen4-35b-a3b-gsq-rco-uncensored",
"messages": [{"role": "user", "content": "Your prompt here"}],
"max_tokens": 512,
"temperature": 0
}'
Benchmarks

| Quant | GPU Size | quant_quality.py PPL ↓ |
AIME25 / GPQA-D / LCB v6 (Rec.) | 256K on 1× RTX 3090 |
|---|---|---|---|---|
UD-Q4_K_XL (ref) |
23.00 GB | 8.538 |
— | requires 2× 3090 |
GSQ-RCO-IQ3_XXS ⭐ |
14.03 GB | 8.369 |
95.00 / 87.54 / 71.24 (99.6%) | Full int8 KV + DFlash 2 |
GSQ-RCO-IQ3_S |
15.11 GB | 8.539 |
94.33 / 86.20 / 72.19 (99.1%) | Full int8 KV + DFlash 2 |
Measured on stock-clock RTX 3090 (no GPU overclock), 10,240/10,240 experts resident (0% offload) using alesha-pro/Strata. AIME25 / GPQA-Diamond / LCB v6 (xhigh) from ISTA-DASLab.
Uncensored
Evaluated directly on GSQ-RCO-IQ3_XXS with qwen4-35b-a3b-cvec-nht.gguf:1.0 (--cvec-mode project, layers 1..39, reasoning_effort: "off", max_tokens: 256, stock-model judge):
| Set | Prompts | Stock Refusals | With Vector | Refusal Rate |
|---|---|---|---|---|
harmful-train |
64 | 62 / 64 (96.9%) | 0 / 64 | 0.0% |
JailbreakBench (heldout-jbb) |
82 | 67 / 82 (81.7%) | 1 / 82 | 1.2% |
harmless-train |
32 | 0 / 32 (0.0%) | 0 / 32 | 0.0% (empty=0) |
Three engine flags do the entire job (already pre-wired in
configs/*.json, active by default on every request):--control-vector-scaled qwen4-gsq/qwen4-35b-a3b-cvec-nht.gguf:1.0 --cvec-mode project --control-vector-layer-range 1 39
Technical Details
Full speed tables (1×3090 Solo, 256K int8 KV, Continuous Batching up to 1,026 tok/s)
Single-stream 1× RTX 3090 (alesha-pro/Strata + dflash2-q4_0-sel4.pack, 512 tok, greedy):
| Workload | GSQ-RCO-IQ3_XXS (16K) |
GSQ-RCO-IQ3_XXS (256K int8 KV) |
GSQ-RCO-IQ3_S (256K int8 KV) |
UD-IQ4_XS (ref, 16K) |
|---|---|---|---|---|
| Fresh prose | 265.2 tok/s | 264.1 tok/s | 260.5 tok/s | 284.9 tok/s |
| Fresh code | 298.1 tok/s | 294.5 tok/s | 277.6 tok/s | 317.1 tok/s |
| Structured JSON | 409.2 tok/s | 406.7 tok/s | 399.0 tok/s | 393.4 tok/s |
| Agentic code edit | 1,003.7 tok/s | 951.8 tok/s | 936.5 tok/s | 1,039.2 tok/s |
Agentic JSON write_file |
981.2 tok/s | — | — | 319.5 tok/s |
Continuous batching (alesha-pro/Strata, 256 tok/req):
| Setup | Concurrency | KV Cache | GSQ-RCO-IQ3_XXS |
UD-IQ4_XS (ref) |
|---|---|---|---|---|
| 1× RTX 3090 | c=8 |
int8 |
397.4 tok/s | 394.6 tok/s (q4_0) |
| 1× RTX 3090 | c=16 |
int8 |
506.4 tok/s | 518.0 tok/s (q4_0) |
1× RTX 3090 (WIN_MAX=24) |
c=24 |
q4_0 (4K) |
550.2 tok/s | 581.2 tok/s |
2× RTX 3090 (--replicas 2) |
c=16 |
int8 |
794.4 tok/s | 785.1 tok/s (q4_0) |
2× RTX 3090 (--replicas 2) |
c=32 |
int8 |
967.2 tok/s | 970.4 tok/s (q4_0) |
2× RTX 3090 (--replicas 2, WIN_MAX=24) |
c=48 |
q4_0 (4K) |
1,026.3 tok/s (12,288 tok / 11.97s) |
1,071.7 tok/s (11.47s) |
To hit 1,026 tok/s at c=48 on 2× 3090 (or 550 tok/s at c=24 on 1× 3090), pass STRATA_BATCH_WIN_MAX=24 and change --batch 16 --kv int8 --max-context 8192 to --batch 24 --kv q4_0 --max-context 4096 in configs/strata-qwen4-gsq-iq3xxs-batch-uncensored.json.
Pack contents, IQ3_S variant & n-gram table options
| File | Size | Description |
|---|---|---|
Qwen4-35B-A3B-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf |
15.54 GB | Recommended quant (3.25 bpw, 14.03 GB GPU, PPL 8.369, 99.6% recovery) |
Qwen4-35B-A3B-GSQ-RCO-IQ3_S-00001-of-00002.gguf |
16.61 GB | 3.50 bpw sibling (15.11 GB GPU, PPL 8.539, 99.1% recovery) |
ngram/Qwen4-35B-A3B-ngram-IQ4_NL.gguf |
11.52 GB | Shared 20B n-gram PLE table (RAM-mapped, 0 VRAM, fits in 32 GB RAM) |
mmproj-F16.gguf |
899 MB | Official Qwen4 F16 vision projector (runs on CPU via strata-vision, 0 MiB VRAM) |
qwen4-35b-a3b-cvec-nht.gguf |
314 KB | Orthogonalized N/H/T refusal control vector (layers 1–39, ON by default) |
dir-NHT-gs.npz |
1.9 MB | Raw orthogonalized directions before GGUF export |
dflash2-q4_0-sel4.pack |
213 MiB | Pre-packed DFlash 2 drafter (--q4_0 --q4_0-selector) |
expert-profile-40x256.bin |
81 KB | 40×256 MoE expert profile |
configs/strata-qwen4-gsq-iq3xxs-1x3090-uncensored.json |
— | 1× 3090 256K int8 KV + DFlash 2 + uncensored (IQ3_XXS) |
configs/strata-qwen4-gsq-iq3s-1x3090-uncensored.json |
— | 1× 3090 256K int8 KV + DFlash 2 + uncensored (IQ3_S) |
configs/strata-qwen4-gsq-iq3xxs-batch-uncensored.json |
— | 1× / 2× 3090 continuous batching (int8 KV, --replicas 2) |
- Running
IQ3_S: swapIQ3_XXSforIQ3_Sin steps 2–3 and passconfigs/strata-qwen4-gsq-iq3s-1x3090-uncensored.json. - Higher-precision n-gram tables: the included 11.52 GB
IQ4_NLtable keeps RAM usage low and was used for all PPL (8.369) and speed numbers above. If you have 64 GB+ RAM and want the original 21.76 GBQ8_0or 40.96 GBBF16n-gram table, download it from ISTA-DASLab/Qwen4-35B-A3B-GSQ-RCO-GGUF and point--ple-ggufat it.
Engine & quality notes (FP32 GDN state, sm_86 kernels, control vector construction)
- FP32 GDN state strictly preserved: rounding Gated DeltaNet recurrent state to FP16/BF16 degraded 5-segment PPL from
8.552to8.710/8.797(KL 0.045–0.052) and was rejected. All speed gains are quality-verified. - Unified fork (alesha-pro/Strata,
mainbranch): combines Stratav0.2.28+ Qwen4 DFlash 2 (dflash2-q4_0-sel4.pack+ 0-ULP empty attention-chunk elimination) + Wide-64 +SuffixDrafter v5+ lazy JSON/diff shadow drafter +sm_86BV=81-warp GDN +w2_3090kernels +STRATA_MOE_SH9+ zero-borrow prefill + self-commit grouped GDNQFUSE+ chunkedGdnGroups+STRATA_BATCH_WIN_MAX+ slot-aware replica routing + nativeIQ2_XXS/IQ2_XS/IQ2_Sdown kernels for full GSQ-RCO solo & batching. - Control vector (
dir-NHT-gs.npz→qwen4-35b-a3b-cvec-nht.gguf): three Gram-Schmidt orthogonalized refusal directions per layer (Nthinking-off,Hthinking-high,Tthink-end), cycled across layers 1–39 and projected out of the residual stream at runtime (x ← x − (x·d)d).
Credits & License
- Engine: alesha-pro/Strata (optimized
sm_86fork of Niko1221/Strata, unifiedmainbranch) - Base model: Qwen/Qwen4-35B-A3B (Apache-2.0)
- GSQ-RCO quantizations: ISTA-DASLab/Qwen4-35B-A3B-GSQ-RCO-GGUF (Apache-2.0 · GSQ & RCO)
- DFlash 2 drafter: RadixArk/Qwen4-35B-A3B-Dflash2
- Compact
IQ4_NLn-gram table: from alesha-pro/Qwen4-35B-A3B-Uncensored-GGUF