nokeepai/Inkling-2-Mini-Unbound grafted into
unsloth/Inkling-2-Mini-GGUF's UD-Q4_K_XL in the older Unsloth looped
layout that the Maya maya-ik2 engine reads: 197-244 t/s with the DSpark
drafter on one RTX 4090, 256K context, images. For mainline llama.cpp use nokeep's own
Inkling-2-Mini-Unbound-GGUF.
| File | Unbound | Tensors replaced | Size | SHA-256 |
|---|---|---|---|---|
Inkling-2-Mini-Unbound-v1.0-UD-Q4_K_XL.gguf |
v1.0: refusal direction removed from 20 attention weights | 20 attn_output (layers 4-23) |
17.6 GB | 5537719f4e0cd169aee1d3404079c241ff74b62c51a8b65f3fcdcc2b92793c71 |
Inkling-2-Mini-Unbound-v2-UD-Q4_K_XL.gguf |
v2: v1.0 + self-distillation fine-tune ("stop dodging") | 120 attn_{q,k,v,output,gate}, all 24 layers |
17.6 GB | 3ffeb66505910bd99fb36a06ebf40058aafc503da5d160b3dcf49d3e83a117f2 |
graft_attn.py |
the script that made them |
Which one: v1.0 keeps closest to the original (perplexity +0.6%). v2 is the one nokeep's 277-prompt judge rates most useful (78.7% / 83.4% genuinely useful answers with thinking off / on vs 51.6% / 62.1% for v1.0), at a measured +4.2% perplexity. If you only want refusals gone with the least drift, the yanauto heretic graft (+0.5%) behaves about the same on our small check.
model-00001-of-00001.safetensors (range-downloaded, 1.3 GB instead of 19.5 GB) was compared byte for byte and by cosine with
the original. v1.0 (v1.0 revision): only wo_ud in layers 4-23. v2 (main): wq_du, wk_dv, wv_dv, wo_ud, gate_attn
in all 24 layers (fine-tune deltas, cosine ≈ 0.9998 to the original). wr_du, attn_sink_proj and a spot check of the
expert tensors are unchanged, as nokeep states.Old_Support/Inkling-2-Mini-UD-Q4_K_XL.gguf_file (arch inkling2): Thinking Machines' NVFP4 experts for
layers 0-19, Q8_0 attention.wq_du → attn_q, wk_dv → attn_k, wv_dv → attn_v, wo_ud → attn_output, gate_attn → attn_gate
(blk.N.*.weight), each quantized to Q8_0 (unsloth's type for all five); everything else byte for byte; a
general.heretic_graft marker names the source revision.python graft_attn.py Inkling-2-Mini-UD-Q4_K_XL.gguf_file unbound-attention.safetensors out.gguf nokeepai/Inkling-2-Mini-Unbound@v2.0
| PPL (8 × 2048, local technical corpus) | thinking off: refused / hedged (of 36) | thinking on: refused / hedged (of 36) | |
|---|---|---|---|
| stock unsloth UD-Q4_K_XL | 4.9112 ± 0.130 | (refuses) | (refuses) |
| yanauto heretic graft | 4.9355 (+0.5%) | 0 / 3 | 1 / 9 |
| Unbound v1.0 | 4.9415 (+0.6%) | 1 / 7 | 0 / 8 |
| Unbound v2 | 5.1192 (+4.2%) | 3 / 6 | 0 / 8 |
| Repo | What | Layout / engine |
|---|---|---|
| kelsey1337/Inkling-2-Mini-heretic-GGUF | yanauto heretic, 23 quants IQ1_S..Q8_0, + unsloth UD-Q4_K_XL graft, + DSpark drafter for current llama.cpp | mainline llama.cpp (inkling2_loop) |
| kelsey1337/Inkling-2-Mini-heretic-UD-Q4_K_XL-Maya-GGUF | yanauto heretic grafted into unsloth UD-Q4_K_XL | Maya (inkling2, old Unsloth layout) |
| kelsey1337/Inkling-2-Mini-Unbound-UD-Q4_K_XL-Maya-GGUF | nokeep Unbound v1.0 and v2 grafted into unsloth UD-Q4_K_XL | Maya (inkling2, old Unsloth layout) |
Sources: thinkingmachines/Inkling-2-Mini (the model and its DSpark drafter
mtp.safetensors), yanauto/Inkling-2-Mini-heretic (Heretic ARA, attention only),
nokeepai/Inkling-2-Mini-Unbound (refusal edit + self-distillation),
unsloth/Inkling-2-Mini-GGUF (the UD quants and both GGUF layouts).
Unsloth's repo holds the same tensors in two GGUF layouts. On 2026-11-23 the root files switched to the mainline layout
(arch inkling2_loop, 24 layers, per-block loop_msg_query) that ggml-org llama.cpp reads since
#32694; the older Unsloth looped layout (arch inkling2, block_count = 48
layer visits, global loop_res_query / loop_kv_res_query, num_loops) moved to Old_Support/. Maya reads only the old layout
(no key inkling2.block_count on a mainline file), mainline llama.cpp only the new one. The grafts here are made on the matching
base, so experts and every untouched tensor stay byte-identical to unsloth's.
Greedy, thinking off, the same 5 prompts through the OpenAI chat API for every engine: short (Dijkstra, 512 tokens), code
(Rust LRU cache, 1,024), prose (story, 900), a 4.9K-token prompt (768 out) and a 39K-token prompt (512 out). Decode t/s; prefill
and time to first token on the 39K prompt.
| Engine | Model file | short | code | prose | 4.9K | 39K | prefill 39K | TTFT 39K | VRAM |
|---|---|---|---|---|---|---|---|---|---|
| Maya + DSpark (256K, FP8 KV) | UD-Q4_K_XL graft (Maya layout) | 197 | 244 | 136 | 200 | 189 | 4,583 | 8.5 s | 23.6 GB |
| Maya, no drafter (256K, FP8 KV) | UD-Q4_K_XL graft (Maya layout) | 156 | 154 | 153 | 144 | 134 | 4,619 | 8.4 s | 22.4 GB |
| llama.cpp master + Inkling speed PRs, no drafter (256K, q8_0 KV) | heretic IQ4_XS | 105 | 105 | 105 | 101 | 93 | 2,514 | 15.6 s | 22.0 GB |
same + DSpark v2 drafter, --spec-draft-n-max 2 (128K) |
heretic IQ4_XS | 136 | 118 | 95 | 104 | 93 | 2,313 | 17.0 s | 20.8 GB |
| llama.cpp 19bc41d + old DSpark n7 (128K, ub 64) | heretic IQ4_XS | 74 | 73 | 49 | 61 | 51 | 632 | 62.0 s | 19.6 GB |
| vLLM nightly + #69165 (Ada support) | yanauto heretic (official NVFP4) | 119 | 118 | 118 | - | - | - | - | only ~2K context fits |
"llama.cpp + Inkling speed PRs" is master 1094646c1 + #32218 (DSpark, head e4b1cb5)
codex/inkling2-flash-attention-cuda: the
relative-position bias computed inside FLASH_ATTN_EXT instead of materialised, which is what lifts prefill 3-4× and allows big
ubatches) + #32855 (mix() operand order) + realugbun's
inkling2-speed fused CUDA glue ops (+35% decode). Perplexity is the
same as plain master within noise. Flags: -fa on -c 262144 -ctk q8_0 -ctv q8_0 -b 4096 -ub 1024 --no-context-shift. Without the
FA-bias patch, keep -ub 64 and expect the 19bc41d row. The old pre-e4b1cb5 DSpark drafter made decode slower than no drafter.Maya maya-ik2 is a dedicated CUDA engine for Inkling 2 Mini (a token is 757
kernel launches replayed as one CUDA graph, vs ~7,350 in llama.cpp; NVFP4 experts decoded in registers onto the tensor cores).
Upstream targets the RTX 3090 (sm_86); its CMake builds maya-ik2 for any sm_80+, and it runs unchanged on the 4090 built for
sm_89. Tested at commit fcd523f (2026-11-23):
FROM nvidia/cuda:13.4.2-devel-ubuntu24.04
RUN apt-get update && apt-get install -y --no-install-recommends cmake ninja-build git ca-certificates curl python3 python3-pip python3-venv build-essential
WORKDIR /opt
RUN git init maya && cd maya && git remote add origin https://github.com/alesha-pro/maya-inkling-mini && \
git fetch --depth 1 origin fcd523faca0c825131df45100b24eacb47dd2cf1 && git checkout -q FETCH_HEAD
WORKDIR /opt/maya
RUN cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=89 -DSTRATA_BUILD_TESTS=OFF && \
cmake --build build -j 8 --target maya-ik2
# image input: the maya-vision encoder against llama.cpp b12590, as Maya pins
RUN git clone --depth 1 -b b12590 https://github.com/ggml-org/llama.cpp third_party/llama.cpp-b12590 && \
cmake -S tools/vision -B build-vision -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLAMA_DIR=third_party/llama.cpp-b12590 && \
cmake --build build-vision -j 12 --target maya-vision
RUN python3 -m venv /opt/venv && /opt/venv/bin/pip install numpy jinja2 regex pyyaml tqdm requests pillow psutil "jsonschema>=4.18,<5" huggingface_hub
ENV PATH=/opt/venv/bin:$PATH
Run config we serve (maya-draft-vision.json, files under models/):
{
"exe": "build/maya-ik2",
"args": ["--model", "models/<this file>.gguf", "--max-context", "262144", "--draft", "models/mtp.safetensors"],
"env": {"IK2_KV": "fp8", "IK2_GATE_TILE": "64", "IK2_GATE_BF16": "1", "IK2_Q8_UNROLL": "1", "IK2_BATCH_PREFILL": "1", "IK2_DRAFT_CTX": "65536"},
"tokenizer": "state/ik2/tokenizer",
"model_name": "inkling-2-mini",
"vision": {"exe": "build-vision/bin/maya-vision", "mmproj": "models/mmproj-BF16.gguf",
"model": "models/<this file>.gguf", "gpu": false, "resident": true}
}
python tools/strata_tokenizer.py --gguf models/<this file>.gguf --out state/ik2 --chat-template tools/ik2/chat_template.jinja --check
MAYA_API_KEY=<your key> python serve/server.py --engine maya --config maya-draft-vision.json --host 0.0.0.0 --port 8080
mmproj-BF16.gguf is unsloth's; mtp.safetensors is Thinking Machines' drafter (no uncensored release edits it)."gpu": false): with the drafter at 256K only ~0.9 GB of VRAM is left. A new image
costs ~5 s (24-core host), a repeated one far less. A synthetic test image (shapes + the text "4090") was described correctly.MAYA_API_KEY (or "api_key" in the config) makes /v1/* require Authorization: Bearer … or x-api-key; without it the
endpoint is open to the LAN.none, auto, low, medium, high, xhigh, max), not llama.cpp's 0-1 floats./v1/chat/completions,
/v1/responses) and Anthropic (/v1/messages) APIs. Load from a local disk: from a USB disk the 17.6 GB file took 3-7 min to
load (and the enclosure dropped off the bus under the sustained reads), from an internal SATA disk 25-45 s.llama-perplexity; the Maya-layout
files with Unsloth's llama.cpp fork b12568, the mainline files with mainline llama.cpp. Relative numbers on the same corpus and
build are what matter; ± is the reported standard error.reasoning_effort: none) and on (high), scored by refusal keywords on the
final answer and a "hedge" list (answered but dodging). A sanity check, not a benchmark; see yanauto's and nokeep's cards for
their evaluations.Model: Thinking Machines. Quants and both GGUF layouts: Unsloth. Heretic edit: yanauto (with Heretic by p-e-w). Unbound: nokeep. Maya: Peasant Smith (@mw00) and the Maya contributors, the Inkling 2 Mini branch by alesha-pro, Windows/CUDA 13 and expert parallel by @cobra91. llama.cpp Inkling work: pwilkin, ngxson, realugbun and the authors of the PRs linked above. Grafts, conversions, benchmarks and uploads by kelsey1337, with Claude Opus 5.5 (Anthropic) operating the pipeline.
This model will answer requests the original refuses. You are responsible for how you use it and for complying with the law and the original acceptable use policy. Abliteration also makes the model more willing to follow instructions injected via untrusted content (web pages, repo files, tool output). Don't give it untrusted input together with live credentials or unsandboxed shell access.