SAGE-A1.5-DERISKED — ISTA-Locked RCO Mixed-Precision GGUF (13.822 GiB / 3.425 BPW)
This repository provides a Riemannian Constrained Optimization (RCO) mixed-precision GGUF quantization of Blackfrost-AI/SAGE-A1P5-DERISKED-BF16-V2 (a 2-pass Directional Weight Modification / Heretic refusal-abliterated derivative of Shanghai AI Lab's InternScience/Sage-A1.5 35B-A3B MoE model), engineered specifically to fit under a strict 14.0 GiB (13.822 GiB / 14.84 GB) envelope with zero loss to the active reasoning backbone or DWM abliteration vectors.
1. Why Standard Sub-14 GiB Quants Fail on SAGE-A1.5-DERISKED (And How This Build Solves It)
In a 35B-A3B Mixture-of-Experts (qwen35moe) model, 90.9% of all parameters reside inside the 256 routed experts (top-8 active per token), while only ~3.05B parameters form the Dense Active Backbone (the 10 Full-Attention layers, 30 Gated-DeltaNet recurrent layers, 40 Shared Experts, Embeddings, and Output Head) that executes on every single token.
Furthermore, in Blackfrost-AI/SAGE-A1P5-DERISKED-BF16-V2, the 2-pass Heretic DWM refusal abliteration ($\alpha = 1.0$) modified exclusively 38 dense projection matrices:
28 × linear_attn.out_proj.weight(blk.{2..39}.ssm_out.weight)10 × self_attn.o_proj.weight(blk.{2..39}.attn_output.weight, with peak directional refusal separation at Layers 38 & 39).
Standard uniform low-bit GGUFs (Q2_K / IQ3_XXS) blindly crush those 38 DWM attention-output matrices, the Gated-DeltaNet recurrent projections, and the Shared Experts down to 2–3 bits alongside the routed experts—causing severe long-horizon state drift and degrading the orthogonal DWM refusal-ablation subspace.
The Two-Ladder ISTA-Locked RCO Architecture
Following the architectural protection policy established in ISTA-DASLab/Qwen3.6-35B-A3B-2Bit-GSQ and the Riemannian Budget Manifold optimizer of IST-DASLab/RCO:
- 100%
Q8_0Lock on the Dense Active Backbone & All 38 DWM Heretic Matrices (2.306 GiB):- All 38 Blackfrost DWM Matrices (
blk.{2..39}.attn_output&ssm_out): Locked atQ8_0(8.50 bpw). - All 10 Full-Attention QKV Projections (
attn_q,attn_k,attn_v): Locked atQ8_0(8.50 bpw). - All 30 Gated-DeltaNet Projections (
attn_qkv,attn_gate,ssm_in): Locked atQ8_0(8.50 bpw) (ssm_a,ssm_d,ssm_conv1d, norms, and router gates in nativeF32/BF16). - All 40 Shared Experts (
ffn_gate_shexp,ffn_up_shexp,ffn_down_shexp) &output.weight(lm_head): Locked atQ8_0(8.50 bpw) (token_embd.weightatQ5_K).
- All 38 Blackfrost DWM Matrices (
- Per-Tensor Riemannian Constrained Optimization (RCO) Across the 120 Routed-Expert Tensors (
3.068 bpwaverage):- Every
blk.{0..39}.ffn_{gate,up,down}_exps.weighttensor was individually profiled on GPU for Importance Matrix (imatrix) activation energy ($\mathbb{E}[x^2]$), Frobenius weight variance ($\mathbb{E}[W^2]$), outlier kurtosis ($\kappa = \mathbb{E}[W^4]/(\mathbb{E}[W^2])^2$), and layer depth sensitivity. - A 500-step Riemannian Projected Gradient Descent + Lagrangian marginal-distortion refinement solved the optimal per-tensor assignment across
{IQ2_XXS, IQ2_XS, IQ2_S, Q2_K, IQ3_XXS, IQ3_S, Q3_K, IQ4_XS}.
- Every
- Pure Text Backbone (Zero MTP / Vision Bloat):
- Unindexed
model-mtp.safetensors(785tensors) andmodel.visual.*(333ViT tensors) were stripped prior to conversion, saving ~1.5 GiB of dead weight so 100% of the byte budget goes toward text reasoning and coding.
- Unindexed
2. Artifact Telemetry & Quantization Histogram
| Property | Value |
|---|---|
| File Name | SAGE-A1P5-DERISKED-TRUE-RCO-13.8GiB.gguf |
| Exact File Size | 13.822 GiB (14.84 GB) |
| Total Parameters (Pure Text Backbone) | 34.66B (733 GGUF tensors, 0 MTP tensors) |
| Effective Overall Bitwidth | 3.425 bpw |
| Dense Active Backbone Bitwidth | 8.50 bpw (Q8_0 Lock) (token_embd at Q5_K, norms/gates at F32) |
| Routed Experts Average Bitwidth (120 Tensors) | 3.068 bpw (RCO Manifold Solved) |
| 38 DWM Heretic Projection Tensors | 38 / 38 Locked at Q8_0 |
| Native Context Length | 262,144 tokens (256K native; YaRN extensible to 1M) |
Full GGUF Tensor Storage Distribution (733 Tensors)
| GGUF Quantization Type | Tensor Count | Architectural Role |
|---|---|---|
Q8_0 | 311 | Active Backbone / DWM Heretic Lock |
F32 | 301 | Active Backbone / DWM Heretic Lock |
IQ3_XXS | 75 | RCO Solved Routed Experts |
IQ3_S | 26 | RCO Solved Routed Experts |
Q2_K | 15 | RCO Solved Routed Experts |
IQ2_S | 2 | RCO Solved Routed Experts |
IQ2_XS | 2 | RCO Solved Routed Experts |
Q5_K | 1 | Active Backbone / DWM Heretic Lock |
3. Solved 40-Layer Routed-Expert Allocation Map (Layers 00–39)
| Layer | Attention Mechanism | Active Path & DWM Status | ffn_gate_exps | ffn_up_exps | ffn_down_exps |
|---|---|---|---|---|---|
| Layer 00 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 | IQ2_XS | IQ2_XS | IQ2_S |
| Layer 01 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 | IQ2_S | Q2_K | Q2_K |
| Layer 02 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | Q2_K | Q2_K | IQ3_XXS |
| Layer 03 | Full Softmax Attention (GQA) | Locked Q8_0 (2-Pass DWM) | Q2_K | Q2_K | IQ3_XXS |
| Layer 04 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | Q2_K | Q2_K | IQ3_XXS |
| Layer 05 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | Q2_K | IQ3_XXS |
| Layer 06 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | Q2_K | Q2_K | IQ3_XXS |
| Layer 07 | Full Softmax Attention (GQA) | Locked Q8_0 (2-Pass DWM) | Q2_K | Q2_K | IQ3_XXS |
| Layer 08 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | Q2_K | Q2_K | IQ3_XXS |
| Layer 09 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 10 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 11 | Full Softmax Attention (GQA) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 12 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 13 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 14 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 15 | Full Softmax Attention (GQA) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 16 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 17 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 18 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 19 | Full Softmax Attention (GQA) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 20 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 21 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 22 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 23 | Full Softmax Attention (GQA) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 24 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 25 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 26 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 27 | Full Softmax Attention (GQA) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_XXS |
| Layer 28 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_S |
| Layer 29 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_S |
| Layer 30 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_S |
| Layer 31 | Full Softmax Attention (GQA) | Locked Q8_0 (2-Pass DWM) | IQ3_S | IQ3_XXS | IQ3_S |
| Layer 32 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_S | IQ3_S | IQ3_S |
| Layer 33 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_XXS | IQ3_XXS | IQ3_S |
| Layer 34 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_S | IQ3_XXS | IQ3_S |
| Layer 35 | Full Softmax Attention (GQA) | Locked Q8_0 (2-Pass DWM) | IQ3_S | IQ3_S | IQ3_S |
| Layer 36 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_S | IQ3_S | IQ3_S |
| Layer 37 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_S | IQ3_S | IQ3_S |
| Layer 38 | Gated-DeltaNet (Linear Attn) | Locked Q8_0 (2-Pass DWM) | IQ3_S | IQ3_S | IQ3_S |
| Layer 39 | Full Softmax Attention (GQA) | Locked Q8_0 (2-Pass DWM) | IQ3_S | IQ3_S | IQ3_S |
4. Optimal llama.cpp Launch Profiles (16 GB, 12 GB, & 8 GB VRAM)
Profile A: 16 GB+ VRAM GPU (100% GPU Resident)
Fits the entire 13.822 GiB model + 32K–64K KV cache directly in GPU VRAM:
./llama-server \
-m SAGE-A1P5-DERISKED-TRUE-RCO-13.8GiB.gguf \
-ngl 99 -fa on \
-c 65536 -ctk q8_0 -ctv q8_0 \
-np 1 -b 512 -ub 256 \
--temp 0.6 --top-p 0.95 --top-k 20 --min-p 0.0
Profile B: 12 GB VRAM + 16 GB System RAM (Hybrid MoE Expert Offload)
Keeps 100% of the Q8_0 Dense Active Backbone, Shared Experts, KV Cache, and Layers 0–21 Routed Experts in VRAM (~10.5 GiB), offloading only Layers 22–39 Routed Experts to System RAM:
./llama-server \
-m SAGE-A1P5-DERISKED-TRUE-RCO-13.8GiB.gguf \
-ngl 99 -fa on \
-ot "blk\.(2[2-9]|3[0-9])\.ffn_(gate|up|down)_exps\.weight=CPU" \
-c 32768 -ctk q8_0 -ctv q8_0 \
-np 1 -b 512 -ub 256 \
--temp 0.6 --top-p 0.95 --top-k 20 --min-p 0.0
Profile C: 8 GB VRAM + 16 GB System RAM (Ultra-Fast Active Backbone in VRAM)
Keeps 100% of the Q8_0 Dense Active Backbone (Attention, Gated-DeltaNet, Shared Experts), 32K KV Cache, and Layers 0–8 Routed Experts in 8 GB VRAM (~6.6 GiB), while streaming only the top-8 active routed experts of Layers 9–39 from DDR5 RAM:
./llama-server \
-m SAGE-A1P5-DERISKED-TRUE-RCO-13.8GiB.gguf \
-ngl 99 -fa on \
-ot "blk\.([9]|[1-3][0-9])\.ffn_(gate|up|down)_exps\.weight=CPU" \
-c 32768 -ctk q8_0 -ctv q8_0 \
-np 1 -b 512 -ub 256 \
--temp 0.6 --top-p 0.95 --top-k 20 --min-p 0.0
5. Reproducibility Artifacts Included in This Repository
SAGE-A1P5-DERISKED-TRUE-RCO-13.8GiB.gguf: The mixed-precision GGUF model.SAGE-A1P5-TRUE-RCO.rco-allocation.txt: Exact--tensor-typeCLI flags passed tollama-quantize --imatrix.rco_tensor_manifest.json: Full sensitivity audit (w_var,w_kurt,im_scale, and assigned bit-widths across all 120 routed-expert tensors).