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/unsloth-Inkling-2-Mini-loom:chat --materialize=copy --output=Inkling-2-Mini
loom-serve --model=Inkling-2-Mini '--device=amdgpu://?completion_spin_ns=4294967295' --pool_backing=fixed
  • --materialize=copy puts copies of the fetched package files in the output directory.
  • completion_spin_ns=4294967295 enables active waiting for GPU completions (uses CPU while GPU work is in flight); the card's performance measurements use this setting.
  • --pool_backing=fixed commits 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}}'

AMD Radeon AI PRO R9700 (gfx1201, 32 GB): not a target of this package, not measured: Out of scope for the R9700 for now (owner, Dec 1 2026): its attention kernels do not compile for RDNA4 on SDK 0.3.0; set false to add the R9700 once fixed.

Performance vs llama.cpp

metric llama.cpp Loom margin vs best llama.cpp roofline Loom % of roofline llama.cpp Vulkan
decode tok/s, short prompt 30.3 57.9 +91 % 59.7 97 % —
decode tok/s, 2k context 37.2 61.1 +64 % 61.6 99 % —
decode tok/s, 32k context 28.5 45.9 +61 % 63.8 72 % —
decode tok/s, code prompt 37.2 65.0 +75 % 63.5 102 % ‡ —
prefill tok/s, 1k document 535.1 2276.5 +325 % 5262.2 43 % —
prefill tok/s, 2k document 564.0 2543.9 +351 % 5098.7 50 % —
prefill tok/s, 8k document 530.5 2689.7 +407 % 4939.1 54 % —
prefill tok/s, 16k document 438.0 2538.6 +480 % 4748.6 53 % —
prefill tok/s, 32k document 304.5 2410.5 +692 % 4408.5 55 % —
4 streams, aggregate tok/s (drafting off) 66.3 112.2 +69 % 211.8 53 % —
4 streams, aggregate tok/s (drafting on) n/a — — 99.3 — —
speculative decoding, drafted tokens accepted — 74 % — n/a n/a n/a

Methodology

  • Compared: Loom against llama.cpp ROCm llamacpp-rocm/b1394, llama.cpp Vulkan b12211; the same GGUF, the same machine, power mode and job, the same prompts; Loom served with the active wait. Values are the median of 3 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, and on the 1-stream rows the drafting flags that match Loom's drafting). No tuning sweep on either engine.
  • Drafting, 1-stream rows (decode, decode_2k, decode_32k, decode_code, prefill): DSpark (unsloth/Inkling-2-Mini-GGUF / dspark-Inkling-2-Mini-Q8_0.gguf) on both engines; draft depth: Loom 3, llama.cpp --spec-draft-n-max 3 (each engine its own). Each engine is loaded once for all these rows.
  • 4 streams: both engines loaded with drafting off, 4 parallel requests, aggregate tokens per second (legacy steady-state window).
  • 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; decode_code = decode of a code-generation prompt; drafting helps more on code. 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 --spec-type draft-dspark --spec-draft-model dspark-Inkling-2-Mini-Q8_0.gguf --spec-draft-n-max 3 -ngld 99 (c4: -c 35024 -np 4).
  • llama.cpp Vulkan 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 --spec-type draft-dspark --spec-draft-model dspark-Inkling-2-Mini-Q8_0.gguf --spec-draft-n-max 3 -ngld 99 (c4: -c 35024 -np 4).
  • Not supported / not measured: llama.cpp ROCm: Loom routes contexts under 36,864 tokens to loom-fun/Inkling-2-Mini-intuit-dspark-GGUF while llama.cpp uses the checkpoint drafter; llama.cpp Vulkan: not supported: pinned llama.cpp Vulkan b12211 predates inkling2_loop architecture support.
  • Measured on AMD RYZEN AI MAX+ 395 w/ Radeon 8060S (halo3 EVO-X2, 120 W), AMD Radeon 8060S Graphics, Ubuntu 24.04, a local machine (not an AMD DevLab Dispatch runner), in its 123 W power mode (BIOS performance mode); the DevLab Strix Halo runners run at 85 W. Every engine in this table was measured in the same job, interleaved, at the same power: Loom 118 W / 2.80 GHz (median package power and GPU clock while busy, amdgpu hwmon samples every 0.2 s).
  • 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-12-01; device AMD RYZEN AI MAX+ 395 w/ Radeon 8060S (halo3 EVO-X2, 120 W), AMD Radeon 8060S Graphics, Ubuntu 24.04; hrx-loom 0.3.0 (hrx-system e2c41a7); source: local run.
  • llama.cpp Vulkan: measured 2026-12-01; source: named-machine run. Archive sha256 9759acd.
  • Drafted tokens accepted: the share of the drafter's proposed tokens the model accepted during the spec gate's requests.
  • ‡ measured above the modeled ceiling; the roofline is an estimate (228 GB/s effective bandwidth).
  • Roofline: the hardware ceiling for this GGUF on AMD Ryzen AI Max+ 395 "Strix Halo" (gfx1151) at 228 GB/s and 48 TFLOP/s sustained at 123 W (spec 59), from loom-roofline roofline.py (loom-skills unknown commit); decode rows with speculative decoding: verify passes × (1 + acceptance × depth 3) tokens per pass, the drafter's cost not counted, with the acceptance measured in the row's own session: decode 45 %, decode at 2k 50 %, decode at 32k 62 %, decode of code 50 %; single-pass ceiling (no acceptance measured on this package) for 4 streams drafted; 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.

Environment (Loom measurement)

  • Not recorded for this measurement.

Sampling (Loom measurement)

  • Not recorded for this measurement.

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 ✅ DSpark, depth 3, on by default; drafter unsloth/Inkling-2-Mini-GGUF
image input ✅ OpenAI-style image_url parts; projector mmproj-F16.gguf
audio input / output — not applicable
sampling ✅ temperature, top_p, top_k, seed
context size ✅ 262,144 tokens per request
concurrency ✅ 4 concurrent requests
max output tokens ✅ 65,536 (preset max_tokens)

Correctness

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 ✅ pass ¹
consistency Concurrent requests give the same output as the same requests run alone ✅ pass ¹
spec seed-for-seed identical tokens, drafted vs undrafted, at T=1 ✅ 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 seed behave as specified; first-token distribution matches llama.cpp ✅ 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
  • ¹ local run, LEVEL=full, 2026-12-01; device AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04; hrx-loom 0.3.0 (hrx-system e2c41a7).
  • Gates are the loom-benchmark correctness gates (gates.sh); a gate without a recorded run shows no evidence.

Acknowledgments

Techniques in this package that came from other people's work (ideas only, no code copied):

technique credit
Drafter proposals coupled to the request's own Gumbel-Max draw (exact at T>0) francescobozzo, gufo-org/gufo#1340; Majid Daliri, Christopher Musco, Ananda Theertha Suresh; Joseph Rowan, Buu Phan, Ashish Khisti; ashalliants, ashalliants/ninfer-3090#561
Per-step drafter-confidence verify width francescobozzo, gufo#1340 "Lead 3"
EVICT cumulative collision-probability verify width EVICT (cost-aware verify prefix); francescobozzo, gufo#1340 "Lead 3"
Direct FP16 attention output (flash2_o16, "E1(b)") for prefill francescobozzo, gufo#1340 (E1(b))
Coalesced b128 conv-weight loads in short-conv KV prep francescobozzo, gufo#1340 (small-kernel latency focus)
Prefill tail-epoch absorption (merge final small chunk into preceding epoch up to 6144 tokens) francescobozzo, gufo-org/gufo#1415 (MIT)
MoE gate/up rows-per-wave sweep (R=2, 16 waves per WG) danielhanchen, unslothai/llama.cpp#417
Register-packed f16 P->A WMMA pass-through (PF16) in far attention & near-band Flash2 v2 woct0rdho, feather-attn (MIT)
Fused Q8-out Q8_0 MoE decode matvec Annieren, ggml-org/llama.cpp#26301; shawnshekari
Single-token multi-matrix projection fusion (-136 dispatches/step) shawnshekari
DSpark drafter graph (3-layer DFlare plus Markov head) pwilkin, ggml-org/llama.cpp#32218 (graph_inkling2); DSpark paper
Context-routed dual DSpark drafter (<36k context: Intuit DSpark, >=36k: bundled DSpark) Intuit: intuit/Inkling-2-Mini-dspark drafter weights (Apache-2.0); converted to GGUF at loom-fun/Inkling-2-Mini-intuit-dspark-GGUF
Inkling-2 target layout (inkling2 / inkling2_loop tensor names) ggml-org/llama.cpp#32694; ggml-org/llama.cpp#32695; Unsloth unsloth/Inkling-2-Mini-GGUF rev 8078d149
FlashAttention-2 online-softmax tiling (far & near-band Flash2 v2) Tri Dao, FlashAttention-2
SWA-V2 half-wave 3-head-shared decode attention at all positions (t224: INK_SWA_V2=2, INK_SWA_V2_MIN_POS=0) b1tg: tinygrad/tinygrad#19666 (3-GQA-heads-per-wave K/V sharing & register prefetch, MIT); geohot: tinygrad/tinygrad#19665 (in-warp half-wave pre-reduction, MIT); Geramy: Inkling-2-Mini-loom-serve dc605da (hoisted clamped rel_bias loads, MIT)
Tail-only SWA ring write, drafter prefill warm-up & prefix-hit parity (INK_PREFIX_EXACT=1, INK_DSP_WARM_OPT=1) vLLM team, DFlashSlidingWindowManager (Apache-2.0); vLLM team, vllm-project/vllm#47930 (Apache-2.0); gufo team (francescobozzo et al.), gufo-org/gufo#1000 (MIT)
Persistent-WG bounded MALL-slot fused prefill loop-controller apply + RMSNorm (INK_CTRL_MALL_FUSE=1) Dong et al. (Baidu), Ada-MK §4.1.2 (arXiv:2605.11581v1)
Non-temporal DLC streaming weight loads on prefill MoE m256 gate/up (MOE_W_DLC=m256_gu) francescobozzo, gufo-org/gufo#1431 (MIT); LLVM Project, LLVM D127405 (Apache-2.0)
Prefill NVFP4 MoE m128 partial-wave skip (MOE_M128_SKIP16=2) & LDS CShuffle coalesced b128 epilogue (MOE_EPI_LDS=1) francescobozzo, gufo-org/gufo#1458 (MIT); CongMa13, ROCm/composable_kernel#3157 (MIT)
Epilogue-fused W_q/W_r qr_prep (INK_QR_FUSE=1: Q/R clip + L2-norm + tau in LDS CShuffle b128 epilogue) CongMa13, ROCm/composable_kernel#3157 (MIT); NVIDIA TensorRT-LLM (Apache-2.0); SGLang (Apache-2.0)
Linux-native 24-wave G=3 co-resident LDS 128x64 far-attention kernel (INK_FAR_V4=1) woct0rdho, feather-attn (MIT); Tri Dao, FlashAttention-2; okdongschool, tinygrad/tinygrad#19627 (MIT); warpfront/hipfire 60f4153a; ROCm/hrx-system#3548 (Apache-2.0)
Prefill scratch stride padding (+256 B on swa_kv_cur/q/gate, INK_PAD_SWA_CUR=256, INK_PAD_QG=256) mgehre-amd, ROCm/rocm-libraries#14495 (MIT)
DFlash 2 block-diffusion drafter (dflash2-inco-Q8_0.gguf) Inco AI: incoai/Inkling-2-Mini-DFlash2 (Apache-2.0); loom-fun/Inkling-2-Mini-inco-dflash2-GGUF (Q8_0 GGUF @ d98614b0); Jian Chen, Yesheng Liang, Zhijian Liu (z-lab), DFlash (arXiv:2602.06036); francescobozzo, gufo-org/gufo#1527 (MIT)

Files

  • model.json / model.json.lock: the card and the pinned source files (sha256 checked by loom-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.
  • raw/perf_loom.jsonl: raw per-run results (JSON lines).
  • raw/c4_off.jsonl: raw per-run results (JSON lines).
  • raw/c4_on.jsonl: raw per-run results (JSON lines).
  • raw/c4_steady_off.jsonl: raw per-run results (JSON lines).
  • raw/sensors.jsonl: raw per-run results (JSON lines).
  • raw/env.json: raw JSON record.
  • raw/sampling.json: raw JSON record.
  • raw/block.log: measurement log.
  • raw/commands.txt: measurement log.
  • raw/gates_t68_LEVEL_full.json: raw JSON record.
  • reproduce.sh: reproduce script.
  • 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 0.3.0 (hrx-system commit unknown); card generator 67ac542.

Source files, fetched by loom-fetch from their own repositories:

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for loom-fun/unsloth-Inkling-2-Mini-loom

Finetuned
(6)
this model

Papers for loom-fun/unsloth-Inkling-2-Mini-loom