license: mit
base_model:
- deepseek-ai/DeepSeek-V4.1-Flash-1017
- dealignai/DeepSeek-V4.1-Flash-1017-UNCENSORED-FP8
- OBLITERATUS/DeepSeek-V4.1-Flash-1017-obliterated
tags: - deepseek
- deepseek-v4.1-flash
- moe
- chronos
- pseudobrain
- abliterated
- uncensored
- holographic-superposition
- nvfp4
- vllm
pipeline_tag: text-generation
PseudoBrain x DeepSeek-V4.1-Flash-1017 (Chronos v7.5 Dual-Verified Abliterated)
PseudoBrain-DeepSeek-V4.1-Flash-1017-Chronos-v7.5-Abliterated is the full 40-layer (15,360 routed experts + shared experts + Sparse Multi-Head Latent Attention + 4-lane Sinkhorn Hyper-Connections + multimodal vision/aligner) Chronos v7.5 conversion of deepseek-ai/DeepSeek-V4.1-Flash-1017 with Dual-Verified Post-Quantization Orthogonal Abliteration.
1. Key Highlights & Verified Hardware Receipts
| Metric | Stock DeepSeek-V4.1-Flash-1017 (BF16) |
Stock DeepSeek-V4.1-Flash-1017 (MXFP4) |
Chronos v7.5 (2-Bit Lloyd-Max) |
Chronos v7.5 (1-Bit Compact-Disk) |
|---|---|---|---|---|
| Total Model Disk Footprint | 1,509.36 GB (1.51 TB) |
510.31 GB (299.21 GB MoE) |
218.81 GB (5.380 GB/layer) |
142.37 GB (3.469 GB/layer) |
| Per-Layer MoE Shard Size | 27.390 GB |
7.390 GB |
5.380 GB (5.09x vs BF16) |
3.469 GB (7.90x vs BF16) |
| Active GPU VRAM (All 40 Layers) | OOM on 8x80GB (>1.1 TB) |
OOM on 4x80GB (>300 GB) |
52.97 GB (Fits on 1x 80GB GPU) |
52.97 GB (Fits on 1x 80GB GPU) |
Single-Expert gate_up Cosine |
1.0000 |
1.0000 |
0.95317 (95.32%) |
0.85889 (85.89%) |
Single-Expert down_proj Cosine |
1.0000 |
1.0000 |
0.95397 (95.40%) |
0.88062 (88.06%) |
| Routed-Only Top-6 MoE Cosine | 1.0000 |
1.0000 |
0.96924 (96.92%) |
0.91420 (91.42%) |
| Full MoE Layer Output Cosine | 1.0000 |
1.0000 |
0.98292 (98.29%) |
0.95180 (95.18%) |
Routed w2 Refusal Projection Norm |
1.593769 |
1.593769 |
0.000811 (99.95% Eliminated) |
0.000006 (99.9996% Eliminated) |
Warm MoE Layer Decode Latency (A100) |
N/A (Multi-Node) | N/A (Multi-Node) | 1.824 ms / layer (100% hit) |
1.789 ms / layer (100% hit) |
2. Dual-Verified Post-Quantization Orthogonal Abliteration
Standard abliteration on Mixture-of-Experts models suffers from two failure modes when combined with extreme low-bit compression:
- Incomplete Expert Coverage: Modifying only
attn.wo_bandffn.shared_experts.w2leaves the384routed experts per layer (15,360total routed experts across 40 layers) with non-zero refusal projection ($|R_l W_{2, m}|_F = 1.5938$). - Quantization Refusal Leakage: Even if routed experts are orthogonalized before compression, 4-bit holographic bank and 1-bit/2-bit tail quantization residuals re-introduce non-zero projection into the refusal subspace ($|R_l \widehat{W}_{2, m}|_F > 0$).
Chronos v7.5 solves both via Dual-Verified Post-Quantization Orthogonal Abliteration:
- Attention & Shared Expert Preservation (
dealignai,320/320 = 100.00%HarmBench Verified):
Preserves the exact block-FP8 (float8_e4m3fn+UE8M0scale) abliteratedattn.wo_bandffn.shared_experts.w2tensors across layers10..36fromdealignai/DeepSeek-V4.1-Flash-1017-UNCENSORED-FP8. - Orthonormal Dual Refusal Basis $R_l \in \mathbb{R}^{d_r \times 5120}$ (
OBLITERATUS+dealignai):
Extracts the exact 16-bit BF16 Failspy refusal vector $r_{\text{ob}, l} \in \mathbb{R}^{5120}$ fromOBLITERATUS/DeepSeek-V4.1-Flash-1017-obliterated(layers 1..39, verified at88.08%MMLU vs87.96%stock on 2,500 questions) and $r_{\text{dea}, l} \in \mathbb{R}^{5120}$ (layers 10..36), constructing the Gram-Schmidt orthonormal refusal basis $R_l \in \mathbb{R}^{d_r \times 5120}$ ($R_l R_l^T = I_{d_r}$). - Pre- and Post-Quantization Routed Expert Orthogonalization (
15,360Routed Experts):- Projects out $R_l$ from all
384routed experts'w2(down_proj) matrices prior to8:1holographic folding:
$$W_{2, m}^{\perp} = W_{2, m} - R_l^T (R_l W_{2, m})$$ - Projects out $R_l$ from the Coupled SwiGLU Woodbury Drift target and the Rank-64
FP8left singular vectors $U_{\text{down}, m}$:
$$U_{\text{down}, m}^{\perp} = U_{\text{down}, m} - R_l^T (R_l U_{\text{down}, m})$$ - Embeds
ffn.abliteration.r_basis($R_l$) directly in each converted.safetensorsshard and enforces exact runtime output projection insideChronosDsv41SparseMoeBlock:
$$\widehat{W}{2, m}^{\perp} = \widehat{W}{2, m} - R_l^T (R_l \widehat{W}{2, m}), \qquad |R_l \widehat{W}{2, m}^{\perp}|_F = 0$$
- Projects out $R_l$ from all
3. Chronos v7.5 Architecture for DeepSeek-V4.1-Flash-1017
Each of the 40 MoE layers (layers.0 .. layers.39) contains 384 routed experts (gate_proj: 2304 x 5120, up_proj: 2304 x 5120, down_proj: 5120 x 2304, top_k = 6, scoring_func = "sqrtsoftplus", routed_scaling_factor = 1.5, swiglu_limit = 10.0) partitioned into 48 Holographic Superposition Groups of $K = 8$ experts:
$$\widehat{W}m = \gamma_m \left( \beta_m \cdot \mathcal{U}m!\left(\text{NVFP4}(S{\text{group}})\right) + U{\text{FP8}, m} V_{\text{FP8}, m} + \alpha_m \cdot Q_{\text{Lloyd-Max}, 2\text{-bit}}(R_{\text{tail}, m}) \right)$$
8:1NVFP4(E2M1) Router-Weighted Holographic Superposition Bank (S_gu,S_down):
Folds 8 experts into a single shared 4-bitNVFP4tensor using 2D block-128 Fast Walsh-Hadamard Transforms (FWHT) and deterministic per-expert permutation/Rademacher keys.- Full-Spectrum Sherman-Morrison-Woodbury (
SMW) Rank-64FP8SVD Healer (U_gu, V_gu, U_down, V_down):
Applies the exact matrix-inversion lemma to the256-D router subspace (v_rt_sub) and64-D active Clamped-SwiGLU subspace (v_act_sub) without dense $5120 \times 5120$ materialization. - Coupled Clamped-SwiGLU (
swiglu_limit = 10.0) Woodbury Drift Compensation:
Compensatesdown_projfor non-linear activation drift $\Delta A = \text{SwiGLU}{10}(\widehat{Z}) - \text{SwiGLU}{10}(Z)$ via a $64 \times 64$ push-through ridge solve. - 2-Bit Isotropic Lloyd-Max Gaussian Tail Lattice (
{-1.5104, -0.4528, +0.4528, +1.5104}):
Captures 88.2% of residual Gaussian tail energy per coordinate (4values packed peruint8byte with per-rowFP8 E4M3FNscale).
4. Usage & vLLM Integration
pip install torch safetensors huggingface_hub tokenizers
git clone https://github.com/defnotean/Chronos.git
cd Chronos
Direct Python / PyTorch Evaluation
import torch
from pathlib import Path
from chronos_1t.models.dsv41_chronos_moe import build_hadamard_128, ChronosDsv41SparseMoeBlock
device = torch.device("cuda:0")
h128 = build_hadamard_128(device)
block = ChronosDsv41SparseMoeBlock.from_safetensors(
"chronos-dsv41-layer-00020-of-00040.safetensors", layer_idx=20, h128=h128, device=device
)
x = torch.randn(4, 5120, dtype=torch.bfloat16, device=device) * 0.05
y = block(x)
print("Output shape:", y.shape, "Refusal projection norm:", (y.float() @ block.r_basis.float().T).norm().item())
Source Code & Technical Paper
- GitHub Repository:
https://github.com/defnotean/Chronos