Inkling-2-Mini (UD-Q4_K_XL) for AMD Loom
A Loom package (.loom programs and a model.json card) for the unmodified GGUF checkpoint unsloth/Inkling-2-Mini-GGUF (Inkling-2-Mini-UD-Q4_K_XL.gguf), generated on an AMD Ryzen AI Max+ 395 "Strix Halo" with the loom-skills workflow. Learn more on the Loom ecosystem website.
Quick start
pipx install "hrx-loom[hf]==0.3.0"
loom-fetch huggingface:loom-fun-staging/unsloth-Inkling-2-Mini-loom:chat --output=./unsloth-Inkling-2-Mini-loom
loom-serve --model=./unsloth-Inkling-2-Mini-loom '--device=amdgpu://?completion_spin_ns=4294967295' --pool_backing=fixed
completion_spin_ns=4294967295enables active waiting for GPU completions (uses CPU while GPU work is in flight); the card's performance measurements use this setting.--pool_backing=fixedcommits the preset's memory pool up front instead of growing elastic backing.
Send a request
In another terminal (optional thinking is turned off):
curl http://127.0.0.1:8080/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "Inkling-2-Mini", "messages": [{"role": "user", "content": "Hello"}], "chat_template_kwargs": {"enable_thinking": false}}'
Performance vs llama.cpp
| metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline |
|---|---|---|---|---|---|
| decode tok/s, short prompt | β | 55.0 | β | 98.5 | 56 % |
| decode tok/s, 2k context | β | 51.8 | β | 93.8 | 55 % |
| decode tok/s, 32k context | β | 45.0 | β | 78.0 | 58 % |
| prefill tok/s, 1k document | β | 1820.3 | β | 9583.4 | 19 % |
| prefill tok/s, 2k document | β | 2047.1 | β | 9283.9 | 22 % |
| prefill tok/s, 8k document | β | 2132.7 | β | 8991.6 | 24 % |
| prefill tok/s, 16k document | β | 2093.2 | β | 8642.8 | 24 % |
| prefill tok/s, 32k document | β | 1963.7 | β | 8020.5 | 24 % |
| 4 streams, aggregate decode tok/s | β | 106.0 | β | 379.1 | 28 % |
| speculative decoding, drafted tokens accepted | β | β | β | n/a | n/a |
Methodology
- The table reports SDK 0.3.0 Loom measurements. The historical ROCm
b1383run supplied no paired throughput results. - Out of the box on both engines: Loom serves the preset shipped in this package; llama.cpp runs its build defaults plus only the server arguments listed below (offload, context and slots). No tuning sweep on either engine.
- Drafting, 1-stream rows (decode, decode_2k, decode_32k, prefill): Loom DFlash depth 3; llama.cpp ROCm no drafting (NOT the same choice on both engines). Each engine is loaded once for all these rows.
- 4 streams: both engines loaded with drafting off, 4 parallel requests, aggregate tokens per second.
- Rows: decode = short-context decode; decode_2k / decode_32k = decode after a ~2k / ~32k-token context; prefill_Nk = prompt processing of an N k-token prompt; streams4 = 4-stream aggregate decode. A margin within +-3 % (the measured same-runner noise) is a tie.
- llama.cpp ROCm server arguments:
-ngl 99 -cram 0 -c 38000 -kvu -np 1 --temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0 (c4: -c 35024 -np 4). - Measured on AMD DevLab Dispatch Strix Halo runners (
devlab-perfjobs); runners differ between sessions. - Margin vs best llama.cpp: (Loom / max(ROCm, Vulkan) - 1) Γ 100 %, using the available measured tokens/s for each row on this GPU. With only one valid backend, that backend is used; with neither, the margin is not measured. Raw backend values and their measurement sources are retained below and in the table.
- Measured 2026-11-23; device AMD Strix Halo (DevLab Dispatch runner X2-LA03-S04-D03), Linux; hrx-loom
0.3.0(hrx-systeme2c41a7); source: DevLab Dispatch run 45267522252. - Drafted tokens accepted: the share of the drafter's proposed tokens the model accepted during the
specgate's requests. - Roofline: the hardware ceiling for this GGUF on AMD Ryzen AI Max+ 395 "Strix Halo" (gfx1151) at 228 GB/s and 44 TFLOP/s sustained at 85 W (spec 59), from loom-roofline
roofline.py(loom-skills unknown commit); single-pass ceiling (no acceptance measured on this package) for decode, decode at 2k, decode at 32k; 4 streams run without drafting, so its ceiling is single-pass; the 4-stream ceiling of this mixture-of-experts model assumes the four streams route to the same experts (the bound a run may not exceed). - β not measured; n/a not applicable.
Features
| feature | status | detail |
|---|---|---|
| API | β | OpenAI-style /v1/chat/completions |
| tool calling | β | OpenAI-style tools and tool_calls |
| reasoning / thinking | β | on by default; chat_template_kwargs: {"enable_thinking": false} turns it off |
| reasoning effort | β | reasoning_effort: none, minimal, low, medium, high, xhigh, max (default high) |
| speculative decoding | β | DFlash, depth 3, on by default; drafter unsloth/Inkling-2-Mini-GGUF |
| image input | β | not supported by Loom (the upstream model has it) |
| audio input / output | β | not applicable |
| sampling | β | temperature, top-k, and seeded reproducibility |
| context size | β | 262,144 tokens per request |
| concurrency | β | 4 concurrent requests |
| max output tokens | β | 4,096 (preset max_tokens) |
Correctness
The staged Strix Halo chat preset passed all seven applicable full correctness gates on SDK 0.3.0. Qualification used llama.cpp ROCm b1384 with the separately pinned Mainline_Support checkpoint and Inkling's channel renderer. 0 of 24 bad prompts against ROCm b1384. Maximum first-divergence gap 0.251 nat. Repeated single requests matched exactly. Maximum measured concurrent first-divergence gap 0.537 nat. 3/13 exact and 10/13 accepted under the existing near-tie rule. Maximum greedy gap 0.152 nat.
ADMITTED 262065 tokens of a 262144-token context (2.5s, then cancelled). The local Linux probe uses a TCP reset to retire prefill. With a graceful close, the server treats EOF as a half-close and may continue processing the request. The same-runner transport test measured 1.5 seconds from reset to idle for a near-limit request. Transport test
| gate | description | result |
|---|---|---|
kernel_tests |
Unit tests of the generated kernels against reference implementations | β no evidence |
golden |
llama.cpp reference recorded on the same GGUF: greedy tokens and top-5 log-probs, short prompts and 1k-32k documents | β pass ΒΉ |
compare |
Greedy output vs the llama.cpp reference, 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 | β not applicable |
consistency |
Concurrent requests match the same requests alone or differ only at verified near-ties | β pass ΒΉ |
spec |
Drafted outputs match undrafted outputs under the measured near-tie rule | β pass ΒΉ |
agent |
Multi-turn tool-calling loop: exact prompt rendering, history reuse, valid tool calls, output vs llama.cpp | β pass ΒΉ |
agent_think_off |
The tool-calling loop with thinking off | β pass ΒΉ |
sampling |
Temperature, top-k and seeded service defaults behave as specified | β pass ΒΉ |
logits |
Host logits readback (llm.logits on): at T=0 every returned row's argmax is the device's token, the top-k matches llama.cpp, greedy text is unchanged | β no evidence |
decision |
Decision answers (choice, score, noul probabilities) vs llama.cpp on the same prompts | β not applicable |
- ΒΉ DevLab Dispatch run 45450172958, LEVEL=full, 2026-11-24. AMD Strix Halo, Linux, hrx-loom
0.3.0. - The first-token distribution check was skipped because Inkling emits a structural channel header before the text.
- Gates are the loom-benchmark correctness gates (
gates.sh); a gate without a recorded run shows no evidence.
Files
model.json/model.json.lock: the card and the pinned source files (sha256 checked byloom-fetch).program/*.loom,weights.loom: the generated Loom programs.tokenizer.json: the tokenizer.llm_config.json: the configuration the programs were generated from.info.json: the measurements, gate evidence and versions this card shows; everything else comes from the files above.- SDK qualification records the package comparison evidence.
REPORT.md: how the values above were measured: setup, commands and the value of every run.
Versions: card schema loom-card/3; loom-skills unknown; hrx-loom unknown; card generator 3adfe7b.
Source files, fetched by loom-fetch from their own repositories:
- checkpoint: unsloth/Inkling-2-Mini-GGUF @
ea0c79b,Inkling-2-Mini-UD-Q4_K_XL.gguf - drafter: unsloth/Inkling-2-Mini-GGUF @
ea0c79b,dspark-Inkling-2-Mini-Q8_0.gguf
Model tree for loom-fun-staging/unsloth-Inkling-2-Mini-loom
Base model
thinkingmachines/Inkling-2-Mini