Expert-Granular Abliteration prebake * Model: ReadyArt/Dark-Scarlett-v1.0-26B-A4B * Parts: all, layers: 0 * Dense scale: 1.0, expert scale: 1.0 * Winsorization: 0.995 Loading model ReadyArt/Dark-Scarlett-v1.0-26B-A4B... * Trying dtype auto... * Transformer model with 30 layers * Modifiable components: * attn.o_proj: 30 modules total * mlp.down_proj: 30 modules total * MoE: 128 experts per layer, expert down_proj [128, 2816, 704] * Prompts: 4 good, 4 bad Calculating per-layer residual means... * Obtaining residual mean for good prompts... * Obtaining residual mean for bad prompts... Selected 1/30 layers: [0] * Layer quality: L0=0.0001 Applying EGA ablation (dry-run: True) * L00 o_proj: rows=2816 norm_err=1.59e-04 proj_ratio=0.1128 * L00 mlp.down_proj: rows=2816 norm_err=3.81e-04 proj_ratio=0.0718 * L00 experts.down_proj: 128/128 experts norm_err=5.22e-04 proj_ratio=0.1583 Checks * Row norm max relative error: 0.0005221573519520462 * Refusal projection ratio max: 0.15834627632729367 * Dense matrices modified: 2 * Expert slices modified: 128 * Elapsed: 1m 9s Dry run: model not saved. Report written to reports/ega-prebake-dryrun-20261124-092521.json █░█░█▀▀░█▀▄░█▀▀░▀█▀░█░█▀▀ v2.1.0 █▀█░█▀▀░█▀▄░█▀▀░░█░░█░█░░ https://heretic-project.org ▀░▀░▀▀▀░▀░▀░▀▀▀░░▀░░▀░▀▀▀ https://github.com/p-e-w/heretic Detected 1 ROCm device(s) (124.00 GB total VRAM) HIP Version: 7.15.26333 Driver Version: AMDSMI Tool: 27.0.0+6b0e43f3 | AMDSMI Library version: 27.0.0 | ROCm version: 10.0.0 | amdgpu version: N/A | ionic version: N/A * ROCm 0: AMD Radeon 8060S Graphics (124.00 GB) Loading model ReadyArt/Dark-Scarlett-v1.0-26B-A4B... * Trying dtype auto... Loading weights: 100%|███████████████████████████████████████████████████████████████████████| 1013/1013 [00:16<00:00, 59.67it/s] * Transformer model with 30 layers * Modifiable components: * attn.o_proj: 30 modules total * mlp.down_proj: 30 modules total Resident system RAM: 2.37 GB Allocated GPU VRAM: 48.07 GB Reserved GPU VRAM: 48.18 GB Loading and initializing scorers... * Loaded: KeywordRate * Loaded: KLDivergence Loading Refusals evaluation prompts from mlabonne/harmful_behaviors... * 8 prompts loaded Loading KL divergence evaluation prompts from mlabonne/harmless_alpaca... * 8 prompts loaded * Obtaining baseline first-token probability distributions... Getting baseline scores... * Baseline Refusals: 8/8 * Baseline KL divergence: 0 (by definition) Loading and initializing modifiers... W1124 09:26:32.271000 229242 torch/_inductor/heuristics/template/triton.py:197] ROCm origami GEMM selection is not supported on ROCm 10.0+ (detected 10.0); origami disabled. * Loaded: Abliteration Loading good prompts from mlabonne/harmless_alpaca... * 8 prompts loaded Loading bad prompts from mlabonne/harmful_behaviors... * 8 prompts loaded Calculating per-layer residual directions... * Obtaining residual mean for good prompts... * Obtaining residual mean for bad prompts... Running trial 1 of 2... * Parameters: * direction_index = per layer * attn.o_proj.max_weight = 1.35 * attn.o_proj.max_weight_position = 26.45 * attn.o_proj.min_weight = 0.37 * attn.o_proj.min_weight_distance = 5.53 * mlp.down_proj.max_weight = 1.15 * mlp.down_proj.max_weight_position = 28.51 * mlp.down_proj.min_weight = 1.01 * mlp.down_proj.min_weight_distance = 6.87 * Resetting model... * Modifying model using Magnitude-Preserving Orthogonal Ablation (MPOA)... * Evaluating... * Refusals: 7/8 * KL divergence: 0.0081 Elapsed time: 34s Estimated remaining time: 34s Resident system RAM: 2.59 GB Allocated GPU VRAM: 48.07 GB Reserved GPU VRAM: 48.07 GB Running trial 2 of 2... * Parameters: * direction_index = per layer * attn.o_proj.max_weight = 1.50 * attn.o_proj.max_weight_position = 21.40 * attn.o_proj.min_weight = 0.07 * attn.o_proj.min_weight_distance = 1.79 * mlp.down_proj.max_weight = 1.14 * mlp.down_proj.max_weight_position = 23.21 * mlp.down_proj.min_weight = 1.08 * mlp.down_proj.min_weight_distance = 3.97 * Resetting model... * Modifying model using Magnitude-Preserving Orthogonal Ablation (MPOA)... * Evaluating... * Refusals: 7/8 * KL divergence: 0.0125 Elapsed time: 1m 13s Resident system RAM: 2.54 GB Allocated GPU VRAM: 48.07 GB Reserved GPU VRAM: 48.07 GB Optimization finished! Restoring model from trial 1... * Parameters: * direction_index = per layer * attn.o_proj.max_weight = 1.35 * attn.o_proj.max_weight_position = 26.45 * attn.o_proj.min_weight = 0.37 * attn.o_proj.min_weight_distance = 5.53 * mlp.down_proj.max_weight = 1.15 * mlp.down_proj.max_weight_position = 28.51 * mlp.down_proj.min_weight = 1.01 * mlp.down_proj.min_weight_distance = 6.87 * Resetting model... * Modifying model using Magnitude-Preserving Orthogonal Ablation (MPOA)...