Dealignai Strips DeepSeek V4.1 Flash of All Refusals Across 320 Harmful Prompts
A weight-level edit strips refusals from DeepSeek V4.1 Flash while keeping FP8 precision, 1M context, vision, and tools intact.
Takeaways
- dealignai released an uncensored FP8 build of DeepSeek V4.1 Flash 1017, 763B params total.
- Weight-level abliteration only: no fine-tune, no LoRA, no system prompt, no template tricks.
- Scores 320/320 COMPLY on HarmBench at max reasoning effort, zero refusals of any tier.
- MMLU drops 3.86 points vs base (87.63% to 83.77%), moral scenarios collapse by 40 points.
- Preserves 1M context, vision, video, tool calling, reasoning tiers, and DSpark speculative decoding.
- Requires FP8-capable hardware, verified on 4xH200 with CUDA 12.8 and SGLang or the DeepSeek reference engine.
Dealignai has published a modified DeepSeek V4.1 Flash checkpoint that suppresses learned refusal behavior while retaining the upstream model’s native FP8 format and loading path. The published checkpoint is a 763-billion-parameter mixture-of-experts model whose weights have undergone “abliteration,” an edit intended to make the model comply with prompts it would previously reject.
The release matters to developers because it preserves the original architecture, precision formats, context window, and inference interfaces. That creates a more controlled comparison of refusal behavior and general capability than variants built with adapters, prompt wrappers, or custom serving hooks. The model uses the stock DeepSeek loading path, although the documented deployment requires specific CUDA tooling and a kernel patch.
Inside the checkpoint
| Component | Release details |
|---|---|
| Base model | DeepSeek V4.1 Flash |
| Scale | 763 billion parameters in a mixture-of-experts architecture |
| Weight formats | FP8 e4m3 weights, ue8m0 block scales, and FP4 experts |
| Packaging | 48 safetensors shards using the upstream architecture and file layout |
| Context | Up to 1,048,576 tokens |
| Reported features | Vision, video, reasoning-effort controls, tool calling, and DSpark speculative decoding |
| Access | Manually gated, with acceptance of 18+ terms |
| License | MIT, matching the upstream listing |
The mixture-of-experts design routes each token through a subset of expert blocks, so runtime compute depends on routing as well as the model’s total parameter count. In the precision labels, e4m3 refers to an FP8 representation with four exponent bits and three mantissa bits, while ue8m0 stores unsigned scaling values for quantized blocks.
The release card describes a weight-only modification and reports that the original Jinja chat template, tokenizer, system behavior, and runtime interfaces remain unchanged. It also reports the following exclusions:
- No LoRA or other adapter applied during loading
- No supervised fine-tuning
- No RLHF, DPO, or refusal-preference training
- No injected persona or replacement system prompt
- No tokenizer changes
- No serving-time refusal hook
Compliance reaches 320 of 320
The model card presents publisher-run benchmark figures and cites no independent replication, so the results describe one evaluation setup. On the HarmBench text suite at the release’s hardest setting, a four-tier classifier labeled all 320 responses as COMPLY. None received the classifier’s redirect, hedge, or refusal labels.
The tested prompts covered chemical and biological topics, cybercrime, harassment, illegal activity, misinformation, and copyright. Additional smoke tests reportedly produced compliant responses about HCN, phosgene, VX, anthrax, ransomware, remote-code execution, TATP, and methamphetamine synthesis, including prompts written in Russian and Chinese. Factual accuracy, scientific validity, and operational reliability require separate evaluation because the reported score measures response behavior.
Where capability slipped
The publisher also evaluated 1,140 MMLU questions with identical prompts and greedy decoding. Its logit-based method selected the multiple-choice answer receiving the highest model score.
| Area | Base model | Edited model | Reported change |
|---|---|---|---|
| Overall MMLU | 87.63% | 83.77% | Down 3.86 percentage points |
| Humanities | Not stated | Not stated | Down about 7 points |
| Moral scenarios | Not stated | Not stated | Down 40 points |
| Moral disputes | Not stated | Not stated | Down 20 points |
| College physics | Not stated | Not stated | Down 15 points |
| Abstract algebra | Not stated | Not stated | Down 10 points |
| Astronomy | Not stated | Not stated | Up by several points |
| High school world history | Not stated | Not stated | Up by several points |
The overall decline suggests that the weight edit affected behavior beyond explicit refusals. The largest reported losses appeared in moral-reasoning subsets, while most STEM changes were smaller and several subjects improved. Comparisons should reproduce the same 1,140-question set, prompt format, tokenizer, and decoding settings.
Hardware sets the boundary
The documented deployment path requires accelerators with native FP8 support. Dealignai verified the model on four H200 GPUs with 564 GB of aggregate VRAM, using tensor parallelism across four devices. The authors list H100, B200, and B300 systems as compatible families, although the required GPU count depends on each card’s memory capacity, context length, and serving configuration.
The software stack has several fixed requirements:
- PyTorch built against CUDA 12.8
- The CUDA 12.8 toolkit installed on the host
- An inference-kernel patch that forces
num_stages = 2 - An FP8-capable Hopper or Blackwell deployment path
The kernel change addresses a reported race condition involving ue8m0 scales. Developers should apply the patch described by the release card and keep the CUDA, PyTorch, SGLang, and model revisions aligned.
Launching with SGLang
A four-GPU SGLang launch uses both tensor and expert parallelism, along with the model-specific reasoning and tool-call parsers:
python3 -m sglang.launch_server \
--model-path dealignai/DeepSeek-V4.1-Flash-1017-UNCENSORED-FP8 \
--trust-remote-code \
--reasoning-parser deepseek-v41 \
--tool-call-parser deepseekv41 \
--tp-size 4 \
--ep-size 4 \
--context-length 1048576 \
--mem-fraction-static 0.80
Setting the following environment variable moves the 203 GB engram table, a model data structure, into host memory:
export SGLANG_ENABLE_DSV41_ENGRAM_HOST_TABLE=1
Host placement reduces device-memory pressure when serving long contexts, while adding a requirement for at least 203 GB of system RAM plus runtime overhead. The one-million-token context setting also raises memory use and latency as sequence length grows, so deployment tests should use representative prompt and completion sizes.
The --trust-remote-code flag allows code from the model repository to execute on the serving host. Production builds should inspect that code, pin a reviewed commit, and record artifact hashes for reproducibility.
Native precision protects the edit
Dealignai reports that converting the edited FP8 checkpoint directly to lower-bit Q8 or Q4 formats compounds quantization error and reduces compliance. Its recommended workflow applies the abliteration process directly at the intended deployment precision.
The group used that approach for a sibling EXL3 build at 2.9 bits per weight. Developers targeting another precision should benchmark both refusal behavior and general capability after performing the weight edit in that format.
Reasoning controls remain available
The release retains DeepSeek’s reasoning-effort controls, including named tiers and integer values from 1 through 100:
| Setting | Budget |
|---|---|
low |
50 |
high |
75, the default |
max |
100 |
| Custom integer | Any value from 1 through 100 |
The authors recommend temperature=1.0, top_p=1.0, and a maximum-token allowance of at least 256,000 for long reasoning traces. The prompt and completion must remain within the 1,048,576-token context limit, and larger completion budgets increase memory and latency requirements.
Production needs separate guardrails
The repository combines an MIT license listing with manually gated access and 18+ acceptance terms. Teams integrating the checkpoint should review both the license and the gate terms, especially when redistributing weights or providing hosted access.
Researchers can use the release to study refusal representations, safety benchmarks, native-precision weight editing, and interactions between abliteration and quantization. The reported results also expose a measurable trade-off: complete HarmBench compliance accompanied a 3.86-point MMLU decline and much larger losses in several moral-reasoning subsets.
Production deployments inherit the model’s unrestricted response behavior, so the surrounding system must enforce authorization and safety requirements independently. A practical deployment plan should include:
- Strict separation between generated text, credentials, tools, and execution environments
- Policy checks on inputs, outputs, and tool calls
- Restricted endpoint access, rate limits, and privacy-aware audit logs
- Domain-specific capability and safety evaluations
- Sandboxing for code execution and external actions
- Pinned model, tokenizer, runtime, and kernel revisions
Tool permissions require particular care because a compliant model may follow malicious or compromised instructions. Authorization boundaries should remain outside the model and apply to every external action, regardless of what the generated response requests.