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 (Mainline_Support/Inkling-2-Mini-UD-Q4_K_XL.gguf_file), for the AMD Ryzen AI Max+ 395 "Strix Halo" and AMD Radeon AI PRO R9700 GPUs, generated with the loom-skills workflow. Learn more on the Loom ecosystem website.
Quick start
Open your GPU and copy its commands.
AMD Ryzen AI Max+ 395 "Strix Halo" (gfx1151)
pipx install "hrx-loom[hf]==0.3.0"
loom-fetch huggingface:loom-fun-staging/unsloth-Inkling-2-Mini-loom-r9700:chat --output=./unsloth-Inkling-2-Mini-loom-r9700
loom-serve --model=./unsloth-Inkling-2-Mini-loom-r9700 '--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.
AMD Radeon AI PRO R9700 (gfx1201, 32 GB)
pipx install "hrx-loom[hf]==0.3.0"
loom-fetch huggingface:loom-fun-staging/unsloth-Inkling-2-Mini-loom-r9700:chat-r9700 --output=./unsloth-Inkling-2-Mini-loom-r9700
loom-serve --model=./unsloth-Inkling-2-Mini-loom-r9700 '--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 (reasoning_effort is set to none):
curl http://127.0.0.1:8080/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "thinkingmachines/Inkling-2-Mini", "messages": [{"role": "user", "content": "Hello"}], "reasoning_effort": "none"}'
On Radeon, both Inkling presets require name, tool_call_id, and content in each tool result message.
Performance vs llama.cpp
The 32k decode workload exceeds the chat-q8-r9700 preset's supported context.
Strix Halo (gfx1151)
| metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline |
|---|---|---|---|---|---|
| decode tok/s, short prompt | β | β | β | 57.2 | β |
| decode tok/s, 2k context | β | β | β | 54.1 | β |
| decode tok/s, 32k context | β | β | β | 43.9 | β |
| prefill tok/s, 1k document | β | β | β | 4792.4 | β |
| prefill tok/s, 2k document | β | β | β | 4701.2 | β |
| prefill tok/s, 8k document | β | β | β | 4511.8 | β |
| prefill tok/s, 16k document | β | β | β | 4329.3 | β |
| prefill tok/s, 32k document | β | β | β | 4014.1 | β |
| 4 streams, aggregate decode tok/s | β | β | β | 217.8 | β |
| speculative decoding, drafted tokens accepted | n/a | n/a | n/a | n/a | n/a |
Methodology
- Compared: Loom against llama.cpp ROCm (build not recorded); the same GGUF, the same DevLab runner and job, the same prompts; Loom served with the active wait. Values are the mean of not recorded rounds (4 streams: median of not recorded); Loom is timed by the client, llama.cpp by its server.
- 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): no drafting on either engine (no MTP head in the GGUF and no drafter published for this exact model). 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: not recorded.
- 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.
- Roofline: the hardware ceiling for this GGUF on AMD Ryzen AI Max+ 395 "Strix Halo" 8060S (gfx1151), measured read bandwidth at 230 GB/s and 44 TFLOP/s sustained at 85 W (spec 59), from loom-roofline
roofline.py(loom-skills618f89e); 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.
Radeon AI PRO R9700 (gfx1201, 32 GB)
| metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline |
|---|---|---|---|---|---|
| decode tok/s, short prompt | β | 98.5 | β | 154.3 | 64 % |
| decode tok/s, 2k context | β | 90.6 | β | 145.8 | 62 % |
| decode tok/s, 32k context | β | 76.9 | β | 118.4 | 65 % |
| prefill tok/s, 1k document | β | 2677.0 | β | 19306.3 | 14 % |
| prefill tok/s, 2k document | β | 3148.8 | β | 20543.5 | 15 % |
| prefill tok/s, 8k document | β | 3253.0 | β | 19715.8 | 16 % |
| prefill tok/s, 16k document | β | 2952.2 | β | 18918.3 | 16 % |
| prefill tok/s, 32k document | β | 2340.8 | β | 17540.9 | 13 % |
| 4 streams, aggregate decode tok/s | β | 229.3 | β | 587.2 | 39 % |
| speculative decoding, drafted tokens accepted | n/a | n/a | n/a | n/a | n/a |
Methodology
- Compared: Loom against llama.cpp ROCm
llama.cpp-cpu/418fe97+PR32704; the same GGUF, the same DevLab runner and job, the same prompts; Loom served with the active wait. Values are the median of 1 sessions (4 streams: median of 3); Loom is timed by the client, llama.cpp by its server. - 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): no drafting on either engine (no MTP head in the GGUF and no drafter published for this exact model). 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 0 -c 33792 -np 1 -t 12 -ctk f32 -ctv f32 --jinja. - Not supported / not measured: llama.cpp ROCm: not supported: ROCm and Vulkan llama.cpp builds (owner rule); this baseline is the CPU build, 12 threads, f32 KV cache; llama.cpp ROCm: not measured: 32k rows and 4 streams (baseline server has context 33792 and one slot); llama.cpp ROCm: Loom rows: one serve session of ab_session.py (decode short, decode 32k, 4 streams); decode 2k, 8k and the prefill rows were not re-measured with perf.py for this build.
- Measured on AMD DevLab Dispatch R9700 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 DevLab Dispatch runner ephemeral-devlab-sm-01-02-r9700s-2-137994071540, AMD Radeon AI PRO R9700S (gfx1201), Linux; hrx-loom
0.3.0(hrx-system commit unknown); source: DevLab Dispatch run 45269814243. - Roofline: the hardware ceiling for this GGUF on AMD Radeon AI PRO R9700 (gfx1201, 32 GB), measured read bandwidth at 620 GB/s and 191 TFLOP/s, from loom-roofline
roofline.py(loom-skills618f89e); 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 | β | always on |
| reasoning effort | β | reasoning_effort: none, minimal, low, medium, high, xhigh, max (default high) |
| speculative decoding | β | not applicable |
| image input | β | not supported by Loom (the upstream model has it) |
| audio input / output | β | not applicable |
| sampling | β | temperature, top_p, top_k, seed |
| context size | β | 131,072 tokens per request |
| concurrency | β | 4 concurrent requests |
| max output tokens | β | 4,096 (preset max_tokens) |
Correctness
Near-limit requests on chat-r9700 can take over 60 seconds to cancel.
Radeon Q4 passed the focused sampling checks.
| gate | description | Strix Halo | Radeon AI PRO R9700 |
|---|---|---|---|
kernel_tests |
Unit tests of the generated kernels against reference implementations | ? not re-run on this package (the last pass was on a previous build, sha256 912bc5e; the nightly gates re-run it) |
? not re-run on this package (the last pass was on a previous build, sha256 912bc5e; the nightly gates re-run it) |
golden |
llama.cpp reference recorded on the same GGUF: greedy tokens and top-5 log-probs, short prompts and 1k-32k documents | ? not re-run on this package (the last pass was on a previous build, sha256 912bc5e; the nightly gates re-run it) |
β pass ΒΉ |
compare |
Greedy output vs the llama.cpp reference, token by token; every divergence is a near-tie | ? not re-run on this package (the last pass was on a previous build, sha256 912bc5e; the nightly gates re-run it) |
β pass ΒΉ |
vision |
Image input vs llama.cpp with the same projector: identical prompt tokens, replies equal up to near-ties | β not applicable | β not applicable |
consistency |
Concurrent requests give the same output as the same requests run alone | ? not re-run on this package (the last pass was on a previous build, sha256 912bc5e; the nightly gates re-run it) |
β pass ΒΉ |
spec |
Speculative decoding on gives exactly the output of speculative decoding off | β not applicable | β not applicable |
agent |
Multi-turn tool-calling loop: exact prompt rendering, history reuse, valid tool calls, output vs llama.cpp | ? not re-run on this package (the last pass was on a previous build, sha256 912bc5e; the nightly gates re-run it) |
β pass ΒΉ |
agent_think_off |
The tool-calling loop with thinking off | β not applicable | β not applicable |
sampling |
temperature, top_k and seed behave as specified; first-token distribution matches llama.cpp | β fail on a previous build (sha256 912bc5e), not re-run on this package Β² |
β fail ΒΉ |
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 | β not applicable | β not applicable |
decision |
Decision answers (choice, score, noul probabilities) vs llama.cpp on the same prompts | β not applicable | β not applicable |
- ΒΉ DevLab Dispatch run 45285206955, LEVEL=full, 2026-11-23; device DevLab Dispatch runner ephemeral-devlab-sm-01-02-r9700s-1-138046833546, AMD Radeon AI PRO R9700S (gfx1201), Linux; hrx-loom
0.3.0(hrx-system commit unknown). - Β² named-machine run, LEVEL=dev, 2026-11-23; device AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics + AMD Radeon AI PRO R9700, Ubuntu 24.04; hrx-loom
0.3.0(hrx-system commit unknown). - 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 618f89e; hrx-loom 0.3.0 (hrx-system commit unknown); card generator 629d8f8.
Source files, fetched by loom-fetch from their own repositories:
- checkpoint: unsloth/Inkling-2-Mini-GGUF @
ea0c79b,Mainline_Support/Inkling-2-Mini-UD-Q4_K_XL.gguf_file
Next steps
Work on this model is paused.
- Validate near-limit request cancellation on
chat-r9700.
Model tree for loom-fun-staging/unsloth-Inkling-2-Mini-loom-r9700
Base model
thinkingmachines/Inkling-2-Mini