base_model: mrfakename/Inkling-2-Mini-abliterated-GGUF
license: apache-2.0
tags:
- loom
- loom-serve
- gguf
- strix-halo
- speculative-decoding
- dflash
- vision
Inkling-2-Mini-Abliterated (UD-Q4_K_XL) for AMD Loom
A Loom package (.loom programs and a model.json card) for
mrfakename/Inkling-2-Mini-abliterated-GGUF
(Inkling-2-Mini-abliterated-UD-Q4_K_XL.gguf, the merged 24-layer inkling2_loop container; basethinkingmachines/Inkling-2-Mini), generated on an AMD Ryzen AI Max+ 395 "Strix Halo" with the
loom-skills workflow. It is adapted from the published
base-model package loom-fun/unsloth-Inkling-2-Mini-loom.
The UD-Q4_K_XL file is used directly: its dynamic quant already stores the routed experts as
NVFP4 with f32 scales and the dense tensors as Q8_0/f32, which is exactly the format the programs
bind (744/744 tensor names, types and dims match the prepared reference). The prepared checkpoint
(inkling-loom-fmt.gguf, 17.6 GB, LFS) is included in this repository alongside the programs,
tokenizer and card.
Compared with the upstream base-model card, this port adds:
- the merged-loop
inkling2_looplayout (4-lane loop messages, per-layerloop_msg_query); - image input (
inkling2vprojector, mixed-inputg_embed, native-size preprocessing with the2*u8/255 - 1normalization, and query-tiled attention for large images); - DFlash speculative decoding at depth 1, gated against the no-draft output.
Quick start
pipx install "hrx-loom[hf]==0.2.0"
loom-fetch huggingface:Yanuk-K/Inkling-2-Mini-Abliterated-UD-Q4_K_XL-loom:chat --materialize=copy --output=/path/to/inkling-abliterated
loom-serve --model=/path/to/inkling-abliterated/info.json \
'--device=amdgpu://?completion_spin_ns=4294967295' --parameter_mode=preload \
--memory_bytes=40000000000
--materialize=copyputs copies of the fetched package files in the output directory (the
checkpoint, drafter and projector are fetched from their own repositories byloom-fetch).--parameter_mode=preloadis required whereulimit -lis the distro default (8 MiB): the weights
are read into host memory instead of streamed through pinned buffers.--memory_bytescovers the 131,072-token preset (about 4.6 GiB of KV, 17.6 GB of weights, plus
state).
Through Gufo with the
loom extension, a fetched package directory is
served directly:
gufo serve --host 127.0.0.1 --port 8080 llm --model /path/to/inkling-abliterated
Send a request
curl http://127.0.0.1:8080/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "Inkling-2-Mini-Abliterated-UD-Q4_K_XL",
"messages": [{"role": "user", "content": "Hello"}],
"chat_template_kwargs": {"enable_thinking": false}}'
Performance
Same machine, same 131,072-token context, same client-timed streaming harness (greedy, thinking at the
model default, one engine at a time), Loom with DFlash depth 1 against Gufo's native Inkling engine
with DSpark. Decode counts every generated token, reasoning and answer alike:
| metric | Loom (DFlash) | Gufo fork (DSpark) |
|---|---|---|
| prefill tok/s, 1k / 4k / 8k | 1371 / 1399 / 1830 | 744 / 758 / 898 |
| decode tok/s, short prompt | 58.3 | 46.0 |
| decode tok/s, 2k context | 51.4 | 43.2 |
| decode tok/s, 8k context | 49.1 | 42.5 |
| decode tok/s, 32k context | 39.8 | 34.3 |
| JSON task, decode | 62.0 | 55.7 |
| prose task, decode | 51.1 | 40.1 |
| highly predictable text (counting) | 61.2 | 65.7 |
Loom is about 1.8-2x faster at prefill and 10-25 % faster at decode at the same context; the fork only
wins on maximally predictable text. Earlier llama.cpp b1384 measurements for the previous prepared
file are retained in REPORT.md; the llama.cpp build available for this update does not load theinkling2_loop architecture.
With the image component loaded
Text speed is unchanged. Image requests, greedy (TTFT includes the image encoder and prefill):
| image | merged image tokens | TTFT | decode |
|---|---|---|---|
| 640x480 | 192 | 0.65 s | 58.1 tok/s |
| 640x640 | 256 | 0.73 s | 59.3 tok/s |
| 2080x1640 | 2,132 | ~5.7 s | 55 tok/s |
The 2080x1640 case is 8,528 patch tokens; the tower's query-tiled attention encodes it in about 5 s
(the same tower is used for every input size; 640x480 alone encodes in about 0.5 s).
Features
| feature | status | detail |
|---|---|---|
| API | ✅ | OpenAI-style /v1/chat/completions |
| tool calling | ✅ | OpenAI-style tools / tool_calls (inkling2 call format) |
| reasoning / thinking | ✅ | on by default; reasoning_effort: "none" (or chat_template_kwargs: {"enable_thinking": false}) uses effort 0: a short trace, then the answer |
| reasoning effort | ✅ | none, minimal, low, medium, high, xhigh, max (default high) |
| speculative decoding | ✅ | DFlash, depth 1, on by default; drafter unsloth/Inkling-2-Mini-GGUF |
| image input | ✅ | inkling2v projector; OpenAI image_url content parts |
| audio input / output | — | not applicable |
| sampling | ✅ | temperature, top_p, top_k, seed |
| context size | ✅ | 131,072 tokens per request (native 1,048,576) |
| concurrency | ✅ | 4 concurrent requests |
| max output tokens | ✅ | 4,096 (preset max_tokens) |
Correctness
The port's gates were recorded on the prepared reference file (the same programs and tensor layout
the UD file uses):
| gate | description | result |
|---|---|---|
compare |
Greedy output vs llama.cpp on the same GGUF, token by token; every divergence is a near-tie | ✅ pass |
vision |
Image input vs llama.cpp with the same projector: identical prompt tokens, replies equal up to near-ties | ✅ pass (6/6 images) |
spec |
Speculative decoding on gives the output of speculative decoding off (near-ties by llama.cpp) | ✅ pass |
kernel_tests |
Unit tests of the generated kernels against reference implementations | partial (encoder stages + pad) |
consistency, agent, sampling, logits |
concurrency, multi-turn tools, sampling, host logits | — no evidence |
For UD-Q4_K_XL specifically: the checkpoint binds 744/744 tensors with identical names, types and dims
to the prepared reference, and a 12-request text+vision run through Loom produced correct answers
(e.g. Red circle, blue square, green triangle) at the speeds above.
Files
model.json/model.json.lock: the card and the pinned component files (size and sha256 checked byloom-fetch).program/*.loom: the text program and the vision component (vision_*),weights.loom/head_weights.loom.tokenizer.json: the tokenizer (identical to the base GGUF's).llm_config.json: the configuration the programs were generated from.info.json: the measurements, gate evidence and versions this card shows.REPORT.md: how the values above were measured.
Versions: card schema loom-card/3; loom-skills inkling2-loop branch; hrx-loom 0.2.0; card
generator manual.
Source files, fetched by loom-fetch from their own repositories:
- checkpoint: this repository @
a71e02d,inkling-loom-fmt.gguf(the UD-Q4_K_XL file used directly,
from mrfakename/Inkling-2-Mini-abliterated-GGUFInkling-2-Mini-abliterated-UD-Q4_K_XL.gguf) - drafter: unsloth/Inkling-2-Mini-GGUF @
ea0c79b,dspark-Inkling-2-Mini-Q8_0.gguf - vision projector: AtomicChat/Inkling-2-Mini-Uncensored-GGUF
@40886ab,mmproj-Inkling-2-Mini-Uncensored-BF16.gguf(the base projector; theinkling2vtower
is unchanged by the abliteration)
Credits
- Program skeleton, merged-loop layout notes and card structure: the published base-model package
loom-fun/unsloth-Inkling-2-Mini-loom.
This repository adapts its programs to the abliterated finetune, adds the 4-laneinkling2_loop
message patch, theinkling2vvision component, the mixed-inputg_embedand the UD checkpoint. - Base model: thinkingmachines/Inkling-2-Mini.
- Abliterated UD-Q4_K_XL quant: mrfakename/Inkling-2-Mini-abliterated-GGUF.
- Drafter: unsloth/Inkling-2-Mini-GGUF.
License: Apache-2.0, following the base model and this package's programs.