Usuzumi-Inkling-2-Mini-A2.5B (θε’¨ β v2)
English | ζ₯ζ¬θͺ (README_JA.md) | llama.cpp Fork (usuzumi-inkling) | SWE-bench Logs & Diffs | Papers & License Audit | v1 Snapshot (v1 tag)
Usuzumi v2 (θε’¨ v2) is a fast, compact (8.85β9.54 GiB), uncensored Japanese + English multimodal local agent built on thinkingmachines/Inkling-2-Mini (26B total parameters, frozen 3-bit MoE experts).
Compared to v1 (preserved under the v1 tag), v2 introduces four major upgrades aimed at 8β16 GB RAM laptops and single consumer GPUs:
- Multi-Gear Non-Renormalized CED-MoE (
arXiv:2611.34983) with True 0-FLOPs / 0-SSD-Byte Skip: Distilled from full-precisionInkling-2-Mini-Prime-LoRAv1.1 Top-64 logits acrossK=3, dynamic CED (ΞΈ=0.22),K=4, and3-3-3 β K=2. AtCED ΞΈ=0.22(PrefillK=3protected),DenseQ8_0reachesMATH-500 87.0%(exceeding 16.6 GiBPrime K=8's85.0%and beating v1K=4by+6.0 pt),GSM8K 92.0%,MMMLU-JA 74.5%,Tools 100%, andAntidoom hit_max 6.67%β while running1.51Γfaster thanPrime K=8(71.4 vs 47.2 t/son TITAN RTX) and+28.5%faster than v1K=4under a 2 GiB SSD expert cache. - Sub-9 GiB
DenseQ5_K(8.92 GiB) &DenseQ4_K(8.85 GiB): Selectivetoken_embdQ8_0quantization (-414 MiB) for 8β16 GB RAM devices while keepingBF16token_embdonDenseQ8_0(9.54 GiB) for peak coding/math accuracy (DenseQ5_Khits79.3 t/son TITAN RTX andMATH-500 81.0%,+5.0 ptover v1DenseQ5_K). - Coda-Preserving
24/48L&36/48LLLKV + QSA v3 (LLK1, 8.36 / 5.17 MiB): Optional plug-in sidecars for ourllama.cppfork that execute intermediate long-context prefill chunks in 1β2 passes and project remaining passes' rotated KV + raw QSA keys, while keeping the final prompt chunk and all decode steps exact 48L β giving1.96Γfaster 32K prefill under 2 GiB SSD streaming (89.5 β 175.6 t/s) with 100% 32K Japanese NIAH PASS. - Dedicated v2 Rank-1 Heretic Abliteration & Clean
chat_template: Freshly extractedusuzumi_v2_heretic_r1_s085.gguf(0/12refusals), keeping the nativeInkling-2-Minisystem format untouched with defaultreasoning_effort=0.2(doom_loop 0.83%,hit_max_len 6.67%).
Which File Should I Download?
| File | Size | Best For | Measured Decode Speed (TITAN RTX) |
|---|---|---|---|
Usuzumi-Inkling-2-Mini-A2.5B-DenseQ8_0.gguf |
9.54 GiB | Highest accuracy β BF16 embeddings, NVIDIA GPUs, hard math & coding |
CED022: 71.4 t/s (1.51Γ vs Prime) / K=3: 65.5 t/s |
Usuzumi-Inkling-2-Mini-A2.5B-DenseQ5_K.gguf |
8.92 GiB | Best for 8β16 GB laptops & Vulkan iGPUs β Q8_0 embeddings (-414 MiB), top JA VLM |
K=3: 79.3 t/s (1.68Γ vs Prime) / 2 GiB SSD cache (3090): 69.3β72.8 t/s |
Usuzumi-Inkling-2-Mini-A2.5B-DenseQ4_K.gguf |
8.85 GiB | CPU-only / ultra-low-RAM machines β Q8_0 embeddings, smallest footprint |
Fastest on x86 AVX2 CPU (-ngl 0) |
Optional add-ons (included in this repo except mmproj):
- Vision / Images (
mmproj): Downloadmmproj-Inkling-2-Mini-Q8_0.gguf(0.64 GB) fromnokeepai/Inkling-2-Mini-Prime-GGUFand pass--mmproj mmproj-Inkling-2-Mini-Q8_0.gguf. - 32Kβ64K Long Context:
inkling2-qsa-indexer-v3.bin(22.5 MiB) + optionalusuzumi_v2_llkv24_qsa.bin(8.36 MiB,1.96Γ32K prefill) orusuzumi_v2_llkv36_qsa.bin(5.17 MiB,1.25Γ32K prefill). - Already own
Inkling-2-Mini-GSQ-RCO-Q2_K_XL.gguf? Rebuild byte-identical GGUFs locally from just 231 MiB β see Local Delta Rebuild below.
Quickstart
Option 1: Try Immediately with Standard llama.cpp
Works out of the box with any recent llama.cpp supporting inkling2_loop (runs native K=8; concise effort=0.2 & uncensoring are baked in). Always pass --jinja:
llama-server -m Usuzumi-Inkling-2-Mini-A2.5B-DenseQ5_K.gguf -ngl 99 --flash-attn on -c 16384 --jinja
Option 2: Unlock All v2 Gears, 8 GB SSD Streaming & 1.96Γ 32K Prefill (usuzumi-inkling Fork)
Build shibadogcap/llama.cpp (usuzumi-inkling branch, commit f8f0899) or apply inkling_llamacpp.patch to ggml-org/llama.cpp commit 115deee8e:
git clone -b usuzumi-inkling https://github.com/shibadogcap/llama.cpp.git llama.cpp-usuzumi
cd llama.cpp-usuzumi
# Pick backend: -DGGML_CUDA=ON (NVIDIA) / -DGGML_VULKAN=ON (Windows/AMD/Intel) / -DGGML_METAL=ON (Apple Silicon)
cmake -B build -DGGML_CUDA=ON -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_EXAMPLES=OFF
cmake --build build --target llama-server llama-bench -j
Reversible Runtime Gears (Single GGUF β Switch via Env Vars)
- Recommended Default β Dynamic CED
ΞΈ=0.22(PrefillK=3protected, true 0-FLOPs/0-SSD skip):
export INKLING_CED_NATIVE_K=8
export INKLING_CED_THETA=0.22
export INKLING_MOE_TOPK=4 INKLING_MOE_TOPK_PREFILL=3 INKLING_MOE_TOPK_CORE=3
export INKLING_LOOP_SEMI_SHARED=0
export LLAMA_ATTN_ROT_DISABLE=1 # faster with q8_0 KV cache
./build/bin/llama-server \
-m Usuzumi-Inkling-2-Mini-A2.5B-DenseQ8_0.gguf \
-ngl 99 -fa on -ctk q8_0 -ctv q8_0 -c 32768 --jinja
Fixed Non-Renorm
K=3Gear (lowest variance, topMMMLU-JA 76.2%avg): Setunset INKLING_CED_THETAandINKLING_MOE_TOPK=3 INKLING_MOE_TOPK_PREFILL=3 INKLING_MOE_TOPK_CORE=3(keepINKLING_CED_NATIVE_K=8).Ultra-Low-Bandwidth Eco Gear (
3-3-3 β K=2,22.8 MB/tok,90.1%2 GiB cache hit): Setunset INKLING_CED_THETAandINKLING_MOE_TOPK=2 INKLING_MOE_TOPK_PREFILL=3 INKLING_MOE_TOPK_CORE=3(keepINKLING_CED_NATIVE_K=8). Best for everyday chat, JP Q&A, GSM8K, and tool calling on extreme low-RAM/battery setups; switch back toCED022orK=3for competition math or complex coding.8 GB RAM SSD Streaming + 1.96Γ 32K Long-Context Prefill (
LLKV 24/48L+ QSA v3 + Hadamardq4_0KV):
unset LLAMA_ATTN_ROT_DISABLE # keep Hadamard rotation ON for q4_0 KV!
export INKLING_CED_NATIVE_K=8 INKLING_CED_THETA=0.22
export INKLING_MOE_TOPK=4 INKLING_MOE_TOPK_PREFILL=3 INKLING_MOE_TOPK_CORE=3
export INKLING_SSD_STREAM=1 INKLING_SSD_EVICT_DONTNEED=1 INKLING_MOE_CACHE_MAX_BATCH=64
export INKLING_QSA_INDEXER_PATH=./inkling2-qsa-indexer-v3.bin
export INKLING_QSA_BUDGET=2048 INKLING_QSA_LOCAL=512 INKLING_QSA_SINK=64
export INKLING_LLKV_PATH=./usuzumi_v2_llkv24_qsa.bin # or usuzumi_v2_llkv36_qsa.bin
./build/bin/llama-server \
-m Usuzumi-Inkling-2-Mini-A2.5B-DenseQ5_K.gguf \
-ngl 99 --cpu-moe --moe-cache-mib 2048 -b 512 -ub 512 -fa on -ctk q4_0 -ctv q4_0 -c 65536 --jinja
Benchmarks (Honest OOD, Full-Size Suites)
All benchmarks below are held-out OOD suites (none were trained on; Antidoom indices 0..119 are strictly disjoint from idx >= 250 training prompts). All v2 runs use the batched-decode-fixed llama.cpp binary (f8f0899) with verified 0/12 refusals.
1. General, Japanese, Coding, Vision & Stability (854-Item OOD Suite)
| Model / Gear | Size | Active K |
GSM8K (200) | MATH-500 (100) | HumanEval (164) | MMMLU-JA (200) | Tools (25) | JAMMEval JA VLM (45) | Antidoom Loop β | Antidoom Max β | TITAN RTX tg128 |
|---|---|---|---|---|---|---|---|---|---|---|---|
Prime v1.1 Q4_K_M (Teacher) |
16.6G | 8 | 93.0% | 85.0% | 91.5% | 79.5% | 100% | 73.3% | 0.83% | 12.5% | 47.2 t/s |
Stock GSQ Q2_K_XL (Base) |
9.12G | 8 | 93.5% | 89.0% | 92.1% | 74.5% | 100% | 80.0% | 5.00% | 29.2% | 49.7 t/s |
Usuzumi v1 DenseQ8_0 |
9.54G | 4 | 90.0% | 81.0% | 89.0% | 73.0% | 100% | 77.8% | 0.83% | 10.8% | 56.8 t/s |
Usuzumi v1 DenseQ5_K |
9.22G | 4 | 91.5% | 76.0% | 86.6% | 73.0% | 100% | 82.2% | 1.67% | 8.3% | 67.4 t/s |
Usuzumi v2 DenseQ8_0 (CED022, eff=0.2) |
9.54G | ~2.8 | 92.0% | 87.0% | 87.2% | 74.5% | 100% | 73.3% | 0.83% | 6.67% | 71.4 t/s (1.51Γ) |
Usuzumi v2 DenseQ8_0 (K=3 3-run avg) |
9.54G | 3 | 92.2% | 81.7% | 88.6% | 76.2% | 98.7% | 74.1% | 1.39% (best 0.0%) | 9.2% (best 6.7%) | 65.5 t/s (1.39Γ) |
Usuzumi v2 DenseQ5_K (K=3, sub-9G) |
8.92G | 3 | 90.0% | 81.0% | 84.8% | 74.0% | 100% | 77.8% | 2.50% | 12.5% | 79.3 t/s (1.68Γ) |
Usuzumi v2 DenseQ8_0 (3-3-3βK=2 Eco) |
9.54G | 2 | 90.5% | 66.0% | 74.4% | 70.0% | 100% | 71.1% | 5.83% | 11.7% | 68.0 t/s (22.8 MB/tok) |
- Honest trade-off on
3-3-3 β K=2: Everyday chat, arithmetic (GSM8K 90.5%), tool calling (100%), JP Q&A (70.0%), and VLM (71.1%) work cleanly at22.8 MB/tok(90.1%2 GiB cache hit), while hard competition math (66.0%) and complex coding (74.4%) drop noticeably vsCED022/K=3. KeepCED022orK=3as your everyday default and drop toK=2only when RAM/battery is tightly constrained.
2. Real Coding Agent: Public SWE-bench_Verified (8 Real OSS Issues via Pi CLI)
Evaluated on 8 unmodified public issues from princeton-nlp/SWE-bench_Verified (sympy/sympy Γ 4, django/django Γ 4; pre-verified base=FAIL, gold=PASS) using the real @mariozechner/pi-coding-agent CLI (read,edit,write,bash,grep,find,ls, 32K ctx, official test_patch hidden). All diffs & traces are published in PI_SWEBENCH_COMPARISON.md.
| Model | Gear | Size | Resolved (PASS) | Patch Rate | Timeouts | Total Out Tokens | Host / Timeout |
|---|---|---|---|---|---|---|---|
Stock Q2_K_XL |
K=8 |
9.12 GiB | 6/8 (75.0%) | 6/8 | 2 | 54,056 | RTX 3090 / 240s |
Prime v1.1 Q4_K_M |
K=8 |
16.56 GiB | 6/8 (75.0%) | 7/8 | 1 | 48,689 | RTX 3090 / 240s |
Prime v1.1 Q4_K_M |
K=4-3-4 |
16.56 GiB | 6/8 (75.0%) | 6/8 | 0 | 68,227 | RTX 3090 / 240s |
Usuzumi v1 DenseQ8_0 |
K=4-3-4 |
9.54 GiB | 6/8 (75.0%) | 7/8 | 0 | 59,962 | RTX 3090 / 240s |
Usuzumi v1 DenseQ5_K |
K=4-3-4 |
9.22 GiB | 5/8 (62.5%) | 7/8 | 0 | 63,942 | RTX 3090 / 240s |
Usuzumi v2 DenseQ8_0 |
CED ΞΈ=0.22 (pf K=3) |
9.54 GiB | 5/8 (62.5%) | 7/8 | 1 | 61,265 | TITAN RTX / 420s (3090-equiv.)* |
Usuzumi v2 DenseQ8_0 |
CED K=3-3-3 |
9.54 GiB | 4/8 (50.0%) | 6/8 | 0 | 78,677 | TITAN RTX / 420s (3090-equiv.)* |
Usuzumi v2 DenseQ5_K |
CED K=3-3-3 |
8.92 GiB | 4/8 (50.0%) | 6/8 | 0 | 81,402 | TITAN RTX / 420s (3090-equiv.)* |
*TITAN RTX runs at ~0.57Γ RTX 3090 bandwidth, so 420s normalizes the compute budget to RTX 3090 240s. Under a strict 240s wall-clock cap on TITAN RTX, v2 CED022 scored 4/8 (52,077 out tok, 4 TO), and v2 Q8_0 K=3 / Q5_K K=3 scored 3/8 (4 TO). Notably, v2 CED022 solved django__django-17084 (which Stock K=8, Prime K=8, Prime K=4, and v1 Q5_K all missed). For heavy multi-file debugging where maximum accuracy matters more than speed, switch the same GGUF up to INKLING_MOE_TOPK=4 or 8.
3. Speed & 32K Long-Context LLKV Verification
| Workload / Hardware | Baseline | Usuzumi v2 | Speedup / Result |
|---|---|---|---|
RTX 3090 (2 GiB MoE cache + SSD_STREAM=1, tg255) |
K=4: 56.7 t/s |
K=3: 69.3 t/s / CED022: 69.7 t/s / CED026: 72.8 t/s |
+23% to +28.5% (true -1 zero SSD read/eviction) |
RTX 3090 (Full GPU, pp702, DenseQ5_K) |
K=4: 726 t/s |
K=3: 1,510 t/s / CED028: 1,624 t/s |
2.24Γ |
TITAN RTX 32K Japanese NIAH (26,364 tok, Full GPU) |
48L: 1,129 t/s |
36L LLKV: 1,407 t/s / 24L LLKV: 1,529 t/s |
1.35Γ, 100% exact PASS (KAZE-9417-USUZUMI) |
TITAN RTX 32K Japanese NIAH (2 GiB Cache + SSD_STREAM=1) |
48L (3090): 89.5 t/s |
24L LLKV (8.36 MiB): 175.6 t/s |
1.96Γ, 100% exact PASS |
CPU-only -ngl 0 (DenseQ5_K) |
K=3: pp 22.4 / tg 11.8 |
CED026: pp 24.3 / tg 12.1 t/s |
True -1 skip verified on CPU, CUDA (compute-sanitizer: 0 errors) |
(v1 hardware floor baselines β Windows 11 Radeon 880M Vulkan DenseQ5_K 18.1 t/s, 2018 Intel Mac mini CPU DenseQ4_K 9.0 t/s, Linux 8 GB SSD_STREAM=1 Peak RSS 3.90 GiB β carry over directly and benefit further from v2's K=3 / CED and -414 MiB embedding savings.)
Technical Details & Local 231 MB Delta Rebuild (Click to expand)
How Usuzumi v2 Was Built
- Frozen 3-bit MoE backbone: All 48 routed MoE expert tensors from
ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-Q2_K_XL.ggufare kept bit-for-bit untouched. - Full-precision
Prime v1.1Top-64 logit distillation (r=96, 337 dense/router/head modules): Trained across 2,616 filtered JP+EN text, coding, tool-calling, and 16-domain real-image VQA traces using unified non-renormalized CED-MoE (native_k=8) multi-gear sampling (K=335% / dynamic CEDΞΈβ[0.19,0.27]35% /K=415% /3-3-3βK=215%;--router-mass-weight 0.005,--hot-cache-weight 0.0). - Dedicated v2 Heretic (
r=1,s=0.85): Freshly extracted directly from v2 activations (usuzumi_v2_heretic_r1_s085.gguf, 202 KiB, 19attn_outputtensors,0/12refusals) without touching the system prompt line; only defaultreasoning_effortis set to0.2. - Coda-preserving
LLK1LLKV + QSA v3 projectors: Fitted on final v2 weights (usuzumi_v2_llkv24_qsa.bin8.36 MiB /usuzumi_v2_llkv36_qsa.bin5.17 MiB,qsa_k_raw_cos = 0.973β0.974), active automatically on intermediate prefill chunks (n_outputs == 0 && n_tokens >= 256).
Local 231 MB Delta Rebuild
If you already own Inkling-2-Mini-GSQ-RCO-Q2_K_XL.gguf, download only usuzumi_v2_best.gguf (231 MiB) + usuzumi_v2_heretic_r1_s085.gguf (202 KiB) + merge_dense_lora_gguf.py to recreate byte-identical GGUFs locally:
export GGML_BASE_LIB=/path/to/libggml-base.so # ggml-base.dll on Windows, libggml-base.dylib on macOS
# DenseQ8_0 (9.54 GiB, BF16 embeddings)
python3 merge_dense_lora_gguf.py \
--base-gguf Inkling-2-Mini-GSQ-RCO-Q2_K_XL.gguf \
--lora usuzumi_v2_best.gguf \
--lora usuzumi_v2_heretic_r1_s085.gguf \
--quant-merged-attn Q8_0 --quant-merged-output Q8_0 \
--default-reasoning-effort 0.2 \
--model-name "Usuzumi-v2-Inkling-2-Mini-A2.5B-DenseQ8_0" \
--out-gguf Usuzumi-Inkling-2-Mini-A2.5B-DenseQ8_0.gguf
# DenseQ5_K (8.92 GiB, Q8_0 embeddings)
python3 merge_dense_lora_gguf.py \
--base-gguf Inkling-2-Mini-GSQ-RCO-Q2_K_XL.gguf \
--lora usuzumi_v2_best.gguf \
--lora usuzumi_v2_heretic_r1_s085.gguf \
--quant-merged-attn Q5_K --quant-merged-output Q8_0 --quant-embd Q8_0 \
--default-reasoning-effort 0.2 \
--model-name "Usuzumi-v2-Inkling-2-Mini-A2.5B-DenseQ5_K" \
--out-gguf Usuzumi-Inkling-2-Mini-A2.5B-DenseQ5_K.gguf
Credits, Citations, License & Acceptable Use
- License:
Apache-2.0, inherited fromthinkingmachines/Inkling-2-Mini. Use of this model is also subject to the Thinking Machines Model Acceptable Use Policy. - Base Model:
thinkingmachines/Inkling-2-Mini(Apache-2.0). - Frozen 3-bit GSQ-RCO Experts:
ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF(arXiv:2604.18556,arXiv:2605.00649,Apache-2.0). - Teacher Model (
v1.1):nokeepai/Inkling-2-Mini-Prime-LoRA&nokeepai/Inkling-2-Mini-Prime-GGUF(Apache-2.0). - CED-MoE (New in v2): Linxiao Li, Weipeng Cao, Jiongjiong Gu, Tingting Song, Miao Liu, Zhixiang Lu, Fanyue Kong, Zhiying Li, Minxian Xu, Qiuwu Chen, Zhong Ming (2026), "CED-MoE: Reversible Service Tiers from Frozen Expert Routers",
arXiv:2611.34983. - LLKVApprox (New in v2):
alimpfard/qwen3.8-27b-kv-approximation(Apache-2.0) and Naoki Kishida (nowokay, llkvapprox web demo). - Embedding & Low-RAM Quantization Reference (New in v2):
shinmegamiboson/Inkling-2-Mini-LookAtMyQuant-3.9-5.6GB. - Antidoom Evaluation Benchmark: Sam Paech et al. (2026), "Reducing Doom Loops with Final Token Preference Optimization", Liquid AI Blog,
Liquid4All/antidoom,LiquidAI/antidoom-mix-v1.0(Apache-2.0). - QSA v3 Indexer & Strata Reference:
tamanekokoro/Inkling-2-Mini-QSA-Indexer(MIT) andNiko1221/Strata. - Refusal-Direction Abliteration: Inspired by Heretic /
OpenUncensored/Inkling-2-Mini-Uncensored-LoRA(Apache-2.0). - Inference Engine:
ggml-org/llama.cpp(MIT) β our fork:shibadogcap/llama.cpp(usuzumi-inkling). - Full Dataset & License Audit: See
LICENSE_AND_CREDITS_AUDIT.md.
- Downloads last month
- 1,533
8-bit
Model tree for shibadogcap/Usuzumi-Inkling-2-Mini-A2.5B
Base model
thinkingmachines/Inkling-2-Mini