玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
fraserprice /

DeepSeek-V4-Flash-Abliterated

HF 源站

fraserprice/DeepSeek-V4-Flash-Abliterated is an uncensored open-source model hosted on Hugging Face.

vLLMsafetensorsLicense: mitdeepseek_v4deepseekabliterateduncensoredblackwellrtx-pro-6000sm_1208-bitfp8
README.md说明 / 使用方法

license: mit base_model:

  • deepseek-ai/DeepSeek-V4-Flash
  • huihui-ai/Huihui-DeepSeek-V4-Flash-abliterated-ds4-GGUF tags:
  • deepseek
  • abliterated
  • uncensored
  • safetensors
  • vllm
  • blackwell
  • rtx-pro-6000
  • sm_120

DeepSeek V4 Flash Abliterated

Ported to vLLM for massive throughput on RTX Pro 6000 — by Fraser Price

This is probs the best uncensored model you can run on 2 x RTX Pro 6000 at high throughput (source: ✨ my opinion ✨). Served on the voipmonitor vLLM fork it runs ~13× prefill and ~2.8× single-stream decode faster than the widely available abliterated GGUF versions.


Quick start (one command)

Requires Docker with the NVIDIA Container Toolkit, and ≥2 GPUs (see Hardware).

bash run.sh

run.sh defaults to this repo, so no arguments are needed. Everything is configured via env vars (see the table below) — e.g. GPUS=0,1,2,3 TP=4 bash run.sh to run on 4 GPUs.

run.sh (included) will:

  1. Download the weights (~156 GB) into your Hugging Face cache (\~/.cache/huggingface, or $HF_HOME/$HF_HUB_CACHE) if not already present.
  2. Pull the inference image if not already present.
  3. Serve the model on http://localhost:8000/v1 (OpenAI API spec).

Optional — MTP speculative decoding (~1.8× single-stream decode speed). The checkpoint ships its MTP layer; enable it with MTP=2 bash run.sh (see the table below).

Override anything via env vars (all optional):

VariableDefaultMeaning
GPUS0,1GPU indices to use (comma-separated)
TP2Tensor-parallel size — set to the number of GPUs in GPUS
MTP(off)MTP speculative-decoding draft tokens (e.g. 2); empty disables it
PORT8000API port
MAX_MODEL_LEN262144Context length
GPU_MEM_UTIL0.92Fraction of VRAM to use
HF_REPOfraserprice/DeepSeek-V4-Flash-AbliteratedHugging Face repo to download
MODEL_DIR(HF cache)Serve from a specific local dir instead of downloading
SERVED_NAMEDeepSeek-V4-Flash-AbliteratedModel name exposed by the API
IMAGE(pinned voipmonitor/vllm build)Inference container image

Example on 4 GPUs:

GPUS=0,1,2,3 TP=4 bash run.sh

Hardware/Image

Tuned for NVIDIA RTX Pro 6000 Blackwell (96 GB, sm_120). It will run on other Blackwell-class GPUs, but the numbers below and the default flags assume RTX Pro 6000. It needs roughly 170 GB of total VRAM for weights + KV cache at long context, split across GPUs by tensor parallelism.

SetupWorks?
2 × RTX Pro 6000 Blackwell (96 GB) — TP=2✅ reference config
4 × RTX Pro 6000 Blackwell — TP=4✅ (more KV headroom / throughput)
4 × 80 GB (e.g. H100/H200) — TP=4✅ (untested here, I believe can just use base vLLM)
1 × DXG Spark❓ idk why you didn't get an RTX Pro lmao (but lmk if you manage to run this and I can add to docs)
1 × anything❌ (blessed are the poor in VRAM 🙏)

The serving image targets Blackwell (sm_120) and CUDA 13.2. The DeepSeek-V4 architecture (sparse attention / lightning indexer, MLA, MTP, etc.) requires this image to run on RTX Pro. See local-inference-lab/rtx6kpro for image, bench, and serving details.


Performance

Measured under load on RTX Pro 6000 Blackwell (connected via PCIe 5.0), 128 generated tokens/request, TP = number of GPUs. MTP is speculative decoding (— = off, 2 = 2 draft tokens). PP / TG are prefill / per-request decode throughput (tok/s); Total is aggregate end-to-end throughput across all concurrent requests (tok/s). Rows are paired off/on so the MTP decode gain is directly comparable.

GPUsMTPPromptConcTTFTPPTGTotal
2—1,0001132 ms7,613108.6870
221,0001143 ms7,005176.21,310
2—1,0003275 ms4,19076.71,746
221,0003332 ms3,746125.72,435
2—10,00011,036 ms9,658108.04,581
2210,00011,069 ms9,357181.65,729
2—10,00032,138 ms5,30257.16,600
2210,00032,205 ms5,14685.37,496
2—100,000111,575 ms8,640107.67,850
22100,000111,933 ms8,380196.27,959
2—100,000323,579 ms5,15333.08,161
22100,000324,349 ms4,99159.68,065
4—1,0001119 ms8,437117.9946
421,0001128 ms7,858216.51,584
4—1,0003255 ms4,53998.02,175
421,0003507 ms3,276129.71,996
4—10,0001842 ms11,886118.45,293
4210,0001873 ms11,459223.97,034
4—10,00031,741 ms6,52169.08,041
4210,00031,813 ms6,257108.79,216
4—100,00019,530 ms10,494118.59,445
42100,00019,856 ms10,146227.49,614
4—100,000319,226 ms6,29940.010,028
42100,000320,037 ms6,04973.19,824

MTP=2 lifts single-stream decode by ~1.6–1.9× (e.g. 108 → 196 tok/s at 100k on TP=2) for a negligible TTFT cost.


How it was made

DeepSeek-V4-Flash's published abliterations existed only as a GGUF for the bespoke ds4/llama.cpp engines, which leave Blackwell hardware massively underutilised.

Rather than re-run abliteration from scratch, the refusal subspace was simply recovered and re-applied from an existing abliteration:

  1. Recover the refusal directions. The rank-3 refusal subspace in the 4096-dim residual stream was extracted from the delta between huihui-ai's abliterated GGUF and the clean base.
  2. Re-apply to the official weights. The same rank-3 projection was applied to every residual-writing matrix of the official checkpoint — attention output (attn.wo_b) and shared-expert down-projection (shared_experts.w2) across all 43 layers and the MTP layer (88 tensors total). Each tensor is dequantised → projected → requantised, with a fixed-point solver that compensates for FP8 requantisation so the intended projection survives quantisation.
  3. Leave everything else untouched. The FP4-quantised routed experts and all gate/up projections are byte-identical to the official release; only the 88 FP8 residual-writing matrices change.

Validation: on every edited tensor the achieved projection matched target within ~0.002, and all 33,880 non-target tensors were verified byte-identical to the base. The served model drops refusals while keeping correct tool-calling and coherent step-by-step reasoning. No formal evals yet — tested manually; it should match the base huihui-ai abliteration at far higher speed.


Credits

  • deepseek-ai/DeepSeek-V4-Flash — the base model (MIT).
  • huihui-ai — the original abliteration (Huihui-DeepSeek-V4-Flash-abliterated-ds4-GGUF), from which the refusal directions were derived (MIT).
  • voipmonitor/vllm — the Blackwell/CUDA-13.2 vLLM build that runs the DeepSeek-V4 architecture on RTX Pro.
  • local-inference-lab/rtx6kpro — the serving recipe (backends, flags, and benchmarks) this config is based on.

This checkpoint contains no huihui-ai weights — only the official DeepSeek-V4-Flash weights with a refusal-direction projection applied.

Disclaimer

This is an uncensored model: the refusal subspace has been removed, so it will not decline requests the way the base model does. It is released as-is, for research/lawful use only.

  • Not a safety-aligned model. Because guardrails have been removed, outputs may be inaccurate, offensive, or harmful. Apply your own filtering, review, and safeguards before relying on or deploying it.
  • No warranty. The weights and scripts are provided "as is", without warranty of any kind, express or implied. You use them entirely at your own risk.
  • You are responsible for what you generate. The author does not endorse, encourage, or accept any responsibility or liability for how this model is used, including any unlawful, harmful, or unethical use. Outputs do not reflect the views of the author.

License

MIT, inheriting from the base model and the abliteration source.


Built by Fraser Price — @fraserpricee

HUGGING FACE

上游数据

HF 下载量503
HF 点赞量3

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
fraserprice
最近更新
2026/06/26
最新创建
2026/06/25
HF 趋势
未知
数据快照
2026/09/17
版本
未知
许可证
mit