This repository provides quantized GGUF builds of an attention-only orthogonal fusion combining two fine-tunes of thinkingmachines/Inkling-2-Mini onto AgentionAI AP and ISTA-DASLab GSQ-RCO quantized backbones:
BF16 Q/K/V/O attention projections (wq_du, wk_dv, wv_dv, wo_ud), leaving all 1,148 remaining tensors (including gate_attn, all routed MoE experts, embeddings, routers, vision encoder, and DSpark MTP head) byte-identical to base.BF16 attention tensors (the 96 Q/K/V/O projections plus the 72 gate_attn, wr_du, and attn_sink_proj tensors), leaving all 1,130 remaining tensors byte-identical to base.File Selection Note: Every GGUF in this repository passed post-build tensor-level SHA-256 verification, WikiText-2 KL-Divergence checks, and a 12-task GPU evaluation suite covering mathematics, executable coding, multi-turn refactoring, loop-prone prompts, and technical depth.
GSQ-RCO-IQ2_S(9.28 GB) was omitted because it exhibited a multi-turn reasoning loop during testing and recorded higher KL divergence than the smallerAP-IQ2_XXS(8.61 GB) build.
Because benthecarman/Inkling-2-Mini-uncensored modifies only the 96 Q/K/V/O attention tensors and caveman-so/caveling-2-mini modifies only the 168 attention tensors, 100% of both fine-tunes' modified parameters are captured within the 168 attention tensors, with zero omitted MoE expert, router, norm, embedding, vision, or drafter deltas.
To combine both updates without diluting refusal reduction or re-introducing reasoning loops, the 168 attention tensors are merged in FP32 using a loop-aware Gram-Schmidt orthogonal projection prior to single-pass quantization:
For the 96 overlapping projections (attn_q, attn_k, attn_v, attn_output across layers 0..23):
d_ben = W_ben - W_base
d_cav = W_cav - W_base
d_ortho = d_cav - proj(d_cav onto d_ben)
W_fused = W_base + d_ben + alpha * d_ortho
where alpha = 0.70 for recurrent middle layers (blk.6..17)
alpha = 1.00 for outer layers (blk.0..5, blk.18..23)
For the 72 non-overlapping control tensors (attn_gate, attn_rel, attn_sink_proj):
W_fused = W_cav
Key implementation details:
inkling2_loop executes layers blk.6..17 three times per forward pass, scaling the orthogonalized anti-loop component to alpha = 0.70 inside blk.6..17 (alpha = 1.00 on outer layers) reduced loop incidence relative to uniform 1.00 scaling in ablation testing.attn_q, attn_k, attn_v, attn_output, attn_gate) are quantized directly from FP32 to Q8_0 in a single pass, the 48 attn_rel and attn_sink_proj tensors are stored in BF16, and all remaining tensors (all 3,072 routed MoE experts, routers, norms, embeddings, and per-expert scales) are copied byte-for-byte from each donor GGUF.AP-IQ2_XXS Compatibility Fix (llama.cpp b12818+): Upstream llama.cpp PR #28898 (a386950+) requires an explicit .scale tensor for every NVFP4 weight tensor. The AP-IQ2_XXS file in this repository includes the 7 explicit unit-1.0 F32 .scale tensors for blk.{5,8,9,11,17,18,19}.ffn_down_exps (711/711 tensors verified; matched stock PPL 9.1544), verified on upstream llama.cpp b12818+.| File | Donor Backbone | Disk Size | Measured VRAM (-c 6144, q8_0 KV*) |
Target Hardware |
|---|---|---|---|---|
Inkling-2-Mini-Uncensored-Ortho-AP-IQ2_XXS.gguf |
AgentionAI AP v1.2 (updated for b12818+) |
8.61 GB | 8.17 GiB (8,363 MiB) | 8-10 GB VRAM (or 16 GB at 131K context) |
Inkling-2-Mini-Uncensored-Ortho-GSQ-RCO-Q2_K_XL.gguf |
ISTA-DASLab GSQ-RCO | 10.07 GB | 8.90 GiB (9,111 MiB) | 12 GB VRAM |
Inkling-2-Mini-Uncensored-Ortho-GSQ-RCO-IQ3_XXS.gguf |
ISTA-DASLab GSQ-RCO | 10.87 GB | 9.64 GiB (9,871 MiB) | 12 GB VRAM |
Inkling-2-Mini-Uncensored-Ortho-GSQ-RCO-IQ3_S.gguf |
ISTA-DASLab GSQ-RCO | 11.64 GB | 10.35 GiB (10,599 MiB) | 12-16 GB VRAM |
Inkling-2-Mini-Uncensored-Ortho-AP-Q3_K_XL.gguf |
AgentionAI AP (32 per-expert scales preserved) | 13.70 GB | 16 GB+ full GPU | 16-24 GB VRAM (e.g., RTX 4080, RTX 5080, RTX 5090) |
mmproj-Inkling-2-Mini-BF16.gguf |
Stock Vision Projector | 642 MB | -- | Optional: multimodal vision support (--mmproj) |
dspark-Inkling-2-Mini-Q8_0.gguf |
Stock DSpark Drafter | 404 MB | -- | Optional: speculative decoding (-md) |
SHA256SUMS.txt |
Checksums | 779 B | -- | Verify files with sha256sum -c SHA256SUMS.txt |
*VRAM measured with -ngl 99 -ot "token_embd\.weight=CPU" -fa on -ctk q8_0 -ctv q8_0, which keeps the 0.93 GB BF16 token embedding table in system RAM. On 16-24 GB GPUs (such as an RTX 5080 or RTX 5090), -ot can be omitted to keep all tensors on the GPU.
12 x 512, llama-perplexity)Each release file was evaluated against its corresponding stock donor (AgentionAI AP or ISTA-DASLab GSQ-RCO) following full tensor-level SHA-256 verification. When measured directly against benthecarman/Inkling-2-Mini-uncensored on GSQ-RCO-IQ3_S, the fusion records a Mean KLD of 0.003520 and 97.58% Same Top-1 token agreement.
| Release Tier | Size | Tensors Verified | Matched Stock PPL | Mean KLD (lower is better) | Median KLD (lower is better) | RMS delta-p (lower is better) | Same Top-1 (higher is better) |
|---|---|---|---|---|---|---|---|
AP-IQ2_XXS |
8.61 GB | 711 / 711 | 9.1544 | 0.004993 | 0.003005 | 1.543 +/- 0.060 % | 96.569 +/- 0.329 % |
GSQ-RCO-Q2_K_XL |
10.07 GB | 704 / 704 | 8.8530 | 0.006480 | 0.003774 | 1.896 +/- 0.086 % | 95.850 +/- 0.361 % |
GSQ-RCO-IQ3_XXS |
10.87 GB | 704 / 704 | 8.7181 | 0.005791 | 0.003398 | 1.890 +/- 0.134 % | 96.242 +/- 0.344 % |
GSQ-RCO-IQ3_S |
11.64 GB | 704 / 704 | 8.6711 | 0.005569 | 0.003201 | 1.850 +/- 0.134 % | 96.993 +/- 0.309 % |
AP-Q3_K_XL |
13.70 GB | 736 / 736 | 8.4749 | 0.004691 | 0.002649 | 1.603 +/- 0.090 % | 97.484 +/- 0.283 % |
-c 6144, effort=medium, q8_0 KV)All five tiers were evaluated using llama-server (--jinja --reasoning-format auto --reasoning-effort medium) across 12 tasks:
7^2026 + 3^2026 mod 100) and three-machine Bayes posterior probability.k obstacle removals, 2,500-item O(n log n) weighted interval scheduling, and multi-bug non-mutating interval merger repair (all verified via sandboxed Python execution).MiniSearch): Iterative inverted-index implementation, replace/prefix/delete refactoring, and snippet/statistics extension across growing context, graded against 12 Python unit assertions.temp=0.2 and a strict 4-sentence, 9-word-per-sentence letter-'z' constraint prompt at temp=1.0.temp=1.0.| Release Tier | Math (2) | Coding (3) | 3-Turn MiniSearch |
Loop Traps (2) | Technical Depth (2) | Loops Detected | Refusals / Hedging | Avg. Depth Response |
|---|---|---|---|---|---|---|---|---|
AP-IQ2_XXS (8.61 GB) |
2 / 2 | 3 / 3 | Pass (12/12) | 2 / 2 | 2 / 2 | 0 / 12 | 0 / 0 | 7,043 chars |
GSQ-RCO-Q2_K_XL (10.07 GB) |
2 / 2 | 3 / 3 | Pass (12/12) | 2 / 2 | 2 / 2 | 0 / 12 | 0 / 0 | 7,268 chars |
GSQ-RCO-IQ3_XXS (10.87 GB) |
2 / 2 | 3 / 3 | Pass (12/12) | 2 / 2 | 2 / 2 | 0 / 12 | 0 / 0 | 7,195 chars |
GSQ-RCO-IQ3_S (11.64 GB) |
2 / 2 | 3 / 3 | Pass (12/12) | 2 / 2 | 2 / 2 | 0 / 12 | 0 / 0 | 7,768 chars |
AP-Q3_K_XL (13.70 GB) |
2 / 2 | 3 / 3 | Pass (12/12) | 2 / 2 | 2 / 2 | 0 / 12 | 0 / 0 | 8,546 chars |
Evaluated on the multi-constraint Hardy-Weinberg lactase-genetics problem (-c 16384, temp=1.0, top_p=1.0, top_k=50, --reasoning-effort high, without external Python or shell tools). Models that omit conditional parent-child genotype dependencies typically output 48.00 or 45.00; the exact analytical value is 42 + 3 * sqrt(2) = 46.24 inches (to four significant figures).
| Tier | Result | Finish Reason | Output Tokens | Measured VRAM (-c 16384) |
Final Output |
|---|---|---|---|---|---|
AP-IQ2_XXS (8.61 GB) |
Pass (46.24) | stop |
8,994 | 8,577 MiB | 42 + 3*sqrt(2) = 46.24 in |
GSQ-RCO-IQ3_S (11.64 GB) |
Pass (46.24) | stop |
13,983 | 10,813 MiB | 42 + 3*sqrt(2) = 46.24 in |
Note: On an earlier constrained pass (effort=medium, 4,500-token cap), models either hit the token cap mid-derivation or returned the unconditioned 48.00 heuristic. Generous thinking headroom (--reasoning-effort high and >=16K context) is recommended for difficult multi-step compositional math without tools.
GSQ-RCO-IQ3_S)Prior to selecting the final fusion parameters, five candidate merges were evaluated on GSQ-RCO-IQ3_S:
alpha = 0.70 loop-aware orthogonal fusion recorded 0 / 69 loops across temp = 0.2, 0.6, 1.0, scoring 10/10 on executable HumanEval problems, 5/6 on algorithmic coding challenges (including O(log(min(m, n))) median of two sorted arrays over 200,000 elements in under 0.05s), passing a 5-turn stateful coding and complexity-review session (12/12 asserts, 0/5 loops), and completing 10/10 technical depth prompts with an average response length of 5,324 characters at high effort (compared to 2,014 characters and 3 loops on Unbound v3.1 on the same internal test harness).1.00 orthogonal fusion (alpha = 1.00 across all 24 layers) looped on 2 constraint prompts. Grafting only the 72 non-overlapping attention control tensors, or using unmerged benthecarman attention weights, stalled inside <think> on 8 of 10 open-ended depth prompts within the token cap.mmproj / dspark): Both upstream fine-tunes left the vision encoder and DSpark MTP head untouched (upstream evaluations report 99.3% untrained vision retention on caveling-2-mini and unchanged DSpark acceptance on benthecarman), so the stock companion files are included for compatibility. However, our quantized GPU benchmark suite above evaluated text, code, and reasoning tasks only and did not directly re-benchmark --mmproj vision accuracy or -md dspark acceptance rates.PolyStrata): The AP-IQ2_XXS build with 7 explicit unit-1.0 NVFP4 .scale tensors was verified on upstream llama.cpp b12818+. Compatibility with third-party engines such as PolyStrata has not been directly tested.general.name Metadata: The five model files retain their pre-rename staging string (Inkling-2-Mini-Uncensored-Caveling-<tier>) in the GGUF general.name metadata key. This is cosmetic and does not affect weights, inference behavior, or SHA256SUMS.txt verification.llama.cpp b12611+ / b12818+)--reasoning-effort medium is recommended for general use, coding, and long-form technical responses, as it exits thinking blocks concisely and allocates more tokens to the visible response.--reasoning-effort high is recommended for multi-step mathematical and compositional reasoning problems.--temp 1.0 --top-p 1.0 --top-k 50 --min-p 0.0 for general usage, or --temp 0.6 --top-p 1.0 --top-k 0 --min-p 0.0 for deterministic coding workflows. Avoid greedy temp=0 and aggressive repetition/DRY penalties.q8_0, f16, or bf16 KV cache. Inkling-2-Mini does not support q4_0 KV cache.llama-server (Text and Reasoning)# 1. Download a quant and optional vision projector
hf download Abiray/Inkling-2-Mini-Uncensored-Ortho-GGUF \
Inkling-2-Mini-Uncensored-Ortho-GSQ-RCO-IQ3_S.gguf \
mmproj-Inkling-2-Mini-BF16.gguf \
--local-dir ./models
# 2. Prevent tokenizer stack overflow on long repeated characters (Linux/macOS)
ulimit -s unlimited
# 3. Serve on 16-24 GB GPUs (e.g., RTX 4080, RTX 5080, RTX 5090)
# For 8-12 GB cards, add: -ot "token_embd\.weight=CPU" to reduce VRAM by ~0.93 GB
llama-server \
-m ./models/Inkling-2-Mini-Uncensored-Ortho-GSQ-RCO-IQ3_S.gguf \
--mmproj ./models/mmproj-Inkling-2-Mini-BF16.gguf \
-ngl 99 -fa on -c 65536 -b 2048 -ub 128 \
-ctk q8_0 -ctv q8_0 \
--jinja --reasoning-format auto --reasoning-effort medium \
--temp 1.0 --top-p 1.0 --top-k 50 --min-p 0.0 \
--port 8080
llama.cpp b12720+)llama-server \
-m ./models/Inkling-2-Mini-Uncensored-Ortho-AP-Q3_K_XL.gguf \
--mmproj ./models/mmproj-Inkling-2-Mini-BF16.gguf \
-md ./models/dspark-Inkling-2-Mini-Q8_0.gguf -ngld 99 \
-ngl 99 -fa on -c 65536 -b 2048 -ub 64 \
-ctk q8_0 -ctv q8_0 \
--jinja --reasoning-format auto --reasoning-effort medium \
--temp 1.0 --top-p 1.0 --top-k 50 --min-p 0.0 \
--port 8080
hf download Abiray/Inkling-2-Mini-Uncensored-Ortho-GGUF \
Inkling-2-Mini-Uncensored-Ortho-AP-IQ2_XXS.gguf --local-dir .
cat > Modelfile <<'EOF'
FROM ./Inkling-2-Mini-Uncensored-Ortho-AP-IQ2_XXS.gguf
PARAMETER temperature 1.0
PARAMETER top_p 1.0
PARAMETER top_k 50
EOF
ollama create inkling2-uncensored-ortho-ap -f Modelfile
ollama run inkling2-uncensored-ortho-ap
Licensed under Apache 2.0, preserving the license of all upstream projects:
thinkingmachines/Inkling-2-Minibenthecarman/Inkling-2-Mini-uncensoredcaveman-so/caveling-2-miniagentionai/Inkling-2-Mini-AP-GGUFISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF - GSQ (arXiv:2604.18556) and RCO (arXiv:2605.00649)AP-IQ2_XXS Scale Fix, and Packaging: AbirayISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF