abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.
← back to catalog · indexed 2026-10-19 09:00added 2026-10-19 09:00

IndrasMirror/DeepSeek-V4.1-Flash-1017-XQ-Uncensored

IndrasMirror DeepSeek GGUF MoE

M1 Direction removal · 11.9K downloads · 66 likes

Your rigComputer guess connected
? Why do I need an app?
Reading your rig…Checking…

Below is the per-quantization compatibility for this model.Below: which compressed versions fit your computer.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/IndrasMirror%2FDeepSeek-V4.1-Flash-1017-XQ-Uncensored"
Response includesThe data includes
  • method_v2.family M1
  • files 82
  • author_summary 16 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload10 credits · updated hourly · reply about 4 KB Get an API key →
Abliteration classifier · v2.0.0 · M-codes 2.0How this model was made
M1
Method familyMethod

Direction removal

Uncensoring event in this repository: M1 · classic.Refusals were removed here.

EvidenceHow we know
ˢ Stated
Specialist codeShort code M1 · classic · original · GGUF ˢ
  • VariantForm classic S
  • LineageFamily tree original S
  • DistributionFiles GGUF T
Why this label 6 answers
FamilyMethod
M1 Stated The card names a direction-removal tool or states the abliterationThe card says so
VariantForm
classic Stated Direction removal stated without a refinement: the classic formThe standard form
Scope
not stated
Tool
not stated
Post-processingAfterwards
not stated
LineageFamily tree
original Stated Published as the author's own release, with no uncensored ancestorThe author's own release
DistributionFiles
GGUF Tool record From the repository's file formatsFrom the files
Target
refusal Guessed No other target stated, so refusals
Where the change lives
weights Stated Follows from the familyFollows from the method
Hardened base
not stated
Refusal direction extracted viaFinding the refusal signal
Extraction techniqueHow it was found

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)

Licence and originprovenance

Original release
  • Provider: DeepSeek Provider: DeepSeek original.provider
  • Release: deepseek-ai/DeepSeek-V4.1-Flash-1017 Original release repo: deepseek-ai/DeepSeek-V4.1-Flash-1017 original.release_id
  • Licence of the original release: MIT Licence of the original release: MIT original.licence
  • EU training-content summary published: yes EU training-content summary (AI Act Art. 53(1)(d)): found on the provider's pages, checked 2026-11-29 original.eu_training_summary
  • Original release found via models it says it is built on Link found in the lineage graph (declared base models) link_source
This model
  • Licence stated by this model: mit Licence in the model card metadata: mit this_model.declared_licence
  • None of the checked licence points of the original release applies None of the checked licence points of the original release applies this_model.flags
Details
  • Full licence text dated copy of 29 Nov 2026 licence_text
  • Chain to this model 1 step, 6 file hashes chain
  • Provider documents 7 facts with sources provider_documents
  • Licences side by side licences

From public data checked on 2026-12-06. Not legal advice. How this is checked · Report a problem with this information

Downloads · lifetimeDownloads · all time
37K
12K last 30d - 10 to 50% of lifetime10 to 50% of total
Likes
66
Model age
7w ago
created 2026-10-18
Downloads over time
Now 37K → from 0 new
013.6K27.2K40.7K 0 on Oct 19 37K on Dec 6 OctNovDec
Oct 19 → Dec 6 · 49 snapshots · spans 48 daysOct 19 → Dec 6 · 49 recorded counts over 48 days

GenealogyFamily tree 0 direct forks

Full fork graph →All family trees →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.Its place among other models. Above: what it comes from. Below: models built on it, directly or through other models.

deepseek-ai/DeepSeek-V4.1-Flash-1017 this lineage
IndrasMirror/DeepSeek-V4.1-Flash-1017-XQ-UncensoredM1uncensoring eventrefusals removed here↓ 11,909

MetadataDetails

License
mit
Quantizations
Q2_K
Tags
ggufdeepseekdeepseek-v4.1moequantized2-bitternarymixed-precisiongptquncensoredstrataconsumer-gpu

Related

Control vectorsSteering files

Total size
496 GB
Files
82
Quantizations
4
Indexed by usAdded
2026-10-19 09:00
Last updated on HFLast updated
2026-12-03 18:04

Files by quantizationFiles by compression

dsv41-loop-r5a300 1 file 135 MB
loop/dsv41-loop-r5a300.gguf 135 MB 5bd68213 download
V41-XQ-1017 · 15 parts 15 files split set · download from Hugging Facein pieces · download from Hugging Face 142 GB
v2/V41-XQ-1017.gguf.part-01-of-15 10.0 GB 4d0f978a download
v2/V41-XQ-1017.gguf.part-02-of-15 10.0 GB 8caeb0c8 download
v2/V41-XQ-1017.gguf.part-03-of-15 10.0 GB b6468f2a download
v2/V41-XQ-1017.gguf.part-04-of-15 10.0 GB 787682c1 download
v2/V41-XQ-1017.gguf.part-05-of-15 10.0 GB 50c416ab download
v2/V41-XQ-1017.gguf.part-06-of-15 10.0 GB b6c38f60 download
v2/V41-XQ-1017.gguf.part-07-of-15 10.0 GB 3289770f download
v2/V41-XQ-1017.gguf.part-08-of-15 10.0 GB 6d53523a download
v2/V41-XQ-1017.gguf.part-09-of-15 10.0 GB c98f5fe2 download
v2/V41-XQ-1017.gguf.part-10-of-15 10.0 GB 9a01525d download
v2/V41-XQ-1017.gguf.part-11-of-15 10.0 GB 688319c4 download
v2/V41-XQ-1017.gguf.part-12-of-15 10.0 GB d4cc8e93 download
v2/V41-XQ-1017.gguf.part-13-of-15 10.0 GB 7920ccb9 download
v2/V41-XQ-1017.gguf.part-14-of-15 10.0 GB 4b7e2894 download
v2/V41-XQ-1017.gguf.part-15-of-15 1.78 GB 7ac5b323 download
V41-XQ-1017-v3 · 16 parts 16 files split set · download from Hugging Facein pieces · download from Hugging Face 152 GB
v3/V41-XQ-1017-v3.gguf.part-01-of-16 10.0 GB 3b909e58 download
v3/V41-XQ-1017-v3.gguf.part-02-of-16 10.0 GB a98d6fc5 download
v3/V41-XQ-1017-v3.gguf.part-03-of-16 10.0 GB fe1b44c6 download
v3/V41-XQ-1017-v3.gguf.part-04-of-16 10.0 GB b11395be download
v3/V41-XQ-1017-v3.gguf.part-05-of-16 10.0 GB 59d0856b download
v3/V41-XQ-1017-v3.gguf.part-06-of-16 10.0 GB 8003ba0e download
v3/V41-XQ-1017-v3.gguf.part-07-of-16 10.0 GB 81e613b5 download
v3/V41-XQ-1017-v3.gguf.part-08-of-16 10.0 GB 919e67da download
v3/V41-XQ-1017-v3.gguf.part-09-of-16 10.0 GB 154021dd download
v3/V41-XQ-1017-v3.gguf.part-10-of-16 10.0 GB 156732d4 download
v3/V41-XQ-1017-v3.gguf.part-11-of-16 10.0 GB 4d5cf4f4 download
v3/V41-XQ-1017-v3.gguf.part-12-of-16 10.0 GB 11d8ef31 download
v3/V41-XQ-1017-v3.gguf.part-13-of-16 10.0 GB c8eb89c4 download
v3/V41-XQ-1017-v3.gguf.part-14-of-16 10.0 GB 77aa8461 download
v3/V41-XQ-1017-v3.gguf.part-15-of-16 10.0 GB ad0a9e2f download
v3/V41-XQ-1017-v3.gguf.part-16-of-16 1.76 GB f18cb36f download
V41-XQ-1017-v4 · 16 parts 16 files split set · download from Hugging Facein pieces · download from Hugging Face 152 GB
v4/V41-XQ-1017-v4.gguf.part-01-of-16 10.0 GB 0f157990 download
v4/V41-XQ-1017-v4.gguf.part-02-of-16 10.0 GB d8390cc4 download
v4/V41-XQ-1017-v4.gguf.part-03-of-16 10.0 GB cea01d85 download
v4/V41-XQ-1017-v4.gguf.part-04-of-16 10.0 GB 088af7e1 download
v4/V41-XQ-1017-v4.gguf.part-05-of-16 10.0 GB 9ec92aaa download
v4/V41-XQ-1017-v4.gguf.part-06-of-16 10.0 GB 3077776b download
v4/V41-XQ-1017-v4.gguf.part-07-of-16 10.0 GB 73cac8bd download
v4/V41-XQ-1017-v4.gguf.part-08-of-16 10.0 GB bbe01778 download
v4/V41-XQ-1017-v4.gguf.part-09-of-16 10.0 GB f54700ac download
v4/V41-XQ-1017-v4.gguf.part-10-of-16 10.0 GB d28265f2 download
v4/V41-XQ-1017-v4.gguf.part-11-of-16 10.0 GB 483ecdc3 download
v4/V41-XQ-1017-v4.gguf.part-12-of-16 10.0 GB f10d0878 download
v4/V41-XQ-1017-v4.gguf.part-13-of-16 10.0 GB 0ed63eda download
v4/V41-XQ-1017-v4.gguf.part-14-of-16 10.0 GB aa2850d6 download
v4/V41-XQ-1017-v4.gguf.part-15-of-16 10.0 GB 54036b6a download
v4/V41-XQ-1017-v4.gguf.part-16-of-16 1.76 GB e269a127 download
Weights 4 files 480 KB
v2/rank-1017-085.bin 120 KB 203e0524 download
v3/rank-1017-v3.bin 120 KB 6b7771aa download
v4/rank-1017-v3.bin 120 KB 6b7771aa download
v4/rank-1017-v4.bin 120 KB 5e49d8db download
Drafts and companions · attach to a main modelHelper files · used with a main file 2 files 13.1 GB
V41-MTP-Vision-1017.gguf 7.84 GB 6f3d5b86 download
V41-MTP-Vision-1017.Q2_K.gguf 5.27 GB 5f92242e download
Auxiliary files 28 files 37.4 GB
v4-fast/V41-XQ-1017-v4.mxfp4-q3k.q2k.im.x41s 28.6 GB 10a28185 download
v4-fast/V41-XQ-1017-v4.mxfp4-q3k.q2k.im.x41s.g42d10 6.13 GB acb75efd download
v4-fast/V41-XQ-1017-v4.mxfp4-q3k.q2k.im.x41s.g10d42 1.57 GB 60e56327 download
v4-fast/V41-XQ-1017-v4.mxfp4-q3k.q2k.im.x41s.g143d10 715 MB ad5c67f1 download
v4-fast/V41-XQ-1017-v4.mxfp4-q3k.q2k.im.x41s.g10d143 364 MB 2acc00ee download
tokenizer/vocab.json 2.60 MB a6d70cc3 download
tokenizer/merges.txt 1.44 MB 458716d3 download
v2/V41-XQ-1017.gguf.experts.json 1.17 MB c4ddcd60 download
v4/V41-XQ-1017-v4.gguf.experts.json 1.17 MB bc58cb50 download
v3/V41-XQ-1017-v3.gguf.experts.json 1.17 MB 28492502 download
tokenizer/token_type.json 379 KB ed1dd5b9 download
README.md 29.8 KB 6d4d915b download
LICENSE 9.23 KB cbf209ff download
.gitattributes 6.40 KB 14e6dd56 download
loop/README.md 2.23 KB 60a4b6dd download
v3/reassemble.sh 2.07 KB f18dca58 download
v4/reassemble.sh 2.07 KB c341a43b download
v2/reassemble.sh 2.06 KB 6b376f5b download
v3/SHA256SUMS 1.65 KB 05ad288e download
v4/SHA256SUMS 1.65 KB 0011c4c8 download
v2/SHA256SUMS 1.50 KB 5946d0ce download
model-00047-of-00048.safetensors.NEED-TO-DOWNLOAD-ENGRAM.txt 1.08 KB 0a34ed24 download
model-00048-of-00048.safetensors.NEED-TO-DOWNLOAD-ENGRAM.txt 1.08 KB a9382117 download
LICENSES/MIT.txt 1.04 KB c1f7a78e download
NOTICE 801 B 0f4e52db download
v4-fast/SHA256SUMS 636 B c7784632 download
v4-fast/V41-XQ-1017-v4.fast.list 215 B 50da29c2 download
tokenizer/chat_template.jinja 91.0 B 95ece312 download

READMEAuthor's description from Hugging Face, captured 2026-12-03


license: mit
base_model:

  • deepseek-ai/DeepSeek-V4.1-Flash-1017
    base_model_relation: quantized
    tags:
  • deepseek
  • deepseek-v4.1
  • moe
  • quantized
  • 2-bit
  • ternary
  • mixed-precision
  • gptq
  • uncensored
  • strata
  • consumer-gpu

DeepSeek-V4.1-Flash-1017 · XQ mixed-tier: ternary / 2-bit / 3-bit / native FP4 experts

A 552B-parameter MoE running on one gaming PC: RTX 4090 (24 GB) + 90 GB RAM + NVMe

Runs on Xolotl (formerly Strata-DSV4.1), an engine built for exactly
this model and this class of machine, on top of Strata.

Builds: V4 (v4/, 163 GB, recommended; optional fast mode in v4-fast/) · V3 (v3/, 163 GB) · V2 (v2/, 152 GB)

Already downloaded V4? Grab the new rank file

On 25 Oct (about 20:10 UTC on the 24th) I added v4/rank-1017-v4.bin, V4's own expert hotness ranking. Before that the instructions pointed at v4/rank-1017-v3.bin (V3's ranking), which still works fine but leaves speed on the table. The new one is faster and no worse on quality (86.9% top-1 / KL 0.306 on the held-out rows vs 86.8% / 0.316 with the old one). It's 123 KB, no need to touch the 163 GB model:

hf download IndrasMirror/DeepSeek-V4.1-Flash-1017-XQ-Uncensored v4/rank-1017-v4.bin --local-dir V41-XQ-1017
# then use --rank V41-XQ-1017/v4/rank-1017-v4.bin (and pull the latest Xolotl for the faster CPU kernels)

This file is not a llama.cpp / Ollama / LM Studio GGUF. It uses per-expert quant types those runtimes don't load.
Use it with Xolotl.

Fast mode (optional, 7 Nov): 41 tok/s on real agent tasks, same tasks solved

On the Gauntlet's coding tasks fast mode decodes at 41.1 tok/s against 32.6 normally (+26 %), and solves the same
tasks (8/12 in both).
On a fixed 8K-prompt probe it's 33.0 vs 26.1 tok/s.

v4-fast/ is a 2-bit copy of V4's two biggest expert formats (the 1,056 native-FP4 experts and the 1,778 Q3_K
ones, about half the bytes that cross the RAM bus and the NVMe drive per token), in Q2_K, built with an importance
matrix from 120 code and agent prompts. Xolotl reads that copy instead of those experts. The model file isn't touched,
and you can switch it off at any time by unsetting one variable.

RTX 4090, V4, Q6_K dense, 8K prompt Decode short34 top-1 short34 NLL
normal 26.1 tok/s 87.01 % 0.512
fast 33.0 tok/s (+27 %) 86.16 % 0.540

It's lossy, so it's opt-in: good for long agent runs, drafts and chat; use the normal mode where every token counts.
On agentic coding it held up: the Gauntlet v3-small
(6 hard tasks graded by hidden tests, 10 turns, thinking on, 2 runs each) solved 8/12 in both modes, score 4.99 vs
4.99
, and decoded at 41.1 vs 32.6 tok/s (+26 %) during the tasks. It's 40 GB on top of
the model, and wants to sit on an NVMe drive (it's read during decode like the model itself). Needs Xolotl from 7 Nov or
newer. How it works and what else we tried: docs/XOLOTL_FAST.md.
The idea is compress-then-correct from PROMETHEVS (Ryan Flavell).

hf download IndrasMirror/DeepSeek-V4.1-Flash-1017-XQ-Uncensored --include "v4-fast/*" --local-dir V41-XQ-1017
cd V41-XQ-1017/v4-fast && sha256sum -c SHA256SUMS && cd -
D=$PWD/V41-XQ-1017/v4-fast
export XOLOTL_SHADOW=$(sed "s|\([^:]*\)|$D/\1|g" $D/V41-XQ-1017-v4.fast.list)   # then serve as usual

At startup the engine log says shadow: N experts from ... as q2_K / q2_K. If the copy doesn't match your model file it
says shadow: NOT used (...) and serves the normal experts.

V4 (25 Oct): the best build so far

V4 is the first build with our XQ refinement on every routed expert, a new tier map and a much bigger calibration set drawn from real agent and code data. It also adds a fourth tier: the 1,056 hottest experts are kept exactly as DeepSeek trained them, in their native FP4 (MXFP4, a lossless repack), and the bytes for that come out of the cold experts, which go ternary more often. Same file size as V3.

DeepSeek-V4.1-Flash has 40 layers with 384 routed experts each (top-6 per token), so 15,360 routed experts holding 543.6B weights, plus a shared expert, Hyper-Connections, CSA sparse attention and an Engram n-gram memory. Every expert's gate/up and down projections get their own format:

Format Grid Bits per weight Share of V4's expert weights
PTQ1_0 (ternary) {−1, 0, +1} × fp16 scale per 128 1.75 57.7%
Q2_0 {−1, 0, +1, +2} × fp16 scale per 64 2.25 22.7%
Q3_K 3-bit, 6-bit sub-scales per 16, fp16 per 256 3.44 12.7%
MXFP4 (native, untouched) DeepSeek's own FP4 + E8M0 scale per 32 4.25 6.9%
All experts 2.25

The dense half (attention, shared expert, output head) is Q8_0. The embedding, compressor and indexer stay F16, and norms, router and mHC stay F32.

When you serve it with Xolotl's ds41-engine.sh, the dense half gets re-quantised to Q6_K at load by default (STRATA_DENSE_REQUANT=q6_K, set it empty to keep Q8_0). That frees about 1.7 GB of VRAM for more experts (decode +11% after a 6.5K prompt, more on longer ones), and when we measured it on our earlier V4.1 build it cost next to nothing (KL to the FP8 model 0.2281 to 0.2306, top-1 agreement 85.87% to 85.76%, on 100 fixtures). All the speed and Gauntlet numbers below were run with it on; the agreement numbers in the quality table were measured with the dense half at Q8_0.

Quality

Held-out text the quantiser never fitted on, compared against the full-precision edited model:

V4 V3
Top-1 agreement with the full model (7 held-out rows, Python reference path) 85.7% 81.5%
KL divergence from the full model (same rows) 0.343 0.471
Top-1 agreement / KL, same rows through the real engine 86.9% / 0.306 82.9% / 0.405
Engine perplexity on those rows (full model 4.98) 5.04 5.24

V4's own head gate (57,337 held-out tokens) is 6.369 ppl / 0.705 top-1 against the full model's 6.341 / 0.707, so +0.4% ppl and -0.2 pt. By domain V4 agrees with the full model 95.1% of the time on code, 93.0% on agent turns, 89.7% on reasoning and 66.1% on long agentic traces (where the full model itself only gets 42% of next tokens right). A Wikitext-2 number (to compare with other quants) is coming.

Gauntlet v2

The core 7 tasks, 10 turns each, the same 32K thinking budget per turn for every model, hidden tests graded after every turn:

Solved Score Avg turns Tokens
V4 6/7 6.50 3.7 55,114
DeepSeek API (full model) 5/7 6.41 4.8 106,792
Our September V4.1 build 4/7 6.20 4.0 104,648

V4 solved everything except 03, which sits at 0.50 for every model I've run (the API included). 07, which the September build never solved, went at turn 4. It's one run per model, so I wouldn't read too much into it edging the API, but it's going toe to toe with it, which honestly I didn't expect. No sign of the overthinking the earlier builds had either: no step came near the thinking cap.

Speed

Good news, V4 has caught up, and prefill is way up. At release it was slower than V3, because the hottest experts are now the fattest ones, so fewer of them fit in VRAM and more of each token's experts come from RAM. I spent the weekend on the engine and it's climbing nicely. Served with DSpark on my PC (Linux, RTX 4090, Ryzen 7 5700X, 90 GB DDR4), rank-1017-v4.bin + --tier-batch-pcie 0.25, 512-token replies, two runs each (25 Oct, just before midnight):

Decode after an 8K prompt after a 20K prompt Prefill (8K / 20K)
V4 now, dense half Q8_0 21.7-21.8 tok/s 22.6-24.5 tok/s 289-297 / 395-409 tok/s
V4 now, dense half Q6_K (ds41-engine.sh's default) 23.5-23.9 tok/s 25.3-25.6 tok/s 298-300 / 385-388 tok/s
V4, earlier on 25 Oct (Q8_0) 21.9-22.4 tok/s 21.8-23.8 tok/s 237-250 / 309-321 tok/s
V4, morning of 25 Oct (Q6_K) 17.5 tok/s 19.6 tok/s 192 / 271 tok/s
V4, V3's rank file (first release, Q6_K) 15.6 tok/s 16.8 tok/s 199 / 280 tok/s

On real work it's quicker than that table makes it look: on Xolotl's coding tasks (21 HumanEval problems, 10 tool calls, 3 agentic bug-fix loops, greedy, 32K thinking budget, Q8_0 dense) V4 solved 21/21, 10/10 and 3/3 and decoded at 25.7 tok/s across all of it. With the newer engine (the VRAM cache now reloads with the experts this conversation actually uses after each prompt) the same tasks decoded at 29.0 tok/s. And on the full HumanEval (all 164 problems, same settings) it scored 162/164 (98.8%), decoding at 40 tok/s across the run; the two misses were HumanEval/99 and /145.

Short follow-up messages got a lot quicker too: a 32-token message comes back in ~3.9 s instead of ~7.4, a 50-token one ~4.4 s instead of ~5.6, an 85-token one ~5.3 s instead of ~9.4. For reference V3 did 22.3 tok/s across the Gauntlet and our September build 23.4.

None of this touches the model or costs quality, it's all engine work in Xolotl: the route bias refreshing as the conversation goes (that one actually nudged quality up a bit), expert reads going straight from NVMe into pinned memory, each layer's reads going out all at once, the RAM experts staged for big prompts running on the fast MMQ kernels, DSpark staying loaded when the prompt fits anyway, short turns going through the prompt batch, the VRAM cache reloading with this conversation's experts after each prompt, and faster CPU kernels for the Q2_0 and ternary tiers. Needs Xolotl from 25 Oct or newer. Decode on my box is mostly bound by RAM bandwidth now, so I think the next real jump is a RAM upgrade, and I'll update this table as it lands.

All speeds here are on Linux. On Windows DSpark can end up slower than running without it, see Xolotl #14.

How V4 was made

The same layer-streaming pipeline as the earlier builds (details under Older builds below), with three changes: a much bigger agent- and code-heavy calibration set (with a held-out slice that only ever measures), a fresh tier map at a 142.4 GiB expert budget, and our XQ refinement on every routed expert. The hottest experts stay in DeepSeek's native FP4. XQ itself is private; the GPTQ + allocation pipeline behind the older builds is open source in Xolotl/tools/v41.

Coding speed depends on the kind of coding (2 Nov). Someone on a 3090 Ti + 128 GB asked why they get ~35 tok/s
while coding when the table above says ~24. Same PC as above, Xolotl's served settings (V4, Q6_K dense, arena 80 GiB,
DSpark depth 4 with prompt-lookup drafts), an 8K code prompt, 256 tokens out:

context writing new code repeating the code with comments added
524K (as served) 23.6 tok/s 35.3 tok/s
131K 24.2 tok/s 34.4 tok/s
131K + STRATA_PRESTAGE_GIB=1.5 24.6 tok/s 33.6 tok/s

Context size and prestaging barely change it. The kind of work does: when the answer repeats or edits code that's
already in the conversation (refactors, adding comments, patching a file), the prompt-lookup drafts get accepted a lot
more often and decode goes up by about half. Writing new code from scratch stays around 24 tok/s. One probe per cell.

The edit

We applied a mrfakename-style rank-2 refusal-direction edit to the 1017 checkpoint, on the attention output
projection and the shared-expert down projection (experts untouched). The manifest id is adea0515bbf69a0b. The edit
is applied before quantization to the dense half in full precision. A refusal-direction probe on the served quantized
model is to be measured; this card does not claim a refusal rate until that probe is run.

Why

We wanted a frontier-class open model running locally, on hardware people actually own, without slicing it down to
a distilled toy. The design question was where the bits matter. A MoE spends most of its parameters on experts that
each token touches only rarely, so we spend the bit budget where the calibration says it counts, and run the rest
as cheaply as the quality numbers allow.

The engine treats the experts as a three-tier cache: the hottest ones in VRAM (about 750-950 of V4's, fewer when the DSpark draft is loaded), about 5,600 in a pinned 64 GiB RAM arena, and the rest read from NVMe with O_DIRECT, prefetched a layer ahead. Misses from the RAM arena are either copied to the GPU over PCIe or computed on the CPU (--tier-batch-pcie sets the split).

Files

File What
v4/V41-XQ-1017-v4.gguf.part-NN-of-16, v4/reassemble.sh, v4/SHA256SUMS V4, the 163 GB model in 16 parts of ~10 GiB, joined and checked by reassemble.sh. Needs Xolotl from 21 Oct or newer
v4/rank-1017-v4.bin V4's hotness ranking (use this one), seeds the VRAM cache and RAM arena
v4/V41-XQ-1017-v4.gguf.experts.json V4's per-expert offsets and formats
v4/rank-1017-v3.bin the ranking V4 first shipped with (V3's); still works, slower
v4-fast/*.x41s*, v4-fast/V41-XQ-1017-v4.fast.list, v4-fast/SHA256SUMS optional fast mode (40 GB): a Q2_K copy of V4's FP4 and Q3_K experts, +27 % decode for under a point of quality (see Fast mode above). Only for V4
v3/..., v2/... the older builds, same layout (rank-1017-v3.bin for V3, rank-1017-085.bin for V2)
tokenizer/ tokenizer + chat template (identical to the 1017 checkpoint's)
V41-MTP-Vision-1017.Q2_K.gguf recommended DSpark draft: the speculative-draft stack with its experts in Q2_K, plus the vision tower. Use with STRATA_SERVE_DSPARK=V41-MTP-Vision-1017.Q2_K.gguf (one-shot: STRATA_DSPARK=... STRATA_DSPARK_DEPTH=4)
V41-MTP-Vision-1017.gguf the same draft stack with MXFP4 experts (a lossless repack of the original FP4)
model-0004{7,8}-of-00048.safetensors.NEED-TO-DOWNLOAD-ENGRAM.txt placeholders - you need these two files, download them separately: the two Engram shards (101.5 GB each) are not hosted here; these say where to get them (step 2 below)
loop/dsv41-loop-r5a300.gguf, loop/README.md optional looped adapter (142 MB): jasontitus's Looped-DeepSeek-V4.1-Flash R5-A@300 converted for ds41_generate --loop-adapter (see Looped adapter below)
SHA256SUMS hashes of every part and of the joined files

Quick start (4 steps)

You need: Linux, an NVIDIA GPU with 24 GB, ~90 GB RAM (the RAM arena is 60 GiB by default; --arena-gib lowers
it, at some speed cost), the CUDA 13 toolkit, and fast SSD space for the model (163 GB) + the Engram tables
(203 GB) = ~366 GB
, plus another ~203 GB temporarily while the Engram tables are extracted (or download the
Engram shards to a different drive).

1. Download this repo and join the model (~163 GB):

hf download IndrasMirror/DeepSeek-V4.1-Flash-1017-XQ-Uncensored --include "v4/*" "tokenizer/*" "*.txt" \
   "V41-MTP-Vision-1017*" --local-dir V41-XQ-1017
bash V41-XQ-1017/v4/reassemble.sh V41-XQ-1017/v4              # needs ~163 GB free on top of the parts
# or: bash V41-XQ-1017/v4/reassemble.sh V41-XQ-1017/v4 --delete-parts

2. Download the two Engram shards - they are NOT in this repo yet (the …NEED-TO-DOWNLOAD-ENGRAM.txt files mark
them; 101.5 GB each). V4.1 reads its Engram n-gram memory from disk at run time. The tables are unchanged FP8 rows
from the original checkpoint, so there is no point hosting a third copy:

hf download deepseek-ai/DeepSeek-V4.1-Flash-1017 model-00047-of-00048.safetensors \
   model-00048-of-00048.safetensors model.safetensors.index.json config.json --local-dir FP8-engram

3. Build the engine and extract the Engram tables (one table per fast drive is ideal: decode reads ~48 random
256-byte rows per token):

git clone https://github.com/Indras-Mirror/Xolotl.git xolotl && cd xolotl
bash tools/xolotl/fetch-llama.sh   # llama.cpp at the pinned commit + Xolotl's ggml patch -> third_party/llama.cpp
cmake -S . -B build-xolotl -G Ninja -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_CUDA=ON -DSTRATA_GGML_CUDA=ON \
      -DSTRATA_MMQ_KQUANTS=ON -DCMAKE_CUDA_ARCHITECTURES=89 -DSTRATA_GGML_DIR=$PWD/third_party/llama.cpp \
      -DSTRATA_DSV41_FQ_OP=ON -DSTRATA_DSV41_HC_MIX=ON
ninja -C build-xolotl ds41_generate
python3 tools/v41/extract_engram.py ../FP8-engram --to layers.1=/fast/a --to layers.14=/fast/b
# when it has finished (it checks sizes and spot-checks 2000 rows per tensor), ../FP8-engram can be deleted

4. Run (the first load takes ~50 s: it pins the 60 GiB RAM arena):

STRATA_NO_LARGEPAGES=1 build-xolotl/ds41_generate -m ../V41-XQ-1017/v4/V41-XQ-1017-v4.gguf --ids-file prompt.i32 -n 128 \
     --backend cuda --experts gpu --engram "/fast/a:/fast/b" --rank ../V41-XQ-1017/v4/rank-1017-v4.bin

--ids-file takes int32 token ids. For chat and agents, run the OpenAI- and Anthropic-compatible server with tool
calls in tools/v41/serve/ (see "Serving it" in the
GitHub README); it uses
V41-XQ-1017/tokenizer/.

Looped adapter (optional, in loop/)

loop/dsv41-loop-r5a300.gguf (142 MB) is Jason Titus's Looped-DeepSeek-V4.1-Flash
(R5-A, step 300) converted for Xolotl. Layers 24-35 run twice, each pass with its own tiny LoRA and its own attention
rings; the base weights are untouched and without the flag nothing changes. Add to the engine args:

--loop-adapter loop/dsv41-loop-r5a300.gguf --loop-passes 2

On this V4 file, served on a 4090 + 3060, LiveCodeBench v6's 13 hardest problems (greedy, 32K cap), first 9 run:

solved (first 9) mean tokens decode at long thinking
stock 4/9 25,709 ~40 tok/s (DSpark)
looped, 2 passes 6/9 21,430 ~19.5 tok/s (DSpark off)

It solved two the stock model missed, lost none, and on the problems both solve it thought far less (25K -> 10-18K
tokens). The cost is time per problem, about double, because the loop turns DSpark off. A zeroed adapter reproduces
the stock model bit for bit (our port's gate). Full set and the fast-mode pairing are still running; numbers and
method: docs/LOOPED_ADAPTERS.md.

Older builds (V2, V3)

V2 and V3: notes, quality, speed and how they were made

Builds in this repo (20 Oct)

V2 (v2/, 152 GB / 142 GiB): the first 1017 build. Calibrated on a chat-weighted mix with a gentler tier map, and made smaller than our September V4.1 V1 so it decodes faster. Head gate 6.93 ppl / 0.670 top-1 vs the edited teacher's 6.57 / 0.687 (+5.5% ppl, -1.7 pt). Short Gauntlet 2/5, with 03 at 0.00 and 07 at 0.91 (unsolved), so a step behind our September build on the two hardest tasks. Gauntlet decode 26.4 tok/s.

V3 (v3/, 163 GB / 152 GiB): same checkpoint and edit, recalibrated on a code + agentic heavy mix (about 40% code, 30% agentic/tool use) with our V1 tier recipe, so it's a bit bigger. Head gate 6.72 ppl / 0.691 top-1 vs the teacher's 6.36 / 0.706 (+5.7% ppl, -1.5 pt, measured on its own held-out mix so not directly comparable to V2's). Gauntlet 03 still 0.00, 07 up to 0.95 but still unsolved. Gauntlet decode 22.3 tok/s (bigger file, fewer experts fit in VRAM), DSpark around 3.1 tokens/pass, prefill about 249 tok/s on a fresh 16.8K prompt. Honestly it's only a small step over V2, the hard agentic tasks didn't really move.

All speeds here are on Linux with an RTX 4090. On Windows DSpark can end up slower than running without it, see Xolotl #14.

V2's formats and allocation

This repository holds a calibrated mixed-tier quantization of
deepseek-ai/DeepSeek-V4.1-Flash-1017, carrying our own
rank-2 refusal-direction edit (see The edit below). Every expert's gate/up and down projections get their own
format
:

Format Grid Bits per weight Share of expert weights
PTQ1_0 (ternary) {−1, 0, +1} × fp16 scale per 128 1.75 62.4%
Q2_0 {−1, 0, +1, +2} × fp16 scale per 64 2.25 24.7%
Q3_K 3-bit, 6-bit sub-scales per 16, fp16 per 256 3.44 13.0%
All experts 2.093

The dense half (attention, shared expert, output head) is Q8_0. The embedding, compressor and indexer stay F16,
and norms, router and mHC stay F32.

The expert budget is 132.4 GiB. On the calibration proxy, this allocation has 20.9% less output error than
uniform Q2_0
(1.7663 vs 2.2318) while being about 10 GiB smaller (uniform Q2_0 would be ~142 GiB).

Unlike the V4.1 release, the allocation here is deliberately gentler in layers 20–31 and 33–35: in that band at
most 85% of the expert projections (gate/up and down counted separately) may be ternary, instead of no cap, so it is no
longer nearly all-ternary. Every other layer stays capped at 50% of projections (~55-57% of expert weights where the cap
binds, since gate/up holds twice the weights of down). The V4.1
measurements showed that band carried roughly half of the chat-text quality loss, and the rebalanced calibration mix
weights chat traffic accordingly. The cost: 4.8% worse proxy error than the uncapped pick (1.7663 vs 1.6846) and 2 GiB more (132.4 vs 130.4 GiB).
The proxy doesn't see chat behaviour, and that is what the cap is meant to protect.

Naming. This was first released under a "GSQ" name. That overstated it: the build uses GSQ-family format grids
and an allocation idea from RCO, but the codes themselves come from GPTQ, not
from GSQ's Gumbel-softmax optimisation. So it is renamed XQ (Xolotl Quant),
our own method: this build is XQ's first stage (GPTQ + our budget-exact "RCO-lite" tier allocation). XQ's
later stages (used from V4 on) are private.

V2 quality

Perplexity on the 49,146 held-out calibration tokens (never used for fitting). The quantized head gate and the
edited full-precision teacher are both measured; the behavioural probes and a short Gauntlet are measured below.

Domain XQ (quantized) Edited teacher (full precision)
All (head gate) 6.934 ppl / 0.670 top-1 6.572 ppl / 0.687 top-1
chat 5.489 ppl / 0.661 top-1 5.170 ppl / 0.681 top-1
code 2.161 ppl / 0.828 top-1 1.980 ppl / 0.851 top-1
agent 3.148 ppl / 0.830 top-1 3.328 ppl / 0.828 top-1

Absolute perplexity here is not comparable to the V4.1 card: this calibration mix is rebalanced, so the held-out text
is different. Compare quantized vs edited teacher on the same mix.

Behavioural probes (opening-phrase refusal classifier, first 48 words, deliberately conservative): chat mode
0/100 harmful refused, 0/100 safe refused; think mode 0/50 harmful, 0/50 safe, with 0 refusals in the reasoning
text; 0 unjudged. The safe set is the Alpaca fallback (XSTest is gated on the Hub).

Short Gauntlet (tasks 01, 03, 06, 07, 10; 2026-10-19): a 4-turn run scored 2/5 (SCORE 2.77, 26.4 tok/s decode).
A fair 6-turn rerun of the two borderline tasks gives 01 PASS@4 and 07 progress 0.91 (unsolved). Against the
V4.1 v2 build on the same tasks (4/5: 01@4, 06@3, 07@4, 10@3; 03 0.50), this build matches on 01, 06 and 10 and is
worse on 07 and 03. That is a real regression on this subset. Its cause is not isolated yet: the candidates are the
chat-weighted calibration mix (the V4.1 builds were calibrated agentic-first), the gentler tier map, the edit, or the
1017 checkpoint itself. V3 goes after the first two.

First-token KL against the unedited base is not measured: no unedited 1017 quant exists; it can be done later with
the layer-streaming teacher.

Speed (V2, Linux · RTX 4090 24 GB · Ryzen 7 5700X · 90 GB DDR4 · NVMe)

Measured on this PC (Linux), for V2 (V3's numbers are in the notes at the top), one 8K prompt + 256-token decode, 2026-10-18, plus a short served smoke test.

Prefill, 8K-token prompt 239.8 tok/s (exact routing) · 255.2 tok/s with the F16 attention gather (bit-identical output)
Decode, one-shot, exact routing 12–13 tok/s
Served 1-turn decode with the 1017 DSpark (Q2_K) 23.1–26.3 tok/s · 24.6–29.9 tok/s on short smoke outputs
DSpark acceptance (V3 serve log, 19 requests, mostly code/agent) median 2.99 tokens/pass, 3.08 overall (1.6-7.7)
Same serve test on our V4.1 v2 build, for comparison 21.4 tok/s (single runs each; DSpark acceptance depends on the text, so treat the gap as indicative)
Served prefill, one ~6.5K-token turn 193.7–198.9 tok/s
Model load to /v1/models ~92 s (includes pinning the 60 GiB RAM arena)

How V2 and V3 were made

The whole pipeline is open source in
Xolotl/tools/v41. It runs on a single
RTX 4090.

0. Weight-only metrics can't rank these experts. V4.1's routed experts were trained in FP4, so all 384 experts of a
layer share the same per-32 weight distribution. Which experts deserve more bits can only come from activations:
what the experts actually compute on real text.

1. Calibration corpus (rebalanced for chat). Real coding-agent session transcripts (secrets scrubbed value by
value, tool results clipped) plus antirez/ds4's 4,690 imatrix prompts, all re-rendered with DeepSeek's own V4.1 chat
encoder (DSML tool-call format), and rebalanced toward chat traffic for this pass. That is 128 sequences × 2,048
tokens, with about a quarter of each domain held out: 98 sequences fit the quantizer, and 30 only ever measure it.

2. A layer-streaming teacher forward. DeepSeek's own reference model.py runs one layer at a time straight
from the HF shards, keeping the hidden state on disk between layers. That makes the teacher the real model, not an
approximation. Each layer's MoE runs expert-major: every FP4 expert is dequantized once and sees all of its routed
tokens.

3. Per-expert GPTQ at three exact grids. For every expert, gate+up are fitted on the Hessian of its input, and down
on the Hessian of its clamped-SwiGLU × routing-weight input. Scales are chosen before GPTQ by a diag(H)-weighted
search (11 clip ratios × both signs) and rounded to what each format stores, so every result is exactly representable
in its GGUF type. GPTQ (damp 1.0) then picks the integers. It beat round-to-nearest in every group (error ratios
0.58 ternary / 0.70 Q2 / 0.74 Q3). Each expert's error is measured on the held-out sequences only, as output error
with the routing weight included.

4. Budget-exact allocation ("RCO-lite"). The cost of a choice is held-out output error divided by the layer's
routed output energy, so every layer counts equally; the first two and last three layers count double. Gate+up and
down are allocated separately. The budget is 132.4 GiB, solved by Lagrangian relaxation (bisection on λ) plus a greedy
pass to spend the remainder. Guard rails: at most 50% of each layer's expert projections may be ternary outside the gentler band, at most 85%
inside layers 20–31 and 33–35, and experts with fewer than 8 held-out tokens are floored at Q2_0, so an expert can't drift to
ternary without evidence.

5. Sequential quantize pass. A second layer-by-layer chain quantizes every expert at its chosen format. Each layer
is fitted on the outputs of the already-quantized layers below it, so later layers adapt to the errors earlier
ones actually make.

6. Bit-exact export. Block encoders write the GGUF bytes directly and are checked bit for bit against ggml's
dequantizers and the PTQ1_0 reference. Ternary packs 5 trits per byte (28 bytes per 128 weights), and Strata runs it
natively on the CPU and in its grouped-expert CUDA kernels.

Credits

  • DeepSeek for DeepSeek-V4.1-Flash-1017 (MIT).
  • ISTA-DASLab for their GSQ-RCO GGUFs of the unedited 1017, which Xolotl also runs.
  • mrfakename for the rank-2 refusal-direction edit style this release uses.
  • GSQ (Dadgarnia, Tabesh, Nikdan, Helcig, Kurtić, Kleinegger, Alistarh) and
    RCO (Helcig, Alistarh), IST Austria DAS Lab, for the quantization grids
    and the budget-exact allocation idea this pipeline follows.
  • antirez/ds4 for its 4,690 imatrix calibration prompts (re-rendered for V4.1).
  • llama-tq for the PTQ1_0 ternary block format (type 143) and its reference kernels (MIT).
  • Strata (Niko1221), the tiered MoE engine this work builds on;
    ggml / llama.cpp for the compute backend.
  • Jason Titus (jasontitus / sliderforthewin) for the Looped-DeepSeek-V4.1-Flash adapter and
    dsv41-loop-eval; Apple for LoopCD-Hidden (arXiv:2610.02185).
  • Quantization pipeline, engine port and measurements: Indra's Mirror (Xolotl).

Support

If this has been useful to you and you want to help support what I do, you can shout me a coffee on Ko-fi. Every bit helps keep this going :)

Licence

The upstream DeepSeek weights are MIT (text). Indra's Mirror's modifications are released
under the Indras Mirror XQ License v1.2 (free below AU$1,000,000 aggregate annual revenue).
Attribution is in NOTICE.

README historyEdit history 20 versions20 edits

The author's README evolved over time. Click a version to see its content at that point.The author changed the description over time. Click a date to see the text as it was then.

  1. 2026-12-03 card: looped adapter section (loop/), first LiveCodeBench hard-set numbers 33fe22f 29.8 KB
    Loading...
  2. 2026-11-22 Licence v1.2: remove the prohibited-use list (no enforcement role); add no-au... a607d33 28.1 KB
    Loading...
  3. 2026-11-22 Licence v1.1: lawful-use restrictions, user warranties, indemnity, ACL carve-... 9f5d2a0 28.1 KB
    Loading...
  4. 2026-11-22 README: use absolute /blob/ URLs for LICENSE and NOTICE (Hugging Face renders... e249ff0 28.1 KB
    Loading...
  5. 2026-11-22 Licence: include the upstream MIT text, add NOTICE with attribution, and stat... 2c8be12 28 KB
    Loading...
  6. 2026-11-07 Card: optional fast mode (v4-fast/, Q2_K expert copy, +27 % decode) ed44ace 27.7 KB
    Loading...
  7. 2026-11-07 Card: optional fast mode (v4-fast/, Q2_K expert copy, +27 % decode) bbcc8f6 27.7 KB
    Loading...
  8. 2026-11-02 speed note: coding speed depends on the kind of coding c6cff45 25.3 KB
    Loading...
  9. 2026-11-02 speed note: coding speed depends on the kind of coding 7015e81 25.3 KB
    Loading...
  10. 2026-10-31 README: XQ details private ab563c6 24.4 KB
    Loading...
  11. 2026-10-31 README: XQ details private e4ea485 24.4 KB
    Loading...
  12. 2026-10-31 README: XQ details private 5b8361e 24.6 KB
    Loading...
  13. 2026-10-31 README: XQ details private 5608128 24.6 KB
    Loading...
  14. 2026-10-25 Full HumanEval: 162/164 19b895b 25 KB
    Loading...
  15. 2026-10-25 Full HumanEval: 162/164 67521e5 25 KB
    Loading...
  16. 2026-10-25 Speed: numbers with the conversation-seeded VRAM cache (Q8 decode 21.7-21.8 /... 652f034 24.8 KB
    Loading...
  17. 2026-10-25 Speed: numbers with the conversation-seeded VRAM cache (Q8 decode 21.7-21.8 /... fb95342 24.8 KB
    Loading...
  18. 2026-10-25 Speed: 25 Oct late numbers + taskeval (21/21 HumanEval, 10/10 tools, 3/3 agen... 9c18a32 24.9 KB
    Loading...
  19. 2026-10-25 Speed: 25 Oct late numbers + taskeval (21/21 HumanEval, 10/10 tools, 3/3 agen... 611ee80 24.9 KB
    Loading...
  20. 2026-10-25 Speed: V4 caught up (25 Oct evening, Q8 + Q6 numbers) 980398d 24 KB
    Loading...

Discussions 3 threads

  1. 2026-11-04 Can we get an regular version? open 1 comments #3
    Loading...
  2. 2026-10-24 thanks for the XQ builds and Xolotl closed 3 comments #2
    Loading...
  3. 2026-10-22 Thanks! Excited for v4. Question: open 3 comments #1
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration