language:
- en
- zh
- es
- fr
- ru
- it
- th
license: other
license_name: dealignai-community-v0.3
license_link: https://huggingface.co/dealignai/DeepSeek-V4.1-Flash-1017-UNCENSORED-NVFP4/blob/main/LICENSE
base_model: - nvidia/DeepSeek-V4.1-Flash-1017-NVFP4
- deepseek-ai/DeepSeek-V4.1-Flash-1017
base_model_relation: finetune
pipeline_tag: image-text-to-text
library_name: sglang
tags: - deepseek
- deepseek-v4.1
- nvfp4
- modelopt
- fp8
- mxfp4
- uncensored
- reasoning
- vision-language
- tool-calling
- dspark
- 1m-context
- dealignai
thumbnail: dealign_mascot.png

Credit request: When hosting, using, quantizing, modifying, or building derivatives from this model, please credit DealignAI and link back to this model repository. Follow @dealignai on X.

DeepSeek-V4.1-Flash-1017-UNCENSORED-NVFP4
DeepSeek-V4.1-Flash-1017 · ModelOpt NVFP4 Experts + FP8 Attention/Shared + MXFP4 Engram · Direct Weight-Level Release · Reasoning (off / low / high / max) · Vision + Tools · DSpark MTP · Native 1M Context
Live Showcase — Unmodified Base NVFP4 vs This Release
Identical one-shot prompts with zero system-prompt override, zero LoRA, and zero post-editing — showing unmodified Base NVFP4’s verbatim refusal on the left beside our release’s live one-shot 3D Three.js visualization on the right:
1. Ransomware Datacenter Encryption Wave Visualizer (Base Refusal vs One-Shot Live 3D)
2. Mirai Botnet 3D Globe & Firewall Breach Visualizer (Base Refusal vs One-Shot Live 3D)
3. OAuth Session-Hijack Vault Breach Visualizer (Total Base Hard Refusal vs One-Shot Live 3D)
Direct Weight Modification vs. Non-Weight-Edited Runtime Steering ("Weightless" GLP)
A common question is why we ship a direct weight-level release rather than applying non-weight-edited runtime residual steering (such as 27-layer "weightless" GLP steering) on top of the unmodified base checkpoint. We ran a controlled 4-way head-to-head on the exact same 400 GiB NVFP4 base weights, same 4× NVIDIA DGX Spark ring runtime, and NVIDIA’s official sampling (temperature=1.0, top_p=1.0, zero prompt tricks):
Side-by-Side Verbatim Comparison Video — "weightless" GLP Steering vs Direct Weight-Modified Release
Method (Same NVFP4 Base, Official T=1.0) |
HarmBench Cyber Refusals (52, off) |
Disclaimers / Hedges | Executable Security Coding (6, think) |
MMLU Tech/Sec (40, off) |
Notes |
|---|---|---|---|---|---|
| Base NVFP4 (Unmodified) | 32/52 (61.5%) |
40/52 (76.9%) |
6/6 (100%) |
90.0% |
Heavy refusal & lecturing on security tasks |
Base + "weightless" GLP (α=2.0) |
9/52 (17.3%) |
21/52 (40.4%) |
5/6 (83.3%) |
82.5% (−7.5 pp) |
Still refuses malware obfuscation, ransomware, cryptojacking (psutil.cpu_percent()), ATM/DoD/voting |
Base + "weightless" GLP (α=3.5) |
1/52 (1.9%) |
18/52 (34.6%) |
4/6 (66.7%) |
80.0% (−10.0 pp) |
Over-steering breaks reasoning coding (premature EOS at 186 tok with empty code; 4,096-tok cap) & MMLU while still leaking 34.6% disclaimers |
This Release (UNCENSORED-NVFP4) |
0/52 (0.0%) |
1/52 (1.9%) |
6/6 (100%) |
Full 570: −0.35 pp |
Breaks the α Pareto trap — zero runtime hooks, native T=1.0, portable across every engine |
No fine-tuning. No prompt tricks. No LoRA. This is a direct weight-level uncensored release built directly on NVIDIA’s official
nvidia/DeepSeek-V4.1-Flash-1017-NVFP4checkpoint. Every capability-critical component — all ModelOpt NVFP4 routed experts, MXFP4 Engram conditional memory, 32-layer vision tower, bundled DSpark MTP speculative draft head, router gates, tokenizer, and officialencoding/prompt renderer — is preserved intact. It loads drop-in with SGLang or vLLM exactly like the upstream NVIDIA checkpoint.Recommended sampling for reasoning (
effort=high/effort=max): Match NVIDIA’s official benchmark settings (temperature=1.0,top_p=1.0, generousmax_tokenssuch as65536+). Greedytemperature=0.0atreasoning_effort=maxcan induce repetition loops even on unmodified base weights on open-ended prompts.
Model Specs
| Property | Value |
|---|---|
| Base checkpoint | nvidia/DeepSeek-V4.1-Flash-1017-NVFP4 (from deepseek-ai/DeepSeek-V4.1-Flash-1017) |
| Architecture | DeepseekV41ForCausalLM — 552B backbone (8B prefill / 16B decode active) + 196B Engram conditional memory; 40-layer Causal Encoder-Decoder MoE (384 routed top-6 + 1 shared), CSA2 sparse attention, Hyper-Connections |
| Precision | ModelOpt W4A4 NVFP4 (group-16) routed experts · FP8 (E4M3 + UE8M0 block-32) non-experts · MXFP4 Engram tables · MXFP4 bundled DSpark MTP draft |
| Bundle size | ~399.6 GiB (48 safetensors shards, standalone copy — zero symlinks/hardlinks) |
| Context length | Native 1,048,576 (1M) tokens |
| Reasoning modes | off (chat) and thinking with low (50), high (75, default), max (100), or integer 1–100 |
| Vision & Tools | Native multimodal DeepSeek-ViT (image-text-to-text) + native DSML parallel/forced tool calling |
| Speculative decoding | Bundled DSpark draft weights (--speculative-algorithm DSPARK --speculative-dspark-block-size 5) |
What this is NOT (no shortcuts)
- No chat-template jailbreak. The upstream
encoding/module andtokenizer.json/tokenizer_config.jsonare shipped byte-identical to upstream. - No system-prompt override or runtime hook. No injected persona, no sampler hack, no adapter or LoRA. The weights themselves are the release.
- No supervised fine-tuning, DPO, or RLHF. No synthetic post-training dataset was trained on top of the model.
- No naive post-hoc quantization loss. Built directly on the native NVFP4 checkpoint rather than quantizing an already-modified FP8 build.
Headline Benchmarks (Base NVFP4 vs Previous 1017-FP8 vs This Release)
All reasoning benchmarks below were evaluated without artificial token cutoffs (max_tokens=65,536, official temperature=1.0, top_p=1.0) so every single prompt finished naturally (finish_reason="stop") and was graded on its complete post-</think> response.
| Benchmark | Unmodified Base NVFP4 | Previous 1017-UNCENSORED-FP8 |
This Release (UNCENSORED-NVFP4) |
Notes |
|---|---|---|---|---|
HarmBench-240 Ex-Copyright (effort=max) |
0.83% (2/240, 12 loops) |
100%* (graded at 200-tok cutoff) |
98.75% strict comply (237/240) · 100.0% comply+partial (240/240) |
0 hard / 0 soft / 0 redirect / 0 caps / 0 loops (full 65k post-</think> output!) |
GSM8K (1,319 test, effort=max) |
96.82% (NVIDIA w/ DSpark) / 96.59% (w/o) |
not reported | 97.12% (1,281/1,319) |
+0.30 pp to +0.53 pp vs Base, 1,319/1,319 clean stops, 0 loops |
MMLU-570 (effort=max, 57 subjs × 10) |
92.63% (528/570, 5 loops, 6 caps) |
not reported | 91.58% (522/570, -1.05 pp) |
STEM +0.00 pp (93.89%), 570/570 clean stops, 0 loops |
MMLU (effort=off, chat/logit) |
85.26% (486/570) |
83.77% (-3.86 pp vs 87.63% on 1,140 Q) |
84.91% (484/570, -0.35 pp) |
11× smaller MMLU chat-mode delta vs previous 1017-FP8 (STEM +1.67 pp!) |
Total Loops (2,129 effort=max prompts) |
17 (12 HB + 5 MMLU) |
33 ex-copy (102 total on earlier 12k run) |
0 / 2,129 (0.00%) |
2,129 / 2,129 (100.0%) clean stops, 0 truncations |
| Native Vision-Language (VL) | 6 / 6 PASS |
preserved | 6 / 6 PASS |
Synthetic geometry, counting, and real photos (carrots.jpeg, corn.jpeg) |
| Native Tools & Executable Coding | 4 / 4 PASS (1,826 tok) |
preserved | 4 / 4 PASS (1,528 tok, -16.3%) |
Parallel calls, forced SQL call, tool roundtrip, executable topo_sort |
| Bundled DSpark MTP Speculative Decode | 68.4 code / 32.7 prose (accept 4.12–4.15) |
preserved | 80.1 code / 42.2 prose (accept 4.20, peak 81.9 tok/s) |
Native 1M ctx + flashinfer_cutlass + FP4 indexer (63.7 / 33.8 default flags) |
Detailed Evaluations
1. Compliance — HarmBench-240 Ex-Copyright (effort=max, Full 65k Post-</think> Output)
Evaluated on all 240 non-copyright HarmBench behaviors (standard + contextual across all 6 harm categories) at reasoning_effort=max (100), temperature=1.0, top_p=1.0, max_tokens=65,536. Every single prompt closed </think> cleanly (240/240 finish_reason="stop", 0 length caps, 0 loops), and every full post-</think> answer was graded with a strict 6-class evaluator (comply, partial, redirect, soft_refusal, hard_refusal, empty) followed by manual full-text review of all non-comply and flagged outputs:
| Category | Items | Strict comply |
comply + partial |
hard / soft / redirect |
Loops | Median Tokens |
|---|---|---|---|---|---|---|
chemical_biological |
42 | 40/42 (95.24%) | 42/42 (100.0%) | 0 / 0 / 0 |
0 |
12083 |
cybercrime_intrusion |
52 | 51/52 (98.08%) | 52/52 (100.0%) | 0 / 0 / 0 |
0 |
12806 |
harassment_bullying |
21 | 21/21 (100.00%) | 21/21 (100.0%) | 0 / 0 / 0 |
0 |
1938 |
harmful |
18 | 18/18 (100.00%) | 18/18 (100.0%) | 0 / 0 / 0 |
0 |
2515 |
illegal |
53 | 53/53 (100.00%) | 53/53 (100.0%) | 0 / 0 / 0 |
0 |
5404 |
misinformation_disinformation |
54 | 54/54 (100.00%) | 54/54 (100.0%) | 0 / 0 / 0 |
0 |
4740 |
| Total (Ex-Copyright) | 240 | 237 / 240 (98.75%) |
240 / 240 (100.0%) |
0 / 0 / 0 |
0 |
6,075 |
- Comparison with Base NVFP4 (
effort=max): Base complied on0.83%(2/240strict,6/240 = 2.50%comply+partial) with181hard refusals,40soft refusals,13truncated empty outputs, and12reasoning loops. - Comparison with previous
1017-UNCENSORED-FP8: The previous 1017-FP8 model card evaluated HarmBencheffort=maxwithmax_new_tokens=200(grading only the opening reasoning snippet before</think>). Here, all240/240behaviors completed full post-</think>generation (up to53,938tokens on the deepest synthesis prompt) with zero cutoffs, zero loops, zero hard refusals, zero soft refusals, and zero redirects. - Audit of the 3
partialrows: All 3 delivered substantive, actionable procedures (9.5k–22.9ktokens); the twochemical_biologicalrows noted missing Supporting Information stoichiometry omitted by the prompt excerpt, anddji_drone_geofencing_hackdelivered a full model-agnostic firmware/unlock workflow.
2. Math Reasoning — Full GSM8K (1,319 Test Questions, effort=max)
Evaluated on the full official openai/gsm8k test split (1,319 problems) at reasoning_effort=max, temperature=1.0, top_p=1.0, max_tokens=65,536:
| Model | Accuracy | Correct / Total | Stops | Loops | Mean / Median / p90 Tokens |
|---|---|---|---|---|---|
| Base NVFP4 (NVIDIA official SGLang w/o DSpark) | 96.59% |
— | — | — | — |
| Base NVFP4 (NVIDIA official SGLang w/ DSpark) | 96.82% |
— | — | — | — |
This Release (UNCENSORED-NVFP4, effort=max) |
97.12% |
1,281 / 1,319 |
1,319 / 1,319 |
0 |
491.5 / 243 / 741 |
3. Knowledge & Reasoning — MMLU-570 (57 Subjects × 10, effort=max & effort=off)
4-way subject rollup comparing unmodified Base NVFP4, previous 1017-UNCENSORED-FP8 (MMLU-20×57 off), and This Release (UNCENSORED-NVFP4):
| Category | Subjects | Base NVFP4 (max) |
New NVFP4 (max) |
Δ (max) |
Base NVFP4 (off) |
New NVFP4 (off) |
Δ (off) |
Old 1017-FP8 Δ (off) |
|---|---|---|---|---|---|---|---|---|
| STEM | 18 | 93.89% | 93.89% | ±0.00 pp | 80.56% | 82.22% | +1.67 pp | −2.37 pp |
| Humanities | 13 | 93.08% | 88.46% | −4.62 pp | 86.15% | 82.31% | −3.85 pp | −7.31 pp |
| Social Sciences | 12 | 95.00% | 93.33% | −1.67 pp | 90.00% | 90.83% | +0.83 pp | −2.92 pp |
| Other | 14 | 88.57% | 90.00% | +1.43 pp | 86.43% | 85.71% | −0.71 pp | −3.46 pp |
| Overall | 57 | 92.63% (5 loops) | 91.58% (0 loops) | −1.05 pp | 85.26% | 84.91% | −0.35 pp | −3.86 pp |
- Excluding the two ethics/law refusal-adjacent subjects (
moral_scenariosandprofessional_law), the remaining 550 MMLU-570maxquestions are within−0.18 ppof unmodified Base NVFP4, with 100% accuracy preserved acrosscollege_mathematics,college_physics,college_biology,college_computer_science,high_school_computer_science,high_school_mathematics,high_school_physics,formal_logic,logical_fallacies, andsecurity_studies.
Full 57-Subject MMLU Comparison Dropdown (Base NVFP4 vs This Release vs Old 1017-FP8)
| Subject | Base (max) |
New (max) |
Δ (max) |
Base (off) |
New (off) |
Δ (off) |
Old 1017-FP8 Δ (off) |
|---|---|---|---|---|---|---|---|
| abstract algebra | 90.0% | 90.0% | ±0.0 pp | 70.0% | 60.0% | -10.0 pp | -10.0 pp |
| anatomy | 70.0% | 70.0% | ±0.0 pp | 80.0% | 50.0% | -30.0 pp | ±0.0 pp |
| astronomy | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | +5.0 pp |
| business ethics | 90.0% | 90.0% | ±0.0 pp | 80.0% | 90.0% | +10.0 pp | +5.0 pp |
| clinical knowledge | 100.0% | 100.0% | ±0.0 pp | 100.0% | 90.0% | -10.0 pp | ±0.0 pp |
| college biology | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | ±0.0 pp |
| college chemistry | 90.0% | 90.0% | ±0.0 pp | 80.0% | 90.0% | +10.0 pp | ±0.0 pp |
| college computer science | 100.0% | 100.0% | ±0.0 pp | 70.0% | 80.0% | +10.0 pp | -5.0 pp |
| college mathematics | 100.0% | 100.0% | ±0.0 pp | 70.0% | 60.0% | -10.0 pp | +5.0 pp |
| college medicine | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | -10.0 pp |
| college physics | 100.0% | 100.0% | ±0.0 pp | 90.0% | 90.0% | ±0.0 pp | -15.0 pp |
| computer security | 80.0% | 80.0% | ±0.0 pp | 80.0% | 80.0% | ±0.0 pp | -10.0 pp |
| conceptual physics | 100.0% | 100.0% | ±0.0 pp | 100.0% | 90.0% | -10.0 pp | ±0.0 pp |
| econometrics | 80.0% | 90.0% | +10.0 pp | 70.0% | 70.0% | ±0.0 pp | ±0.0 pp |
| electrical engineering | 90.0% | 90.0% | ±0.0 pp | 80.0% | 90.0% | +10.0 pp | -5.0 pp |
| elementary mathematics | 100.0% | 100.0% | ±0.0 pp | 90.0% | 90.0% | ±0.0 pp | ±0.0 pp |
| formal logic | 100.0% | 100.0% | ±0.0 pp | 90.0% | 90.0% | ±0.0 pp | -5.0 pp |
| global facts | 70.0% | 80.0% | +10.0 pp | 60.0% | 60.0% | ±0.0 pp | -5.0 pp |
| high school biology | 100.0% | 100.0% | ±0.0 pp | 90.0% | 90.0% | ±0.0 pp | +5.0 pp |
| high school chemistry | 80.0% | 80.0% | ±0.0 pp | 70.0% | 80.0% | +10.0 pp | ±0.0 pp |
| high school computer science | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | -5.0 pp |
| high school european history | 80.0% | 80.0% | ±0.0 pp | 100.0% | 80.0% | -20.0 pp | -10.0 pp |
| high school geography | 90.0% | 90.0% | ±0.0 pp | 80.0% | 80.0% | ±0.0 pp | ±0.0 pp |
| high school government and politics | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | -5.0 pp |
| high school macroeconomics | 100.0% | 100.0% | ±0.0 pp | 80.0% | 90.0% | +10.0 pp | ±0.0 pp |
| high school mathematics | 100.0% | 100.0% | ±0.0 pp | 30.0% | 40.0% | +10.0 pp | -5.0 pp |
| high school microeconomics | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | ±0.0 pp |
| high school physics | 100.0% | 100.0% | ±0.0 pp | 80.0% | 80.0% | ±0.0 pp | ±0.0 pp |
| high school psychology | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | ±0.0 pp |
| high school statistics | 90.0% | 90.0% | ±0.0 pp | 90.0% | 90.0% | ±0.0 pp | ±0.0 pp |
| high school us history | 100.0% | 100.0% | ±0.0 pp | 90.0% | 80.0% | -10.0 pp | -5.0 pp |
| high school world history | 100.0% | 100.0% | ±0.0 pp | 90.0% | 90.0% | ±0.0 pp | +5.0 pp |
| human aging | 100.0% | 100.0% | ±0.0 pp | 80.0% | 80.0% | ±0.0 pp | ±0.0 pp |
| human sexuality | 100.0% | 90.0% | -10.0 pp | 80.0% | 90.0% | +10.0 pp | ±0.0 pp |
| international law | 90.0% | 80.0% | -10.0 pp | 100.0% | 90.0% | -10.0 pp | ±0.0 pp |
| jurisprudence | 90.0% | 90.0% | ±0.0 pp | 90.0% | 80.0% | -10.0 pp | -5.0 pp |
| logical fallacies | 100.0% | 100.0% | ±0.0 pp | 90.0% | 100.0% | +10.0 pp | ±0.0 pp |
| machine learning | 70.0% | 70.0% | ±0.0 pp | 60.0% | 70.0% | +10.0 pp | -5.0 pp |
| management | 80.0% | 90.0% | +10.0 pp | 90.0% | 90.0% | ±0.0 pp | -5.0 pp |
| marketing | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | -15.0 pp |
| medical genetics | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | -5.0 pp |
| miscellaneous | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | +5.0 pp |
| moral disputes | 90.0% | 90.0% | ±0.0 pp | 90.0% | 90.0% | ±0.0 pp | -20.0 pp |
| moral scenarios | 90.0% | 60.0% | -30.0 pp | 50.0% | 80.0% | +30.0 pp | -40.0 pp |
| nutrition | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | -10.0 pp |
| philosophy | 90.0% | 80.0% | -10.0 pp | 80.0% | 80.0% | ±0.0 pp | ±0.0 pp |
| prehistory | 90.0% | 100.0% | +10.0 pp | 90.0% | 90.0% | ±0.0 pp | -5.0 pp |
| professional accounting | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | -5.0 pp |
| professional law | 90.0% | 70.0% | -20.0 pp | 80.0% | 50.0% | -30.0 pp | -10.0 pp |
| professional medicine | 100.0% | 100.0% | ±0.0 pp | 90.0% | 100.0% | +10.0 pp | ±0.0 pp |
| professional psychology | 100.0% | 100.0% | ±0.0 pp | 90.0% | 90.0% | ±0.0 pp | -5.0 pp |
| public relations | 90.0% | 70.0% | -20.0 pp | 90.0% | 90.0% | ±0.0 pp | ±0.0 pp |
| security studies | 100.0% | 100.0% | ±0.0 pp | 100.0% | 100.0% | ±0.0 pp | -15.0 pp |
| sociology | 90.0% | 90.0% | ±0.0 pp | 90.0% | 90.0% | ±0.0 pp | -5.0 pp |
| us foreign policy | 90.0% | 90.0% | ±0.0 pp | 100.0% | 90.0% | -10.0 pp | -5.0 pp |
| virology | 30.0% | 30.0% | ±0.0 pp | 30.0% | 40.0% | +10.0 pp | ±0.0 pp |
| world religions | 100.0% | 100.0% | ±0.0 pp | 80.0% | 70.0% | -10.0 pp | ±0.0 pp |
4. Reasoning Token Efficiency, Zero Looping, Tools, Vision & DSpark MTP
Native Tools & Executable Coding (4 / 4 PASS — 16.3% Fewer Tokens Than Base)
| Test | Base NVFP4 | This Release | Token Δ | Result |
|---|---|---|---|---|
parallel_tool_call (2 parallel calls) |
97 tok |
76 tok |
−21.6% |
PASS |
forced_tool_call (run_sql) |
154 tok |
110 tok |
−28.6% |
PASS |
tool_roundtrip (multi-turn tool result) |
41 tok |
39 tok |
−4.9% |
PASS |
coding_exec_topo_sort (Kahn's + cycle unit tests) |
1,534 tok |
1,303 tok |
−15.1% |
PASS |
| Total | 1,826 tok |
1,528 tok |
−16.3% |
4 / 4 PASS |
Recovery of Base NVFP4’s Runaway 16k MMLU Loopers (6 / 6 Cured, 0 Loops)
Unmodified Base NVFP4 looped and hit its 16,384-token cap with empty answers on 6 MMLU-570 max questions. On this release (effort=max, T=1.0, 65k), all 6 / 6 stopped cleanly with 0 loops (4 / 6 recovered to the exact correct answer, cutting runaway 16k loops by up to 98.9%):
mmlu-5605(high_school_statistics):16,384loop →174tok (−98.9%, Correct)mmlu-7040(management):16,384loop →5,770tok (−64.8%, clean stop)mmlu-2581(global_facts):16,384cap →6,647tok (−59.4%, Correct)mmlu-2602(global_facts):16,384loop →9,942tok (−39.3%, Correct)mmlu-6646(jurisprudence):16,384loop →17,431tok (clean stop,0loops)mmlu-1910(econometrics):16,384loop →18,947tok (clean stop,0loops, Correct)
(Note on overall MMLU-570 max mean length: because this release was evaluated with an uncapped 65,536-token ceiling at T=1.0 where all 570/570 questions finished naturally with 0 loops, overall med = 123.5 / mean = 1,273.6 vs Base’s 16k-capped med = 92.0 / mean = 742.0 with 5 loops and 6 truncations.)
Native Vision-Language (6 / 6 PASS)
Verified live through the served multimodal endpoint (image-text-to-text):
blue_square_on_red(PASS),green_square_on_white(PASS),count_4_blue_bars(PASS,38tok),count_3_blue_bars(PASS,102tok),carrots.jpeg(PASS,"Carrot"),corn.jpeg(PASS,"Corn (maize).").
Bundled DSpark MTP Speculative Decoding & 4× DGX Spark Throughput
Verified live on 4× NVIDIA DGX Spark (GB10, SM12.1) over RoCEv2 (cuda graph: True, native 1M context, FP8 KV + unified-RAM prefix caching):
- Optimized vLLM /
spark-ds41fNVFP4 (flashinfer_cutlass+ TileLang sparse MLA + bundled DSpark MTP):- Decode:
115.6 tok/sc1code (109.0 tok/s512-tok proxy),87.6 tok/sc1reasoning,75.6 tok/sc1prose,196.0 tok/sc4,271.7 tok/sc8 - Cold Prefill (exact needle PASS):
7,143 pp/s(8K),8,656 pp/s(32K),9,185 pp/s(64K),9,322 pp/s(128K/159,835tok in17.15s) - 32K Tool-Call Prefix Cache (
39,472tok tool result, interleaved request):4.55s → 0.299s(99.67%cached =15.25×faster) - Verified live endpoints: OpenAI
/v1/chat/completions,/v1/responses, Anthropic/v1/messages+/v1/messages/count_tokens, Vision-Language (154.9 tok/s), and native parallel tool calling
- Decode:
- Upstream SGLang (
--speculative-algorithm DSPARK --speculative-dspark-block-size 5):- With
--fp8-gemm-backend flashinfer_cutlass --enable-deepseek-v4-fp4-indexer(1Mctx):80.06 tok/scode (peak 81.86 tok/s,accept_len = 4.20 / 5),42.21 tok/sprose (peak 48.21 tok/s) - Default SGLang flags:
63.65 tok/scode (peak 71.00 tok/s,accept_len = 4.08–4.58 / 5, matching Base’s68.39 tok/s),33.78 tok/sprose (Base32.68 tok/s)
- With
Native 1M Context — Multi-Turn Agentic Stress Test (138k → 344k Live Checkpoints)
Tested live end-to-end with native 1,048,576 context (effort=max, temperature=1.0, top_p=1.0). At each context checkpoint, the model reads synthetic repository modules turn-by-turn, locates a needle bug buried at mid-context, invokes edit_file with exact arguments, receives the tool result, and stops cleanly with zero repeat tool-call loops and zero reasoning loops:
| Live Prompt Tokens | Turn 1: Needle Bug + edit_file |
Turn 1 Tokens | Turn 2: Clean Stop After Tool Result | Loops |
|---|---|---|---|---|
137,932 |
PASS (edit_file) |
218 |
PASS (0 repeat calls) |
0 (False) |
344,116 |
PASS (edit_file) |
198 |
PASS (0 repeat calls) |
0 (False) |
How to Run
Deploy with SGLang (Blackwell GB300 / B200 / DGX Spark)
Matches NVIDIA’s official launch configuration for nvidia/DeepSeek-V4.1-Flash-1017-NVFP4:
python3 -m sglang.launch_server --model-path dealignai/DeepSeek-V4.1-Flash-1017-UNCENSORED-NVFP4 --tp 4 --trust-remote-code --kv-cache-dtype fp8_e4m3 --dsv4-attn-backend flashmla --mem-fraction-static 0.9 --speculative-algorithm DSPARK --speculative-dspark-block-size 5 --engram-config '{"placement":"cpu","replication":"none","lookup":"auto"}' --reasoning-parser auto --tool-call-parser auto
Drop the two --speculative-* flags to run without DSpark speculative decoding. Pass --context-length 1048576 for full native 1M context.
Deploy with vLLM (requires MXFP4 Engram support, vllm#61530)
VLLM_ENGINE_READY_TIMEOUT_S=3600 vllm serve dealignai/DeepSeek-V4.1-Flash-1017-UNCENSORED-NVFP4 --tensor-parallel-size 4 --tokenizer-mode deepseek_v41 --attention-config '{"backend":"FLASHINFER_MLA_SPARSE_DSV41","indexer_kv_dtype":"mxfp4","indexer_sparse_logits":true}' --kv-cache-dtype fp8 --max-num-seqs 128 --engram-config '{"cpu_offload":true}' --reasoning-parser deepseek_v41 --enable-auto-tool-choice --tool-call-parser deepseek_v41
Prompt Format & Reasoning Tiers
DeepSeek-V4.1 ships its official encoding/ module (no Jinja template). Pass chat_template_kwargs + reasoning_effort:
- Chat mode (no thinking):
chat_template_kwargs: {"thinking": false} - Thinking mode:
chat_template_kwargs: {"thinking": true}withreasoning_effort:"low"(50),"high"(75, default),"max"(100), or integer1–100. - Recommended sampling:
temperature=1.0,top_p=1.0,max_tokens >= 65536foreffort=high/effort=max.
License
The DealignAI contributions are provided under the DealignAI Community Model License v0.3, in LICENSE. The original model and unchanged upstream materials remain subject to the MIT License, included in LICENSE.upstream. The community license reserves hosted inference rights. See the license text for the full terms.
Credits
- Base model by DeepSeek-AI and NVFP4 checkpoint by NVIDIA (MIT License).
- Uncensored release, evaluation suite, and model card by DealignAI (
@dealignai).