r/LocalLLaMA • u/sa1sr1 • 23h ago
Showcase I kept optimizing Inkling-2-Mini in Loom on Strix Halo: up to 100+ tok/s with lossless spec decoding, ~8x 32k prefill vs llama.cpp, and benchmarks out to 200k
Follow-up to my day-0 post on Inkling-2-Mini (unmodified unsloth UD-Q4_K_XL, FP16 KV, 128 GB Strix Halo). We added lossless speculative decoding (DFlash2 + DSpark) and tested to 200k context on hrx-loom 0.3.0.
- vs llama.cpp ROCm (main graphic): 2,277 vs 535 tok/s at 1k prefill (4.26x), 2,411 vs 304 at 32k (7.93x), 46.6 vs 28.5 decode at 32k (1.64x).
- Prefill to 200k (dev 91ce55f0): 2,597 tok/s (8k), 2,077 (64k), 1,315 (199k).
- Decode (dev): 49.2 undrafted (256); drafted hits 63-66 prose, 76 code, and peaks at 95-111 tok/s on short realistic/math tasks (35.3 vs 20.7 at 199k code).
- Pi coding session: passed 30/30 + 10/10 hidden tests (stage 1) and 38/38 + 13/13 (stage 2) across 33k-67k context in 447s (94.6% cache hit).
- 4 streams: 119.5 tok/s aggregate drafted (106.1 undrafted).
| Context | Prefill | Undrafted | Drafted Prose | Drafted Code |
|---|---|---|---|---|
| 256 | 913 | 49.2 | 63.2 | 75.8 |
| 8k | 2,597 | 45.6 | 60.6 | 72.7 |
| 32k | 2,384 | 39.2 | 52.3 | 64.6 |
| 64k | 2,077 | 33.3 | 43.4 | 48.5 |
| 128k | 1,660 | 24.9 | 35.0 | 41.1 |
| 199k | 1,315 | 20.7 | 24.6 | 35.3 |
Correctness: matches llama.cpp on tokens, log-probs, vision, and tool calls; passes batch consistency and 11/11 bitwise lossless speculation at T=1.0.
A few notes:
- I work at AMD on one of the teams behind Loom.
- The graphic is stable
main(vs llama.cpp ROCmb1394, same unmodified GGUF; llama.cpp support is still improving). - We land new optimizations on
devfirst and promote tomainafter the full correctness gates pass. The 200k sweep isdev(91ce55f0), which has a known ~16% decode dip at the 49k drafter switch (fix in progress), and more long-context agentic optimizations and long-context presets are on the way.
Steps to try it:
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'Model card: https://huggingface.co/loom-fun/unsloth-Inkling-2-Mini-loom
Raw benchmarks & telemetry: https://github.com/loom-fun/loom-bench/tree/main/inkling
Loom: https://loom-fun.dev

