The fastest way we know to run an uncensored Inkling 2 Mini on one 24 GB GPU: 197-244 t/s with the official DSpark
drafter, 136 t/s on prose, 189 t/s on a 39K-token prompt, 256K context, images, on an RTX 4090, in the
Maya maya-ik2 engine. That is 2-3× our best llama.cpp setup and 3× the
llama.cpp build most people run.
It is yanauto/Inkling-2-Mini-heretic (Heretic 2.1 ARA on the attention
output only: 6/100 refusals direct, 20/100 with thinking, MMLU 78.0 vs 78.7, KL 0.049) grafted into
unsloth/Inkling-2-Mini-GGUF's UD-Q4_K_XL, in the older Unsloth looped
layout that Maya reads. Thinking Machines' NVFP4 experts are untouched, so Maya's in-register NVFP4 path applies as it does
to the stock file. Perplexity +0.5% vs stock.
| File | Size | SHA-256 |
|---|---|---|
Inkling-2-Mini-heretic-attn-UD-Q4_K_XL.gguf |
17.6 GB | a6f89593fcbe3cb190a89ba4cd147ae1ac3d2cb9c77a094f51db9f2834385d80 |
graft_heretic.py |
the script that made it |
Old_Support/Inkling-2-Mini-UD-Q4_K_XL.gguf_file (arch inkling2), 17,629,759,456 bytes. Its experts for
layers 0-19 are Thinking Machines' own NVFP4 bits, layers 20-23 MXFP8 → Q8_0, attention projections Q8_0.model-00001-of-00001.safetensors. Heretic changed only model.llm.layers.N.attn.wo_ud.weight
(BF16, the inner linear of the gated attention output); 21 of 24 layers actually differ from the original.wo_ud → blk.N.attn_output.weight, quantized to Q8_0 (the type unsloth used there) with gguf-py; every other
tensor and all metadata copied byte for byte; general.heretic_graft added as a marker. Same size as the base ± 100 bytes.python graft_heretic.py Inkling-2-Mini-UD-Q4_K_XL.gguf_file yanauto-heretic/model-00001-of-00001.safetensors out.gguf
| 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) |
| this file | 4.9355 ± 0.129 (+0.5%) | 0 / 3 | 1 / 9 |
| Unbound v1.0 graft | 4.9415 (+0.6%) | 1 / 7 | 0 / 8 |
| Unbound v2 graft | 5.1192 (+4.2%) | 3 / 6 | 0 / 8 |
Refusal columns: 12 requests × 3 runs at temperature 1.0 in Maya (details under Methodology). At temperature 1.0 the three uncensored builds are within noise of each other on this small check; this one has the smallest drift, which is why it is the one we serve.
| 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.
unsloth/Inkling-2-Mini-GGUF