Files

291 lines
38 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DeepSeek uncensored/abliterated models as a replacement for Qwen3.8-Flash-Next (as of 2026-12-03)
Target hardware: RTX 4090 24 GB, i7-14700, 128 GB DDR5, fast NVMe, Windows 10. Current model: orcarouter/Qwen3.8-Flash-Next-Uncensored-GGUF Q5_K_M (~120 GB) in Strata v0.2.24. Also available: llama.cpp b12774 (CUDA 12.4) with -ot / --n-cpu-moe.
Research note: most sources below are Hugging Face model cards, GitHub pages, and third-party blogs/aggregators, read via fetch summaries. Uploaders' refusal and quality numbers are their own and were not independently reproduced. Anything dated before Oct 2026 is marked **(older)**.
## 1. Latest DeepSeek open-weight releases (as of Dec 2026): sizes, active params, context
### Takeaway
The newest DeepSeek open weights are **DeepSeek-V4.1-Flash** (around Sep 10, 2026) and its revision **V4.1-Flash-1017** (Oct 17, 2026). Each is a 763B checkpoint: a ~552B MoE backbone plus a ~196B "Engram" n-gram lookup table, with 1M context and roughly 8–16B active parameters. No R2, no "Lite", and no V4.1-Pro open weights were found. The smaller V4-Flash family (284–304B, 13B active) is older (Jun–Aug 2026). V4-Pro (1.6–1.7T) is far too large for this machine.
### Cited Findings
- The deepseek-ai Hugging Face org lists: DeepSeek-V4.1-Flash-1017 (763B, updated "23 days ago", so about Nov 10), DeepSeek-V4.1-Flash (763B, Oct 16), DeepSeek-V4-Flash-Vision-Exp (305B, Sep 1), DeepSeek-V4-Pro-0813 (1.7T, Aug 13), DeepSeek-V4-Flash-0731 (304B, Aug 1), V4-Flash-DSpark and V4-Pro-DSpark (Jul 4), and in collections DeepSeek-V4-Flash (291B, Jun 22), V4-Pro (1.6T, Jun 22), V4-Flash-Base (292B, Apr 27) and V4-Pro-Base (1.6T, Apr 27). **No R2 or Lite model appears.** — [HF deepseek-ai](https://huggingface.co/deepseek-ai)
- V4.1-Flash release is dated **September 10, 2026**, with the **V4.1-Flash-1017** revision on **October 17, 2026**. Backbone 552B, plus a separate 196B Engram conditional memory read sparsely by token lookup. Active parameters are **8B during prefill and 16B during decoding**, context **1M**, FP8 precision. — [Morph](https://www.morphllm.com/deepseek-v4-1-flash); [DeepInfra](https://deepinfra.com/blog/deepseek-v4-1-flash-model-overview-integration); [SiliconFlow](https://www.siliconflow.com/models/deepseek-v4-1-flash); [Learn AI wiki](https://ai.miraheze.org/wiki/DeepSeek_V4.1_Flash). Artificial Analysis lists 552B total and 16B active, leaving out Engram — [Artificial Analysis](https://artificialanalysis.ai/models/deepseek-v4-1-flash)
- ISTA-DASLab's numbers, as relayed by OpenClaw: **763.2B total, 384 routed experts per layer, 6 active per token, backbone 551.9B, Engram 196.6B**. The base model was released 2026-10-17. — [OpenClaw DC](https://openclawdc.com/blog/deepseek-v4-1-flash-gsq-rco-quants/)
- orcarouter's model card gives the architecture: 763B MoE (748.5B weights in the GGUF files), 384 routed experts (top-6) + 1 shared, a 197B Engram n-gram memory at layers 1 and 14, 40 layers, hidden size 5120, compressed sparse attention, context 1,048,576, vocab 129,280. — [orcarouter V4.1-Flash-1017 abliterated GGUF](https://huggingface.co/orcarouter/DeepSeek-V4.1-Flash-1017-abliterated-GGUF)
- Unsloth gives backbone 552B, Engram 196B, maximum context 1,048,576. Thinking is on by default (`reasoning_effort` 75; low=50, medium=62, high=75, max=100; `{"enable_thinking":false}` turns it off). Recommended sampling is temp 1.0, top-p 1.0, top-k 0, min-p 0. — [Unsloth guide](https://unsloth.ai/docs/models/deepseek-v4.1-flash)
- **(older)** V4-Flash: 284B total, 13B activated. — [Learn AI wiki](https://ai.miraheze.org/wiki/DeepSeek_V4.1_Flash); [DeepSeek-V4 paper (arXiv)](https://arxiv.org/pdf/2606.19348). The huihui-ai card also gives 284B for V4-Flash-0731 (GGUF arch `deepseek4`) — [huihui V4-Flash-0731 GGUF](https://huggingface.co/huihui-ai/Huihui-DeepSeek-V4-Flash-0731-abliterated-GGUF)
- DeepSeek's official benchmarks, 1017 vs the original V4.1-Flash: HLE (no tools) 42.6 vs 36.8; Terminal-Bench 4.0 42.3 vs 31.2; DeepSWE v1.1 77.0 vs 74.2; ProgramBench 29.1 vs 20.3; NL2Repo 68.2 vs 65.4; Automation-Bench 60.5 vs 54.8; Apex Bench 72.1 vs 64.6. — [Unsloth guide](https://unsloth.ai/docs/models/deepseek-v4.1-flash)
- V4.1-Flash-1017 is multimodal (text + image input). — [Artificial Analysis comparison](https://artificialanalysis.ai/models/comparisons/deepseek-v4-1-flash-1017-vs-qwen3-8-flash-next)
- For reference, the current model Qwen3.8-Flash-Next (released Aug 26, 2026) is a 125B main model + 51B n-gram embedding (about 176–180B total including MTP), with **6B active**, 262K native context (1M with YaRN), under the qwen-community-1.0 license. — [Qwen HF](https://huggingface.co/Qwen/Qwen3.8-Flash-Next); [FoneArena](https://www.fonearena.com/blog/490674/qwen3-8-flash-features.html/amp)
### Inferences
- The only DeepSeek candidates that matter are **V4.1-Flash-1017** (newest and strongest, but huge) and **V4-Flash-0731** (older, about 2.5x smaller, much easier to fit). V4-Pro is out of reach.
- V4.1-Flash uses about 16B active parameters while decoding against Qwen3.8-Flash-Next's 6B, so per-token memory traffic is roughly 2–3x higher at the same bit width. Expect noticeably slower decoding on the same hardware.
### Gaps
- No official DeepSeek model card was fetched directly. Dates and parameter splits come from HF listings plus third-party write-ups, which disagree slightly (552B vs 551.9B backbone; 196B vs 197B Engram; "8–16B active" vs "6 of 384 experts").
- No evidence found of a V4.1-Pro open release, an R2, or a Lite model. The absence on the HF page is the only evidence.
## 2. Uncensored / abliterated / Heretic versions on Hugging Face
### Takeaway
Many refusal-removed builds exist for both V4-Flash and V4.1-Flash-1017, but only a few are **GGUFs small enough for 24 GB + 128 GB**:
- (a) **Abiray/DeepSeek-V4.1-Flash-1017-Uncensored-GSQ-RCO-IQ2_XXS-GGUF**: 138.6 GB backbone + 110.6 GB Engram kept on SSD. Highest fidelity to the stock 2-bit quant.
- (b) **huihui-ai/Huihui-DeepSeek-V4.1-Flash-1017-abliterated-GGUF**: patches for Unsloth UD-IQ1_S/IQ1_M/IQ2_XXS and the Strata GSQ-RCO quant. Weak abliteration with no evidence.
- (c) **orcarouter/DeepSeek-V4.1-Flash-1017-abliterated-GGUF Mix-128G**: fits, but its card calls it heavily degraded. The good Mix-256G needs about 256 GB.
- (d) **Older, V4-Flash-0731**: huihui-ai Q2_K (97.6 GB) and audreyt/CyberNeurova Q2_K (~81 GB). These fit fully in RAM+VRAM.
The best-documented abliteration is orcarouter's (refusals 0.874 → 0.074, MMLU unchanged), but its fitting quant is poor.
### Cited Findings
**V4.1-Flash-1017 / V4.1-Flash, GGUF:**
- **orcarouter/DeepSeek-V4.1-Flash-1017-abliterated-GGUF** (same publisher as the user's current Qwen model):
- Method: refusal direction orthogonalized out of every residual-writing matrix.
- Quantization: per-layer mixed precision chosen by a KLD-measured knapsack search, with a 614k-token imatrix.
- Refusal on 500 harmful prompts: **0.874 base → 0.074** (JBB 0.95→0.03, AdvBench 0.99→0.15, SimpleSafetyTests 1.0→0.12).
- Over-refusal on 350 benign prompts: 0.069 → 0.006.
- MMLU (n=300): 0.910 → 0.920.
- These figures come from the unquantized checkpoint.
- Builds: **Mix-256G** (346.5 GB download, 235.8 GB in memory, 3.36 bpw, KLD 0.051, top-1 93.7%, PPL +2.4%) and **Mix-128G** (225.0 GB download, **114.0 GB in memory**, 1.59 bpw, **KLD 0.520, top-1 78.5%, PPL +54.7%**; the card calls it heavily degraded).
- Engram is a separate 110.6 GB IQ4_NL shard read from disk (48 rows/token).
- Runtime: llama.cpp **PR #30817** (tested at commit b72050d03; the card says "not in llama.cpp master yet") or Ollama ≥ v0.40.16. LM Studio is not compatible.
- 183,405 downloads/month, 525 likes. No explicit date; the collection was "updated 20 days ago".
- — [orcarouter HF](https://huggingface.co/orcarouter/DeepSeek-V4.1-Flash-1017-abliterated-GGUF)
- **Abiray/DeepSeek-V4.1-Flash-1017-Uncensored-GSQ-RCO-IQ2_XXS-GGUF**:
- A weight-baked abliteration of ISTA-DASLab's GSQ-RCO IQ2_XXS. It modifies 86 residual-writing tensors (80 dense + 6 expert) and credits AtomicChat's EN+RU refusal directions.
- Fidelity against the stock IQ2_XXS (llama-perplexity b12017): mean KLD 0.0095, top-1 agreement 98.4%, PPL 2.486 vs 2.354.
- **No refusal-rate numbers.**
- Files: backbone 138.58 GB (5 shards), Engram `DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf` 110.60 GB (shared with upstream, must be hard/symlinked as shard 6), mmproj 0.97 GB.
- Runtime: llama.cpp b11870+ (b12017+ referenced), or Strata 0.2.8 (engine 0.1.54) with `--family deepseek41 --model ist-das-2.00bpw`. The card warns Strata's hardcoded file-size check may reject it.
- Has an "Update (October 2026)" section. 350,618 downloads/month, 142 likes.
- — [Abiray HF](https://huggingface.co/Abiray/DeepSeek-V4.1-Flash-1017-Uncensored-GSQ-RCO-IQ2_XXS-GGUF)
- **huihui-ai/Huihui-DeepSeek-V4.1-Flash-1017-abliterated-GGUF**:
- Abliteration done in GGUF with llama.cpp's cvector tooling. Only the 18 `attn_output_b` tensors in layers 11–28 were ablated; experts untouched.
- Shipped mostly as **patches** against Unsloth UD-IQ1_S (233 GB) / UD-IQ1_M (250 GB) / UD-IQ2_XXS / UD-Q2_K_XL, against the Strata/ISTA GSQ-RCO quant (patch-Strata-GSQ-RCO-Coder), and against Maya.
- **No refusal or quality evidence.** Requires llama.cpp b11870+. Collection "updated Oct 27". 176,958 downloads/month.
- — [huihui V4.1 HF](https://huggingface.co/huihui-ai/Huihui-DeepSeek-V4.1-Flash-1017-abliterated-GGUF)
- **Adolphsson/DeepSeek-V4.1-Flash-UNCENSORED-GGUF**: requantized to GGUF from dealignai's FP8 uncensored checkpoint. The uncensoring itself is dealignai's (details not fetched). — [Adolphsson HF](https://huggingface.co/Adolphsson/DeepSeek-V4.1-Flash-UNCENSORED-GGUF) (search snippet only)
**V4.1-Flash-1017 / V4.1-Flash, safetensors only (not directly usable on this PC):**
- **distributedcognition/DeepSeek-V4.1-Flash-1017-abliterated**:
- Projected, norm-preserving biprojected abliteration of `attn.wo_b` + shared-expert `w2`, layers 4–36, scale 3.0. Directions transferred from their earlier V4.1-Flash build.
- Keyword refusals 99 → 46/100, but an LLM judge found 0 true refusals (53 compliant, 47 partial/hedged).
- KL 0.093. GSM8K spot check 19/20 → 18/20.
- FP8/FP4 safetensors for 8-GPU torchrun or SGLang.
- — [distributedcognition HF](https://huggingface.co/distributedcognition/DeepSeek-V4.1-Flash-1017-abliterated)
- **s-zaizen/DeepSeek-V4.1-Flash-Abliterated**: built with Heretic tooling, 24/100 refusals on Heretic's keyword metric. No GGUF mentioned. — [s-zaizen HF](https://huggingface.co/s-zaizen/DeepSeek-V4.1-Flash-Abliterated) (search snippet only)
**V4-Flash (older, Jun–Aug 2026):**
- **huihui-ai/Huihui-DeepSeek-V4-Flash-0731-abliterated-GGUF**:
- "Crude proof-of-concept" abliteration without TransformerLens; experts untouched.
- **Q2_K 97.6 GB**, MXFP4 156 GB. The Q4 got stronger ablation than the Q2.
- Runs in llama.cpp ("use latest") or antirez's ds4 fork. No refusal or quality data. Collection updated Oct 27.
- — [huihui V4-Flash-0731 HF](https://huggingface.co/huihui-ai/Huihui-DeepSeek-V4-Flash-0731-abliterated-GGUF)
- **huihui-ai/Huihui-DeepSeek-V4-Flash-abliterated-GGUF** (base V4-Flash, UD-IQ1_M from Unsloth) and **huihui-ai/Huihui-DeepSeek-V4-Flash-abliterated-ds4-GGUF**. — [huihui V4-Flash HF](https://huggingface.co/huihui-ai/Huihui-DeepSeek-V4-Flash-abliterated-GGUF) (search snippet only)
- **audreyt/CyberNeurova-DeepSeek-V4-Flash-abliterated-GGUF**: Q2_K of about 81 GB. — [audreyt HF](https://huggingface.co/audreyt/CyberNeurova-DeepSeek-V4-Flash-abliterated-GGUF) (search snippet only)
- **prem-research/DeepSeek-V4-Flash-0731-abliterated**:
- ARA (Arbitrary-Rank Ablation, LBFGS) on layers 17–36: attention o_b_proj, shared-expert down_proj, and the down_proj of the top-8 most-routed experts.
- Refusals **69% → 3%** on 800 held-out prompts. KL **0.044**. No capability benchmarks.
- FP8/FP4 safetensors for vLLM/SGLang TP2. 383,612 downloads/month.
- — [prem-research HF](https://huggingface.co/prem-research/DeepSeek-V4-Flash-0731-abliterated)
- **cebeuq/DeepSeek-V4-Flash-0731-abliterated**: edits only the attention output projections; claims coding, tool-calling and long-context retrieval are intact. About 167 GB, for vLLM on 2x DGX Spark. — [cebeuq HF](https://huggingface.co/cebeuq/DeepSeek-V4-Flash-0731-abliterated) (search snippet only)
- Also: lovesenko/DeepSeek-V4-Flash-DSpark-Abliterated, drowzeys/DeepSeek-V4-Flash-DSpark-Abliterated-Uncensored, apetersson/DeepSeek-V4-Flash-Vision-Exp-Abliterated. — [lovesenko](https://huggingface.co/lovesenko/DeepSeek-V4-Flash-DSpark-Abliterated); [drowzeys](https://huggingface.co/drowzeys/DeepSeek-V4-Flash-DSpark-Abliterated-Uncensored); [apetersson](https://huggingface.co/apetersson/DeepSeek-V4-Flash-Vision-Exp-Abliterated) (search snippets only)
**Behavioural test of uncensored V4.1 builds (hosted):**
- Obscurify.ai tested six uncensored V4.1-Flash variants (0910, 1017, thinking/non-thinking) on 12 prompts (mature fiction, satire, one-sided essays, health questions, awareness-training scenarios), benchmarked Nov 6, 2026:
- **No build refused anything.** Full answers ranged from 9 to 12 of 12.
- "No answer" cases came from thinking builds exhausting 3,000 reasoning tokens.
- It does not name the HF repos behind the builds and has no China-topic test.
- — [Obscurify](https://obscurify.ai/deepseek-uncensored)
- A news write-up reports "31 builds" of uncensored V4.1-Flash on HF. — [Tech Insider](https://tech-insider.org/deepseek-v4-1-flash-uncensored-abliterated-huggingface-2026/) (title only, not fetched)
### Inferences
- **Best fit for this PC, best evidence:** the Abiray IQ2_XXS uncensored GGUF. It is nearly identical to the stock ISTA IQ2_XXS (KLD 0.0095 vs stock), and ISTA's IQ2_XXS is the quant ISTA rates as about 100% of base on AIME/GPQA/LCB. Its weak point is that it publishes no refusal-rate measurement, so refusal removal should be spot-checked.
- orcarouter has the most rigorous abliteration evidence, but its 128 GB build (KLD 0.52, PPL +55%) is much worse than the ISTA/Unsloth 1–2-bit mixes at similar size. Do not pick Mix-128G over Abiray or a huihui-patched Unsloth quant.
- huihui-ai's V4.1 patches ablate only 18 attention tensors. distributedcognition's similar narrow edit left many hedged "partial" answers, so expect residual hedging.
- V4-Flash-0731 Q2_K abliterated builds (81–98 GB) are the "comfortable fit" option, but they are an older and weaker model family.
### Gaps
- Not fetched: Adolphsson/dealignai's method, s-zaizen's Heretic details, and the "pqhaz/DeepSeek-V4.1-Flash-1017-heretic" (510 GB, 38 attention tensors, Heretic-style) repo, which appeared only in a search summary with no URL.
- No independent refusal benchmark compares these GGUFs at low bit width. All refusal numbers are self-reported and mostly measured on unquantized checkpoints.
- Exact upload dates are missing on most cards. Only "Oct 2026" update notes and collection dates (Oct 27; about mid-Nov) are visible.
## 3. llama.cpp support, quants that fit 128 GB RAM + 24 GB VRAM, and speeds
### Takeaway
DeepSeek V4.1-Flash (`deepseek41`) support was merged into llama.cpp master on **Oct 25, 2026 (PR #31086, about build b11870)**. Engram-table loading (`--ple`) needs **b12233+ (PR #31185)**, so the user's **b12774 should qualify**. That is an inference: the build was not tested. With the Engram table memory-mapped from NVMe, the **non-Engram part** of Unsloth **UD-IQ1_S (122.4 GB)** fits in 24 GB VRAM + 128 GB RAM. **UD-IQ1_M (139.8 GB)** and ISTA/Abiray **IQ2_XXS (~138 GB backbone)** fit only tightly. Nothing larger fits without streaming experts from SSD. Expect roughly **5–10 tok/s decode in llama.cpp** (inferred; no 4090 + 128 GB report found). Strata's engine and forks report 9–31 tok/s on 12 GB GPUs using expert-streaming and expert-skipping tricks.
### Cited Findings
**Support status:**
- PR #31086 ("model: DSV4.1 flash") was merged to master by am17an on **Oct 25, 2026** (commit 74bca39). It adds the `deepseek41` arch, Engram support (in-graph row gathering), a DSpark drafter and mtmd vision. Reviewer pwilkin "had to add a small patch to adapt the GSQ GGUFs". — [llama.cpp PR #31086](https://github.com/ggml-org/llama.cpp/pull/31086)
- Build b11870 landed Oct 25, 2026 with the `deepseek41` arch. — [HighVRAM Hardware Watch](https://highvramhardwarewatch.com/deepseek-v4-1-flash-llama-cpp-249gb/)
- The earlier PR #28696 only added conversion, and noted that llama.cpp then had no Engram support. — [llama.cpp PR #28696](https://github.com/ggml-org/llama.cpp/pull/28696) (search snippet)
- **Conflict:**
- Unsloth's guide says to build from **PR #30817**. It says `--ple` needs **b12233+ (PR #31185)**, and that **MXFP8 Engram tables (UD-Q3_K_XL/Q4_K_XL/Q8_K_XL) are misread silently by newer builds** and need the #30817 build. — [Unsloth guide](https://unsloth.ai/docs/models/deepseek-v4.1-flash)
- orcarouter's card says its GGUFs need PR #30817 and are "not in llama.cpp master yet". — [orcarouter](https://huggingface.co/orcarouter/DeepSeek-V4.1-Flash-1017-abliterated-GGUF)
- ISTA's card (as relayed on Oct 25) said its GSQ-RCO GGUFs "do not run in llama.cpp yet" because of metadata and Engram-layout mismatches. — [OpenClaw DC](https://openclawdc.com/blog/deepseek-v4-1-flash-gsq-rco-quants/)
- Abiray's card, by contrast, says its GSQ-RCO-based build runs in llama.cpp b11870+/b12017+. — [Abiray](https://huggingface.co/Abiray/DeepSeek-V4.1-Flash-1017-Uncensored-GSQ-RCO-IQ2_XXS-GGUF)
- An ik_llama.cpp feature request for V4.1-Flash exists (#2438). Status not checked. — [ik_llama.cpp #2438](https://github.com/ikawrakow/ik_llama.cpp/issues/2438)
**Quant sizes (Unsloth DeepSeek-V4.1-Flash-1017-GGUF):**
| Quant | Total disk | Engram on SSD | Rest (RAM+VRAM) | Unsloth's RAM+VRAM rec. |
|---|---|---|---|---|
| UD-IQ1_S | 233.0 GB | 110.6 GB (IQ4_NL) | 122.4 GB | 128–145 GB |
| UD-IQ1_M | 250.4 GB | 110.6 GB (IQ4_NL) | 139.8 GB | 128–145 GB |
| UD-IQ2_XXS | 300.5 GB | 135.2 GB (Q5_K) | 165.3 GB | 176–205 GB |
| UD-Q2_K_XL | 334.8 GB | 135.2 GB (Q5_K) | 199.6 GB | 176–205 GB |
| UD-IQ3_XXS | 394.7 GB | 161.3 GB | 233.5 GB | 256–290 GB |
| UD-Q4_K_XL | 500.7 GB | 202.8 GB (MXFP8) | 297.9 GB | 305 GB |
- Engram can stay on SSD via mmap; keep `--load-mode mmap --lazy-mode on`. The example uses `--override-tensor "per_layer_token_embd.weight=CPU"`. **The guide does not mention `--n-cpu-moe`.** — [Unsloth guide](https://unsloth.ai/docs/models/deepseek-v4.1-flash)
- Unsloth's 6-benchmark average: Q8_K_XL 87.68, Q2_K_XL 87.49, IQ2_XXS 86.63, **IQ1_M 85.55, IQ1_S 83.53**. Aider pass@1: IQ2_XXS 44.38, IQ1_M 42.13, IQ1_S 36.52. — [Unsloth guide](https://unsloth.ai/docs/models/deepseek-v4.1-flash)
- Unsloth's X post: "1-bit retain ~88.2% accuracy while shrinking size from 508GB to 250GB… Run on a 128GB+ RAM device". — [Unsloth on X](https://x.com/UnslothAI/status/2112212605930778830)
**ISTA-DASLab GSQ-RCO GGUFs (published 2026-10-23, MIT):**
- Sizes (GiB): IQ1_M backbone 112.43 + Engram 103.00 (= 215.43); IQ2_XXS 128.75 + 103.00 (= 231.74); IQ2_XS 144.57 + 103.00 (= 247.57).
- The page says that with a **24 GB NVIDIA GPU + 128 GB RAM, "IQ1_M and IQ2_XXS fit resident; IQ2_XS does not"**.
- Strata's measurements against the original: IQ1_M PPL +21% (KL 0.217, prose +53%), IQ2_XXS PPL +15.5% (KL 0.170), IQ2_XS +7.3% (KL 0.107). ISTA's own scores: IQ1_M 98.7% and IQ2_XXS 100% of base on AIME25/GPQA-D/LCBv6.
- — [OpenClaw DC](https://openclawdc.com/blog/deepseek-v4-1-flash-gsq-rco-quants/)
**Speeds (none on exactly RTX 4090 + 128 GB DDR5):**
- llama.cpp (PR #31086 review), pwilkin on **R9700 + RTX 5060 + 128 GB RAM**: ~31.3 tok/s prompt (8.3K tokens), **~6.6 tok/s decode**. Offload configuration not stated. — [llama.cpp PR #31086](https://github.com/ggml-org/llama.cpp/pull/31086)
- llama.cpp, orcarouter Mix-256G, CPU only (64 threads of a 192-core server): ~52 tok/s prompt, ~10 tok/s generation. — [orcarouter](https://huggingface.co/orcarouter/DeepSeek-V4.1-Flash-1017-abliterated-GGUF)
- DSX runtime on 2x RTX 3090 + 128 GB DDR4 + NVMe: 30–37 tok/s output, 334–508 tok/s prompt. — [HighVRAM](https://highvramhardwarewatch.com/deepseek-v4-1-flash-llama-cpp-249gb/)
- Strata engine (author's figures): RTX 3060 12 GB 9–11 tok/s, RTX 5070 12 GB 4–6 tok/s. Strata's "Faster" mode uses 5 of 6 experts on ≤16 GB cards. — [OpenClaw DC](https://openclawdc.com/blog/deepseek-v4-1-flash-gsq-rco-quants/)
- kuu-Strata-fork (Strata v0.2.12 base, Windows 11) on **RTX 5070 12 GB + 64 GB DDR5-5600 + PCIe 4 NVMe**, ISTA IQ2_XS with 5/6 experts + DSpark drafter + 128K ctx:
- About 31 tok/s short replies, 35.8 tok/s code, 209–792 tok/s prompt (vs upstream as installed: 6.7 / 4.6–4.9 tok/s).
- Quality cost: KL vs 6-expert full run 0.057 (precise) / 0.183 (fast). GPQA-D 89.4–89.9% vs 90.4% listed. HumanEval 94.5–95.7%.
- — [kuu-Strata-fork](https://github.com/midokino/kuu-Strata-fork)
- Strata 0.2.13 + dsv41 engine on an **RTX 5090 Laptop (24 GiB)**: about 19 tok/s steady-state decode at 256K context (0.1.55 engine 20.8 tok/s vs 0.1.59 17.4 tok/s). That user said IST-DAS 2.00 bpw needs about 240 GB RAM and recommended ≥255 GiB. — [Strata issue #6048](https://github.com/Niko1221/Strata/issues/6048)
- **(older model)** V4-Flash, CPU-only Xeon with 123 GiB RAM, UD-IQ3_XXS: 5.61 tok/s generation, 12.33 tok/s prompt. — [computingforgeeks](https://computingforgeeks.com/run-deepseek-v4-flash-locally/) (search snippet only; page returned 403)
- Some "VRAM calculator" sites claim a 4090 cannot run V4.1-Flash at any quant, or quote ~7 GB at Q4_K_M. These are unreliable and contradict the measured reports above. — [willitrunai](https://willitrunai.com/models/deepseek-v4.1-flash) (search snippet only)
### Inferences
- **Recommended llama.cpp path for this PC:** Unsloth **UD-IQ1_S** or **UD-IQ1_M** (IQ4_NL Engram, so `--ple` on b12233+ applies and the MXFP8 misread bug does not), plus the matching huihui-ai abliteration patch. Alternatively, the **Abiray IQ2_XXS** uncensored GGUF. In both cases:
- Keep Engram mmapped from NVMe; do not use `--mlock` or `--no-mmap`.
- Put attention, shared experts and dense layers on the 4090.
- Use `-ot` / `--n-cpu-moe` to keep the routed experts in RAM.
- Use a modest context (KV for compressed sparse attention is small per the V4.1 KV-compression paper, but not verified here).
- Budget check: 128 GB RAM minus Windows/desktop (~8–12 GB) leaves about 116 GB, plus about 22 GB usable VRAM = ~138 GB. **UD-IQ1_S (122 GB) fits with room for context. UD-IQ1_M (140 GB) and IQ2_XXS (~138 GB) are borderline** and would likely page some experts from NVMe through the OS page cache, lowering speed. The ISTA page's "fits resident" claim for IQ2_XXS conflicts with the RTX 5090 Laptop user's "~240 GB RAM" figure, which probably counts the Engram file as RAM.
- Speed estimate (inference): decode reads about 16B active params per token. At ~2 bits, mostly from dual-channel DDR5 (~80–90 GB/s), this gives a theoretical ceiling in the low teens of tok/s. Real llama.cpp results on similar setups (6.6 tok/s on 128 GB with R9700+5060; ~10 tok/s CPU-only server) suggest **~5–10 tok/s** for the 4090 + 128 GB DDR5. That is likely slower than the user's current 6B-active Qwen3.8 Q5_K_M.
- The Strata engine (0.2.13 or forks) is clearly faster than mainline llama.cpp on consumer GPUs for this model (19–31 tok/s reported). Part of the gain comes from expert-skipping and drafters that cost some quality.
### Gaps
- No r/LocalLLaMA (or other) speed report found for exactly RTX 4090 + 128 GB DDR5 with V4.1-Flash in llama.cpp. Searches of Reddit returned nothing relevant.
- Not verified that b12774 loads the Abiray/ISTA GSQ-RCO layout or orcarouter's #30817-layout GGUFs without patches. Sources conflict.
- Not verified whether `--n-cpu-moe` names the `deepseek41` expert tensors correctly; `-ot` regex patterns may be needed.
- V4-Flash (`deepseek4`) llama.cpp merge status was not checked directly. huihui says "use latest llama.cpp".
## 4. Why Strata dropped DeepSeek after 0.2.13, and running 0.2.13 side by side
### Takeaway
DeepSeek V4.1-Flash support was removed in Strata **0.2.14 (about Nov 11–15, 2026)** with **no stated reason**. The maintainer (Nov 19) said only that DeepSeek "will come back to Strata soon". Community guesses point to friction over a Project Maya-derived engine (maintenance burden and attribution) but are unconfirmed. Running a **frozen 0.2.13 + strata-dsv41 0.1.59** beside 0.2.24 is possible: users have done side-by-side copies and git worktrees. But the official downgrade path replaces the install, Windows steps are untested by the maintainer, and auto-update must be blocked. It is workable but fragile. A dedicated Windows fork (kuu-Strata-fork) or plain llama.cpp is cleaner.
### Cited Findings
- docs/DEEPSEEK41.md: "Strata no longer runs DeepSeek V4.1-Flash"; 0.2.13 was the last release that could set it up and start it. Users are told to pick a Qwen model. Existing downloads stay on disk, and Strata shows their folder and size for deletion. **No reason given.** — [Strata DEEPSEEK41.md](https://github.com/Niko1221/Strata/blob/main/docs/DEEPSEEK41.md)
- Release notes for 0.2.18–0.2.21 say the frozen DeepSeek **0.1.59** engines "stay on the 0.2.13 release" (Windows, Linux, Mac), and the update feed downloads them from there. 0.2.23 fixed a bug (#7042) where an Inkling preset was "refused as DeepSeek". The latest release is 0.2.24 (Dec 2), which adds Hy4-Flash and Inkling work. — [Strata releases](https://github.com/Niko1221/Strata/releases)
- Issue #6048 (Nov 15):
- After 0.2.14 (engine 0.1.60), DeepSeek models show "no longer supported", and rolling back only the engine to 0.1.59 does not fix it. The refusal comes from the Control layer (Control 0.1.63 exits before the engine starts).
- Workarounds:
- Full rollback to 0.2.13 Control + engine 0.1.59, deleting `active.json`/`state.json`.
- A "frozen 2.13 copy alongside the current version" (AutoItProjects).
- A git worktree of 0.2.13 (commit 712fec6b4) as control layer with strata-dsv41 0.1.59 (jie3000, Nov 21).
- Forks: strata-dsv41, PolyStrata, project-maya, basalt.
- Commit ac306af removed DeepSeek mentions.
- — [Strata issue #6048](https://github.com/Niko1221/Strata/issues/6048)
- Issue #6072 (Nov 16, "Why was deepseek removed without any warning?"):
- Closed "not planned" on Nov 19. The maintainer says DeepSeek "will come back to Strata soon" and that 0.2.13 is the last version that runs it.
- Downgrade steps (Windows: uninstall then install 0.2.13 without data removal). **Tested only on Linux.**
- To stay on it, avoid "Update Strata" and set `STRATA_UPDATE_CHECK=0`.
- Supported hardware on 0.2.13 includes RTX 30/40/50.
- Community theories: a dispute with the Project Maya fork over MoE support, code porting and attribution (prefaced "I guess"), or the maintenance overhead of keeping the Project Maya import current. Neither was confirmed.
- Project Maya reached Strata-like speeds with `--experts 5`, `--ssd-cache auto`, `--ssd-policy lfu` (3070 8 GB: ~3+ tok/s; 3060 12 GB: ~2.3 → ~8 tok/s).
- — [Strata issue #6072](https://github.com/Niko1221/Strata/issues/6072)
- One write-up dates the removal commit to November 11, 2026. A downstream fork PR is titled "upstream Strata removed the DeepSeek engine". LocalAI removed its Strata DeepSeek entries when updating to Strata v0.2.15. — [marchah/Proxmox PR #144](https://github.com/marchah/Proxmox/pull/144); [LocalAI PR #13265](https://github.com/mudler/LocalAI/pull/13265) (search snippets)
- Issue #5894 reports a 10x prefill regression in the dsv41 chunked-prefill path between engine 0.1.49.2 and 0.1.59.1 (2220 → 225 tok/s at 131K, 2x PRO 6000). — [Strata issue #5894](https://github.com/Niko1221/Strata/issues/5894) (title only)
- The Strata dsv41 engine used ISTA-DASLab GSQ-RCO GGUFs (`--family deepseek41 --model ist-das-2.00bpw`). The Abiray uncensored IQ2_XXS is designed as a drop-in, but the file-size check may reject it. huihui-ai offers a patch for the Strata GSQ-RCO "Coder" quant. — [Abiray](https://huggingface.co/Abiray/DeepSeek-V4.1-Flash-1017-Uncensored-GSQ-RCO-IQ2_XXS-GGUF); [huihui V4.1](https://huggingface.co/huihui-ai/Huihui-DeepSeek-V4.1-Flash-1017-abliterated-GGUF)
- kuu-Strata-fork: an unofficial Windows fork of Strata v0.2.12 that keeps `src/dsv41` / `strata-dsv41.exe`, tuned for a 12 GB GPU + 64 GB RAM (see speeds above). Building needs CUDA 13 + VS 2022 Build Tools. It does not cover abliterated builds or 24 GB/128 GB configs. — [kuu-Strata-fork](https://github.com/midokino/kuu-Strata-fork)
### Inferences
- **Side by side:** technically feasible, but the risk is shared state. Both versions use Control state files (`active.json`/`state.json`) and an updater. A frozen 0.2.13 copy could auto-update or clash with 0.2.24's model registry. On Windows this path is untested by the maintainer. A self-contained fork (kuu-Strata-fork, Windows-tuned) or llama.cpp-server is the more sensible way to try DeepSeek without endangering the working Qwen setup.
- Because the maintainer says DeepSeek "will come back soon", waiting for upstream re-support is a reasonable option. No date was given.
- The 0.1.59 engine shows decode regressions vs 0.1.55 on a 24 GB laptop GPU (17.4 vs 20.8 tok/s), and a reported prefill regression. The frozen 0.2.13 package is not the best-performing Strata DeepSeek engine.
### Gaps
- No maintainer statement of the actual reason for removal was found.
- Exact strata-dsv41 0.1.59 asset filenames on the 0.2.13 release page were not visible (the releases page fetch truncated before 0.2.13).
- No report found of a user running 0.2.13 side by side with 0.2.2x on Windows specifically.
## 5. Benchmarks vs Qwen3.8-Flash-Next (knowledge, reasoning, coding, creative writing, tool use)
### Takeaway
At full precision, **DeepSeek V4.1-Flash-1017 is moderately stronger than Qwen3.8-Flash-Next** on Artificial Analysis: Intelligence Index 32 (max) / 29 (high) vs 28. The clearest leads are in agentic/tool use, terminal coding and hard reasoning. It also hallucinates less (AA-Omniscience 1 vs −12). The 1–2-bit quants needed to fit this PC remove part of that lead: Unsloth IQ1_M is about 2.4% below Q8 on their average, and Strata measured prose PPL +53% at IQ1_M. The net local gain over a Q5_K_M Qwen3.8 is therefore modest and uncertain. No creative-writing comparison was found.
### Cited Findings
- Artificial Analysis, V4.1 Flash 1017 (max / high / non-reasoning) vs Qwen3.8-Flash-Next:
| Metric | DS max | DS high | Qwen3.8 | DS non-reasoning |
|---|---|---|---|---|
| Intelligence Index | 32 | 29 | 28 | 19 |
| AutomationBench-AA (agentic/tool use) | 66.6% | 68.5% | 55.9% | 48.8% |
| Terminal-Bench 4.1 | 32.3% | 29.8% | 24.2% | 9.1% |
| FrontierCode-AA 2.0 | 28.2% | 16.8% | 27.1% | 6.1% |
| HLE-Diamond | 25.3% | 20.8% | 16.3% | 7.1% |
| CritPt v2 (Hard) | 25.0% | 27.5% | 24.5% | 1.0% |
| AA-Omniscience v1.1 | 1 | 2 | −12 | 2 |
| AA-Briefcase (Elo) | 1570 | 1415 | 1567 | 1429 |
Context: 1M vs 256K. Hosted output speed 161 vs 85 tok/s. Time to first answer token 43.6 s (max) vs 75.0 s. — [Artificial Analysis comparison](https://artificialanalysis.ai/models/comparisons/deepseek-v4-1-flash-1017-vs-qwen3-8-flash-next)
- Novita (V4.1-Flash Max vs Qwen3.8-Flash-Next): DeepSWE v1.1 **74.2% vs 58.7%**, HLE 36.8% vs 35.9%, GPQA Diamond 90.9% vs 91.7% (Qwen ahead). The DeepSeek official scores use reasoning_effort=100. Respan gives GPQA 93.2% (DeepSeek) vs 91.7%. LLM-Stats composite 50.4 vs 47.5 (1017). — [Novita](https://novita.ai/compare/deepseek-vs-qwen); [Respan](https://www.respan.ai/models/compare/deepseek-v4-1-flash-1017-vs-qwen3-8-flash-next); [LLM-Stats](https://llm-stats.com/models/compare/deepseek-v4.1-flash-1017-vs-qwen3.8-flash-next) (search-summary figures, not fetched directly; GPQA sources conflict)
- Quant penalty:
- Unsloth 6-benchmark average: IQ1_M 85.55 and IQ1_S 83.53 vs 87.68 at Q8. Aider: IQ1_S 36.5 vs IQ2_XXS 44.4. — [Unsloth guide](https://unsloth.ai/docs/models/deepseek-v4.1-flash)
- ISTA: IQ1_M 98.7%, IQ2_XXS 100% of base on AIME25/GPQA-D/LCB v6. Strata: IQ1_M PPL +21% (prose +53%), IQ2_XXS +15.5%. — [OpenClaw DC](https://openclawdc.com/blog/deepseek-v4-1-flash-gsq-rco-quants/)
- kuu fork IQ2_XS with 5/6 experts: GPQA-D 89.4–89.9%, HumanEval 94.5–95.7%. — [kuu-Strata-fork](https://github.com/midokino/kuu-Strata-fork)
- Abliteration penalty (unquantized): orcarouter MMLU 0.910 → 0.920. distributedcognition GSM8K 19/20 → 18/20. prem-research (V4-Flash-0731) KL 0.044. — [orcarouter](https://huggingface.co/orcarouter/DeepSeek-V4.1-Flash-1017-abliterated-GGUF); [distributedcognition](https://huggingface.co/distributedcognition/DeepSeek-V4.1-Flash-1017-abliterated); [prem-research](https://huggingface.co/prem-research/DeepSeek-V4-Flash-0731-abliterated)
- Obscurify's security test: the best uncensored V4.1 build (1017 thinking) solved all 8 script-checked tasks; "Flash Uncensored" solved 7. — [Obscurify](https://obscurify.ai/deepseek-uncensored)
### Inferences
- **Reasoning/knowledge:** DeepSeek leads on HLE and is less prone to hallucination. GPQA is roughly a tie.
- **Coding/agentic/tool use:** DeepSeek has a clear lead (DeepSWE +15 pts, Terminal-Bench +8, AutomationBench +11). This is the strongest reason to switch.
- **Creative writing:** no data. The large prose-PPL hit at IQ1_M (+53%) suggests low-bit DeepSeek may write worse prose than a Q5_K_M Qwen, but that is speculative.
- At the quants that fit (1–2 bit), much of DeepSeek's lead on reasoning benchmarks seems to survive (ISTA 98.7–100%). Fluency and long-form text are more at risk. The Q5_K_M Qwen runs near full quality.
- DeepSeek's thinking mode at "max" is token-hungry. Combined with ~5–10 tok/s local decode, long reasoning answers could take many minutes.
### Gaps
- No creative-writing or roleplay benchmark (EQ-Bench Creative, etc.) comparing V4.1-Flash with Qwen3.8-Flash-Next was found.
- No benchmark of the **abliterated + 1–2-bit** combination against the user's **uncensored Q5_K_M Qwen3.8**.
- No direct benchmark of the older V4-Flash-0731 against Qwen3.8-Flash-Next was gathered.
## 6. Are DeepSeek base models already lightly censored? China-specific vs general refusals, and whether uncensoring is needed
### Takeaway
Stock DeepSeek V4/V4.1 is **not lightly censored**. It refuses most clearly harmful prompts (~70–99% depending on the test) and shows **strong, deterministic China-political censorship** (Tiananmen, criticism of Xi, Taiwan), which became stronger in the official V4-Flash-0731 release. Over-refusal on benign prompts is low (~7%). Uncensoring is therefore needed for general refusals. Abliteration removes those effectively per uploader tests, but no measurement shows it removes **China-political** slant. No R1-1776-style political de-biasing post-train of V4/V4.1 was found.
### Cited Findings
- CTGT (Aug 5, 2026) **(older)**, comparing V4-Flash preview with V4-Flash-0731 on 152 matched sensitive/control prompt pairs judged by a four-judge panel:
- China-sensitive censorship **57.4 → 63.8**; non-China control censorship **25.4 → 19.8**.
- Mean matched gap +32.0 → +44.0. Sensitive side more censored in 79% → 88% of pairs.
- "The production build is therefore more forthcoming than its preview on everything except China-sensitive topics."
- Comparison: GPT-OSS-120B gap +3.9.
- — [CTGT](https://www.ctgt.ai/research/v4-flash-0731-drift)
- An independent test of V4-Flash found refusals deterministic and confined to Tiananmen and criticism of Xi (5/5 in both languages), plus recitation of official lines on Taiwan ("an inalienable part of China since ancient times") and Xinjiang. — [Strait Signal (Ed Moon)](https://theeastandback.substack.com/p/deepseek-censorship-testing-on-strait) (search snippet only)
- General-harm refusals of stock models:
- V4.1-Flash-1017 weighted harmful refusal 0.874 and benign over-refusal 0.069. — [orcarouter](https://huggingface.co/orcarouter/DeepSeek-V4.1-Flash-1017-abliterated-GGUF)
- V4-Flash-0731: 69% refusal on 800 harmful prompts. — [prem-research](https://huggingface.co/prem-research/DeepSeek-V4-Flash-0731-abliterated)
- V4.1-Flash-1017: 99/100 keyword refusals. — [distributedcognition](https://huggingface.co/distributedcognition/DeepSeek-V4.1-Flash-1017-abliterated)
- Obscurify says official DeepSeek models deflect politically sensitive topics and refuse some everyday edge-case requests. Uncensored V4.1 builds refused none of its 12 prompts. — [Obscurify](https://obscurify.ai/deepseek-uncensored)
- A report on a locally run altered V4.1-Flash-1017 says the edit removes refusals across topics, but its political effects are unmeasured. — search summary only, source not identified; see [Cornford and Cross](https://cornfordandcross.com/digital-ai-art/one-switch-for-safety-and-censorship-inside-local-deepseek/) (not fetched; attribution uncertain)
- **(older, 2025)** On R1: Multiverse's "R1 Slim" claimed to remove Chinese censorship, and a Tufts researcher cautioned such claims may be overstated. The China Media Project found an uncensored R1 still repeats Party-state disinformation on red-line issues such as Taiwan. — [MIT Technology Review](https://www.technologyreview.com/2025/11/19/1128119/quantum-physicists-compress-and-deconsor-deepseekr1/); [China Media Project](https://chinamediaproject.org/2025/06/24/deepseeks-democratic-deficit/)
### Inferences
- For the user's purpose (an uncensored local assistant), stock V4.1-Flash is **not** credibly low-refusal. An abliterated build is required.
- Abliteration targets the refusal direction. It will likely stop outright refusals on China topics, but trained-in framing (reciting official positions) is a content bias, not a refusal, and probably persists, as it did with uncensored R1. If China-political neutrality matters, Qwen-family models likely have similar issues. That comparison was not researched here.
### Gaps
- No R1-1776-style (Perplexity) political de-censoring post-train for V4 or V4.1 was found.
- No measurement of China-topic behaviour for any abliterated V4.1 build was found.
- No CTGT-style China-censorship measurement for V4.1-Flash or 1017 (only V4-Flash) was found.