Dossier
Inkling 2 Mini on AMD GPUs
From 30 tokens a second on stock llama.cpp to 152 tokens a second and 6,200 prefill on one Radeon AI PRO R9700, after patching seventeen RDNA 4 WMMA kernels in HRX Loom by hand.
On 21 and 22 November 2026 I measured Thinking Machines' Inkling 2 Mini (Apache-2.0, 26.4B total parameters, 3.4B active, looped mixture-of-experts, 1M context, vision) across two AMD machines, a discrete Radeon AI PRO R9700 (32 GiB, RDNA 4, gfx1201, tested singly and in a pair) and a Ryzen AI Max+ 395 Strix Halo system (128 GiB unified memory, RDNA 3.5, gfx1151). On one R9700, stock llama.cpp opened at 29.7 to 31.1 tok/s decode and 116.9 to 261.8 tok/s prefill. Stacking an upstream chunked-mask patch, larger microbatches, and DSpark 3-layer speculative decoding lifted llama.cpp to 41.9 tok/s on code, 53.8 tok/s on reasoning, and 512.2 tok/s prefill at 16.8k context. Moving to HRX Loom 0.3.0 required fixing seventeen RDNA 4 WMMA kernels in its IR by hand, first to clear an AMDGPU/023 JIT failure and then to stop silent numerical corruption in the accumulator layout. Once patched, the same R9700 reached 130.0 tok/s on code, 132.3 tok/s on reasoning, 152.2 tok/s sustained across a 2,048-token code run, and 6,199.8 tok/s prefill at 16.8k context while drawing 1.87 J/tok at the GPU.
Two boundaries sit beside that headline. Layer-splitting a looped model across two R9700 cards over PCIe cut decode to 12.5 to 13.8 tok/s and burned about 11 J/tok because every token crossed the bus six times. And a single 32 GiB R9700 cannot hold a 1M f16 KV cache at all, so full 1M context belongs on Strix Halo's 128 GiB unified memory, where Loom prefills at 1,750.6 tok/s and Vulkan llama.cpp can hold up to eight 1M slots with q4_0 KV.
Method
Hardware, builds, and how the runs were measured
Every number below was measured directly on Linux between 21 and 22 November 2026, using upstream open-source runtimes and public model weights.
| Part | Value |
|---|---|
| Discrete GPU | 1x and 2x AMD Radeon AI PRO R9700 (32 GiB GDDR6 per card, 31.86 GiB usable each, 63.7 GiB combined, RDNA 4 / gfx1201, hosted on PCIe 4.0 x16 root ports at 16.0 GT/s, two hops across the CPU root complex), running ROCm / TheRock for llama.cpp and native libamdf over /dev/kfd for HRX Loom |
| Unified memory APU | AMD Ryzen AI Max+ 395 / Strix Halo (128 GiB unified memory, about 110 GiB usable by the GPU, RDNA 3.5 / gfx1151), running Vulkan RADV for llama.cpp and native libamdf over /dev/kfd for HRX Loom |
| Runtimes | llama.cpp b12614 and b12634 built from upstream source, plus PR #32752 (chunked mask build) and PR #32218 pinned at commit 0a9105d (DSpark speculative decoding); hrx-loom 0.3.0 with loom-fun/unsloth-Inkling-2-Mini-loom |
| Weights and drafter | AtomicChat/Inkling-2-Mini-GGUF AD-Q6_K (23.79 GB, inkling2_loop schema) for llama.cpp; unsloth UD-Q4_K_XL (16.4 GiB, unrolled schema) for HRX Loom; dspark-Inkling-2-Mini-Q8_0.gguf (384 MiB) for speculative decoding |
| Workloads and power | Short code and reasoning prompts, a 16.8k-token needle retrieval test (exact recall of COBALT-FALCON-7429), a sustained 2,048-token code run, and a 10-step autonomous coding benchmark on the baseline. GPU board power sampled at 4 Hz from Linux hwmon, plus wall power on Strix Halo |
vLLM is absent from the table for a simple reason. Its Inkling 2 pull request (#69028, commit ab18334a4) places every operator under vllm/models/inkling2/nvidia/ and binds directly to SM90 and SM120 NVFP4, MXFP8, and TensorRT-LLM CUDA kernels. There is no ROCm or Triton fallback yet, so AMD serving starts with llama.cpp and HRX Loom.
The two engines also consume different GGUF layouts. AtomicChat/Inkling-2-Mini-GGUF keeps the looped inkling2_loop schema that llama.cpp expects, while unsloth's UD-Q4_K_XL (16.4 GiB) unrolls the weights for Loom. On AtomicChat's published calibration checks, AD-Q6_K sits right next to Q8_0 while saving 4 GB of VRAM.
Quant (AtomicChat/Inkling-2-Mini-GGUF) | Size | Top-1 match | KLD | Notes |
|---|---|---|---|---|
Q8_0 | 27.74 GB | 97.7% | 0.0033 | Leaves under 4.2 GiB on a 32 GiB card for KV and compute |
AD-Q6_K | 23.79 GB | 97.6% | 0.0037 | Used for all llama.cpp runs; near-Q8_0 quality, 4 GB smaller |
AD-Q4_K | 16.53 GB | 96.3% | 0.0080 | Comparable weight budget to unsloth UD-Q4_K_XL (16.4 GiB) |
Architecture
Looped weights double the KV cache and break naive parsers
Inkling 2 Mini has 24 physical layers, with 128 routed experts and top-8 activation. Layers 0 through 5 run once, the middle twelve layers ([6, 18)) loop three times using shared weights steered by rank-64 gated inter-pass controllers, and layers 18 through 23 run once. Each token visits 48 effective layers and touches roughly 5.4B active parameters across the looped passes, even though the single-pass active parameter count is 3.4B.
Only four physical layers use full attention, layers 5, 11, 17, and 23 (8 KV heads, head_dim 128). The remaining 20 physical layers use sliding-window attention with a 1,024-token window and a learned relative-position bias (d_rel=16) in place of RoPE. Because layers 11 and 17 sit inside the 3x loop, each pass maintains its own KV history, giving 1 + 3 + 3 + 1 = 8 logical full-attention KV layers and 40 sliding-window layers.
| KV cache precision (8 full-attention layers) | Bytes per token | 1x 256k slot | 4x 256k slots | 1x 1M slot |
|---|---|---|---|---|
f16 | 32,768 B | 8.0 GiB | 32.0 GiB | 32.0 GiB |
q8_0 | 17,408 B | 4.25 GiB | 17.0 GiB | 17.0 GiB |
q4_0 | 9,216 B | 2.25 GiB | 9.0 GiB | 9.0 GiB |
Generic GGUF memory calculators miss loop.count=3, count four full-attention layers instead of eight, and understate KV memory by a factor of two. That single factor explains two hard ceilings later in this report. A single 32 GiB R9700 (31.86 GiB usable) cannot even fit the 32.0 GiB of a 1M f16 KV cache before loading weights, and splitting the model across two GPUs forces the middle loop to bounce back and forth across PCIe.
llama.cpp on one R9700
Chunked masks and DSpark lift llama.cpp on one R9700
Stock llama.cpp b12614 on ROCm with AD-Q6_K, two 128k q8_0 KV slots, and microbatch ub=32 occupied 28.55 GiB of VRAM on one R9700. Short-context decode ran at 29.7 to 31.1 tok/s (29.4 tok/s at 28.4k tokens) and prefill sat between 116.9 and 261.8 tok/s. Before chasing speed, I verified functional output on a 10-step autonomous coding benchmark. The baseline passed 46 of 46 generated tests and 100% of hidden assertions with zero malformed tool calls and an 85 to 86% prefix cache hit rate.
Prefill was stuck at ub=32 because stock llama.cpp materializes Inkling 2's relative-position bias as a dense kq_b buffer of shape n_kv * ubatch * 24 * fp32. At 2x1M and ub=512 that single scratch buffer asks for 150.5 GiB and OOMs; even at ub=16 it hits 45.6 GiB and OOMs.
Moving to llama.cpp b12634 with upstream PR #32752 (chunked mask build) cuts the kq_b workspace by roughly 2.8x. Upstream PR #32740 (compact FlashAttention bias) was narrowed on 22 November 2026 to the GGML CPU contract only, so #32752 is the active win for ROCm and Vulkan. On the ROCm build itself, bundling the target-scoped lib/hipblaslt/library files cleared rocblaslt fallback warnings on gfx1201. With the smaller mask workspace, llama-bench could finally scale ubatch cleanly.
llama-bench on 1x R9700 (AD-Q6_K + PR #32752) | ub=32 | ub=128 | ub=256 | ub=512 | Gain vs 32 |
|---|---|---|---|---|---|
pp512 (short prompt prefill) | 325.9 tok/s | 678.9 tok/s | 918.6 tok/s | 1,227.9 tok/s | 3.77x |
pp2048 at 16k depth | 303.8 tok/s | 485.1 tok/s | 581.2 tok/s | 580.9 tok/s | 1.91x |
Long-context prefill saturated at ub=256. On the live server (2x128k q8_0, ub=128), prefill at 16.8k doubled to 531.5 tok/s while decode held flat at 29.6 tok/s on code, 30.1 tok/s on reasoning, and 27.6 tok/s at 16.8k context.
The next jump came from Thinking Machines' 3-layer speculative drafter, dspark (configured through mtp_config, distinct from DFlash), paired with dspark-Inkling-2-Mini-Q8_0.gguf (384 MiB). Upstream llama.cpp PR #32218 was rewritten mid-day with a tensor dimension change (200058 against 201024), so I pinned commit 0a9105d to stay compatible with unsloth's drafter file on both ROCm and Vulkan.
1x R9700 llama.cpp (2x128k q8_0, ub=128) | Code | Reasoning | 16.8k Prefill | 16.8k Decode |
|---|---|---|---|---|
Plain (#32752) | 29.6 tok/s | 30.1 tok/s | 531.5 tok/s | 27.6 tok/s |
DSpark n_max=3 | 41.9 tok/s (+42%, 43.5% acc) | 53.8 tok/s (+79%, 62.4% acc) | 512.2 tok/s | 38.6 tok/s (+40%, 66.1% acc) |
DSpark n_max=4 | 39.5 tok/s | 55.6 tok/s (+85%) | 512 tok/s | 39.4 tok/s |
n_max=3 is the cleaner operating point across mixed code and reasoning. Pushing to n_max=4 gained 1.8 tok/s on reasoning and 0.8 tok/s at 16.8k, but dropped code decode by 2.4 tok/s when acceptance dipped. Under n_max=3, the R9700 averaged 107.8 W (268 W peak), roughly 3.0 to 3.8 J/tok at the GPU. That was the ceiling for llama.cpp on one card. Figure 2 shows those three steps alongside the two patched HRX Loom runs described in Section 6.
Decode throughput on 1x Radeon AI PRO R9700 (top bar code, bottom bar reasoning)
Prefill throughput on 1x Radeon AI PRO R9700 (16.8k context except baseline, log scale)
#32752 and DSpark lifts llama.cpp from 30 to 54 tok/s and doubles prefill. Switching to patched HRX Loom 0.3.0 pushes sustained decode to 152.2 tok/s and 16.8k prefill to 6,200 tok/s (2.72 s TTFT).Multi-GPU
Layer-splitting across two R9700s cuts decode in half
To test whether a second 32 GiB card could buy longer context without sacrificing speed, I ran llama.cpp across 2x Radeon AI PRO R9700 (63.7 GiB combined VRAM, hosted on PCIe 4.0 x16 root ports at 16.0 GT/s, two hops across the CPU root complex with P2P enabled, not PCIe 5.0) with 2x512k q8_0 KV, ub=64, and --tensor-split 28,72 -fit off -ngl 999. Every layer landed on GPU at 54.2 GiB total allocation, and 2x1M still OOMed because per-GPU compute buffers pushed total demand to 64 to 65 GiB against 63.7 GiB available.
Decode collapsed to 12.5 to 13.8 tok/s on short prompts and 11.1 tok/s at 16.8k context (296.9 tok/s prefill). Combined GPU power averaged 145.6 W (283 W peak), which works out to roughly 11 J/tok, three to six times worse energy efficiency than a single card. Moving to PCIe 5.0 would not rescue this layout: single-token decode transfers only one hidden-state vector per crossing (2,304 floats, roughly 9 KiB), so the bottleneck is sync and pipeline latency across six sequential handoffs per token while the idle card waits, not raw bus bandwidth.
Do not layer-split looped models over PCIe
Any pipeline cut inside the looped middle block [6, 18) crosses PCIe twice on every loop pass, six bus transfers for every token generated. Multi-GPU serving for Inkling 2 needs tensor parallelism (llama.cpp PR #32751) rather than layer splitting. Until that lands, long-context capacity belongs on unified memory.
Unified memory
Strix Halo holds 1M context, and Loom multiplies prefill by 25
The Ryzen AI Max+ 395 (Strix Halo, 128 GiB unified memory, roughly 110 GiB available to the GPU) trades GDDR6 bandwidth for raw KV headroom. With AD-Q6_K weights taking 23 GiB, the remaining ~87 GiB sets clean 1M-slot ceilings from the 8-layer KV arithmetic above:
q4_0KV (9.0 GiB per 1M slot) fits 7 to 8 concurrent 1M slots.q8_0KV (17.0 GiB per 1M slot) fits 4 concurrent 1M slots.f16KV (32.0 GiB per 1M slot) fits 2 concurrent 1M slots.
Under llama.cpp on Vulkan RADV (AD-Q6_K, 1x1M q4_0 KV, ub=16, 33 to 35 GiB resident), plain decode ran at 28.1 tok/s on short prompts and 16.1 tok/s at 16.8k context, with prefill dragging at 81.9 tok/s. Turning on DSpark n=3 left short code flat at 28.1 tok/s (49.0% accept), nudged reasoning to 29.6 tok/s (50.8% accept), and jumped 16.8k decode by 64% to 26.4 tok/s (52.9% accept), with prefill at 81.3 tok/s. GPU power averaged 114.5 W (120.1 W peak) and wall draw sat around 150 W (157 W peak). Trying n=4 regressed code decode to 18.8 tok/s because Vulkan graph rebuilds ate the extra accepted tokens.
Switching engines on the exact same Strix Halo box changed the picture completely. HRX Loom 0.3.0 runs loom-fun/unsloth-Inkling-2-Mini-loom (UD-Q4_K_XL) over native libamdf and /dev/kfd, bypassing Vulkan and emitting fused RDNA 3.5 kernels.
Strix Halo (gfx1151, 128 GiB) | Memory | Code | Reasoning | 16.8k PP | 16.8k TG | GPU W / J/tok |
|---|---|---|---|---|---|---|
llama.cpp Vulkan, 1x1M q4_0, plain | 33 to 35 GiB | 28.1 tok/s | 28.1 tok/s | 81.9 tok/s | 16.1 tok/s | |
llama.cpp Vulkan, 1x1M q4_0, DSpark n=3 | 33 to 35 GiB | 28.1 tok/s | 29.6 tok/s | 81.3 tok/s | 26.4 tok/s | 114.5 W (~4.1 J) |
HRX Loom 0.3.0, 4x256k, d=0 | +27 GiB | 46.3 tok/s | 46.3 tok/s | 2,090.9 tok/s | 38.8 tok/s | 104.1 W (~2.2 J) |
HRX Loom 0.3.0, 4x256k, d=3 (DSpark) | +29 GiB | 59.7 tok/s | 67.9 tok/s | 2,066.7 tok/s | 50.4 tok/s | 57 to 104 W (~1.65 J) |
HRX Loom 0.3.0, 1x1M, d=0 | +19 GiB elastic | 42.5 tok/s | 42.7 tok/s | 1,750.6 tok/s | 14.8 tok/s | 111.8 W (124 W wall) |
At 4x256k with DSpark d=3, Loom delivered 59.7 tok/s on code (+29% over d=0), 67.9 tok/s on reasoning (+47%), 50.4 tok/s decode at 16.8k, and 2,066.7 tok/s prefill, 25 times faster than Vulkan llama.cpp, at 1.6 to 1.7 J/tok at the GPU. Even in 1x1M elastic mode (+19 GiB committed RAM, 124 W wall draw), Loom still prefilled at 1,750.6 tok/s.
Kernel debugging
Patching seventeen RDNA 4 WMMA kernels in HRX Loom
Bringing HRX Loom 0.3.0 onto the R9700 failed at startup. The stock 106k-line llm.loom IR aborted JIT compilation with AMDGPU/023 on @g_ink_attention_flash2_far:1404 because fragment_memory.payload_layout was not satisfied on gfx1201.
Inspecting the IR showed two separate wave32 16x16x16 f16 WMMA ISA changes between RDNA 3 (gfx11) and RDNA 4 (gfx12). Existing dense GEMMs in llm.loom already carried nine explicit @rdna3 and @rdna4 kernel pairs, while seventeen kernels had been left generic with RDNA 3 fragment layouts, covering five FlashAttention kernels, eight MoE GEMMs, three loop-controller and projection prefill kernels, and one m128_n64 GEMM.
First bug, input A and B fragments rejected at compile time
On RDNA 3, wave32 v_wmma_f32_16x16x16_f16 duplicates all 16 K elements in every lane across both halves of the wave, so each A or B operand is a vector<16xf16>. On RDNA 4, K is split across wave halves. Lanes 0 to 15 hold K = 0..7 and lanes 16 to 31 hold K = 8..15, so each operand is a vector<8xf16>. Passing 16-element fragments into an RDNA 4 WMMA op trips AMDGPU/023 immediately.
Second bug, silent accumulator corruption caught only by real prompts
Patching the A and B input fragments alone looked like a complete win. All 2,542 kernels compiled in 14.7 seconds with zero errors and short prompts streamed at 126 to 136 tok/s. Then I tested prompts longer than 45 tokens, and the output collapsed into repetition.
Probing v_wmma_f32_16x16x16_f16 directly on the R9700 with loom-run and dumping raw accumulator lanes exposed the second ISA change. Both architectures return a vector<8xf32> D fragment per lane, so the compiler accepts the type without complaint. What changed is which matrix rows sit in which wave half. RDNA 3 interleaves even and odd rows across the two halves (row = 2*e + half), while RDNA 4 stores contiguous 8-row blocks (rows 0 to 7 in lanes 0 to 15, rows 8 to 15 in lanes 16 to 31, row = 8*half + e). Eight of the seventeen kernels (the five FlashAttention kernels and the three loop-controller and projection kernels) manually indexed D assuming 2*e + half, scrambling attention weights and controller states once a prompt grew past one tile.
gfx11) against RDNA 4 (gfx12) lane mapping for wave32 v_wmma_f32_16x16x16_f16. Top, A and B fragments shrink from duplicated 16-element vectors to K-split 8-element vectors, causing AMDGPU/023. Bottom, D accumulator rows change from even/odd interleaving to contiguous halves, causing silent corruption in eight kernels that read D back into LDS or registers.I wrote a deterministic ~240-line Python IR patcher to update all seventeen kernels cleanly. For A and B inputs, GEMM, MoE, and controller kernels switch from 16-element LDS loads to 8-element loads offset by col + (hi ? 8 : 0), and register operands for Q^T and relative bias RB slice down with vector.slice and scf.select. For D outputs across the eight affected kernels, the patcher rewrites row_off, Toeplitz RB store and load indices, _partial output stores, and controller e_off and tr indices from 2*e + half to 8*half + e.
That contiguous D layout also gave back a free speedup inside FlashAttention. Because each wave half already holds the exact 8 elements the next RDNA 4 WMMA expects for P^T, the entire probability-transpose repack shrinks to one truncate instruction, removing 16 wave XOR shuffles and interleaves per tile:
Core RDNA 4 IR changes across the 17 patched kernels in llm.loom
// 1. A/B LDS loads (17 kernels): split K across wave halves
%k_off = scf.select %hi, 8, 0 // lanes 0..15 -> K=0..7, 16..31 -> K=8..15
%frag = memref.load %lds[%row, %col + %k_off] : vector<8xf16>
// 2. D accumulator unpack (8 kernels: 5 FlashAttention + 3 ctrl/proj)
// RDNA 3: row = 2 * e + half (even/odd interleaved)
// RDNA 4: row = 8 * half + e (contiguous 8-row halves)
// 3. FlashAttention P^T operand: contiguous D already matches RDNA 4 A/B
// Replaces 16 wave XOR shuffles + interleaves per tile
%p_f16 = vector.fptrunc %p : vector<8xf32> -> vector<8xf16>
Every prompt length then generated cleanly and retrieved the 16.8k needle COBALT-FALCON-7429 with 100% accuracy. On one R9700 at 4x256k, plain Loom (d=0, 20.36 GiB VRAM) ran 98.2 tok/s on code, 99.0 tok/s on reasoning, 97.1 tok/s sustained across 2,048 tokens, 87.1 tok/s decode at 16.8k, and 6,162.4 tok/s prefill (2.73 s TTFT) at 255.0 W average GPU power (267 W peak, 2.63 J/tok).
Enabling DSpark d=3 (23.25 GiB VRAM) pushed code to 130.0 tok/s, reasoning to 132.3 tok/s, sustained 2,048-token code generation to 152.2 tok/s, 16.8k decode to 108.8 tok/s, and 16.8k prefill to 6,199.8 tok/s (2.72 s TTFT). Average GPU power rose to 284.3 W (309 W peak), yet energy per token dropped 29% to 1.87 J/tok because decode sped up faster than power climbed. Against tuned llama.cpp on the exact same card, patched Loom is 4.4 to 5.1 times faster on decode and 12 times faster on prefill. Against Loom on Strix Halo, it is 2.2 to 2.5 times faster at almost the same joules per token.
Requesting 1x1M on the single R9700 in Loom failed cleanly with code=8 (pool byte limit), confirming the arithmetic from Section 2. The 32.0 GiB of f16 KV alone exceeds the card's 31.86 GiB of usable VRAM.
One dual-target IR file verified on both RDNA 4 and RDNA 3.5
Rather than maintaining an RDNA 4 fork of the IR, I extended the patcher to emit dual-target dispatch using the same target(@rdna3), target(@rdna4), and template.decl / template.def / template.apply pattern already used by the nine existing GEMM pairs in llm.loom. That adds 17 kernel pairs and 17 template selectors, rewriting 1,104 kernel.launch call sites for upstream contribution to loom-fun/unsloth-Inkling-2-Mini-loom.
I verified that single dual-target llm.loom file live on both architectures under model-d3-256k.json with zero compile errors or warnings on either. On the Radeon AI PRO R9700 (gfx1201, RDNA 4), all 2,542 kernels compiled in 18 s, greedy arithmetic (17 * 23 = 391) matched Strix Halo token for token, and the 16,817-token needle (COBALT-FALCON-7429) completed in 4.99 s total across 256 output tokens. On the Ryzen AI Max+ 395 / Strix Halo (gfx1151, RDNA 3.5), all 2,542 kernels compiled in 10 s, greedy output matched token for token (391), and the same 16,817-token needle finished in 13.09 s total across 256 output tokens.
Scoreboard
Throughput, energy per token, and where each machine wins
Putting every measured configuration on one grid shows two distinct winners and one trap to avoid.
| Configuration | Engine & quant | Slots | Code | Reason | 16.8k PP | 16.8k TG | GPU W | J/tok |
|---|---|---|---|---|---|---|---|---|
1x R9700, Loom d=3 | Loom 0.3.0, UD-Q4_K_XL | 4x256k | 130.0 (152.2) | 132.3 | 6,199.8 | 108.8 | 284.3 | 1.87 J |
1x R9700, Loom d=0 | Loom 0.3.0, UD-Q4_K_XL | 4x256k | 98.2 (97.1) | 99.0 | 6,162.4 | 87.1 | 255.0 | 2.63 J |
Strix Halo, Loom d=3 | Loom 0.3.0, UD-Q4_K_XL | 4x256k | 59.7 | 67.9 | 2,066.7 | 50.4 | 57 to 104 | ~1.65 J |
Strix Halo, Loom d=0 | Loom 0.3.0, UD-Q4_K_XL | 4x256k | 46.3 | 46.3 | 2,090.9 | 38.8 | 104.1 | ~2.2 J |
Strix Halo, Loom 1x1M | Loom 0.3.0, UD-Q4_K_XL | 1x1M | 42.5 | 42.7 | 1,750.6 | 14.8 | 111.8 | ~2.6 J |
1x R9700, llama.cpp n=3 | ROCm b12634, AD-Q6_K | 2x128k q8 | 41.9 | 53.8 | 512.2 | 38.6 | 107.8 | 3.0 to 3.8 J |
Strix Halo, Vulkan n=3 | Vulkan b12634, AD-Q6_K | 1x1M q4 | 28.1 | 29.6 | 81.3 | 26.4 | 114.5 | ~4.1 J |
1x R9700, baseline ub=32 | ROCm b12614, AD-Q6_K | 2x128k q8 | 29.7 to 31.1 | 116.9 to 261.8 | 29.4 (@28.4k) | |||
2x R9700, split 28,72 | ROCm b12634, AD-Q6_K | 2x512k q8 | 12.5 to 13.8 | 296.9 | 11.1 | 145.6 | ~11 J |
Use 1x R9700 + patched HRX Loom when
- Contexts fit within
4x256kslots (23.25 GiB VRAM with DSparkd=3). - Interactive coding latency and fast 16.8k prefill (2.72 s TTFT, 6,200 tok/s) come first.
- You want maximum decode speed (130 to 152 tok/s) without paying an energy penalty (1.87 J/tok).
Use Strix Halo 128 GiB unified memory when
- You need real 1M-token slots, either elastic
1x1Mat 1,750.6 tok/s prefill on Loom or up to 7 to 8x 1M slots withq4_0KV on Vulkanllama.cpp. - You want
AD-Q6_Kprecision alongside long context in a single 150 W wall envelope. - You cannot patch RDNA 4 Loom kernels and want stock RDNA 3.5 execution at 60 to 68 tok/s and ~1.65 J/tok.
Limits
What this does not show
llama.cpp ran AtomicChat's AD-Q6_K (23.79 GB) while HRX Loom ran unsloth's UD-Q4_K_XL (16.4 GiB), because the two engines consume different tensor layouts (inkling2_loop against unrolled). Moving 31% fewer weight bytes per decode step accounts for part of Loom's decode lead, though not the 12x prefill gap, which comes from fused FlashAttention and WMMA kernels.
All measurements were single-stream or low-concurrency runs taken over two days. I did not sweep full four-slot concurrent saturation on Loom, nor did I measure full-chassis AC wall power on the discrete R9700 host (all R9700 power numbers are 4 Hz GPU board power from Linux hwmon). Quality was checked with the 10-step autonomous coding benchmark on the llama.cpp baseline (46/46 tests, 100% hidden assertions) and with 16.8k needle retrieval (COBALT-FALCON-7429) and 2,048-token output inspection on patched Loom; a full perplexity or SWE-bench comparison between AD-Q6_K and patched UD-Q4_K_XL remains open. Upstream llama.cpp PRs (#32752, #32218, #32751) and HRX Loom 0.3.0 are moving quickly, so tensor parallelism and upstream RDNA 4 support will supersede parts of this setup.
Sources
What this leans on
- Thinking Machines Lab, Inkling-2-Mini, for the 24-layer / 48-visit looped MoE architecture, sliding-window relative-position bias, and 3-layer
dsparkspeculative drafter (mtp_config). - AtomicChat, Inkling-2-Mini-GGUF, for the
AD-Q6_K,Q8_0, andAD-Q4_Kquantization top-1 / KLD figures and theinkling2_loopGGUF schema used inllama.cpp. ggml-org/llama.cpp, PR#32694(b12614/b12634), PR#32752(chunked mask build), PR#32740(GGML CPU FlashAttention bias contract), PR#32218(DSpark speculative decoding, pinned at commit0a9105d), and PR#32751(tensor parallelism), for the ROCm and Vulkan serving baselines and tuning ladder.loom-fun, unsloth-Inkling-2-Mini-loom (UD-Q4_K_XLanddspark-Inkling-2-Mini-Q8_0.gguf) withhrx-loom 0.3.0(libamdfover/dev/kfd), for the Strix Halo runs and theprogram/llm.loomIR patched for dual-target RDNA 3 / RDNA 4 execution.vllm-project/vllm, PR#69028(commitab18334a4) and the vLLM serving recipe, for the NVIDIA-onlyvllm/models/inkling2/nvidia/op layout blocking ROCm.- AMD RDNA 3 (
gfx11) and RDNA 4 (gfx12) ISA documentation, for wave32v_wmma_f32_16x16x16_f16operand (vector<16xf16>vsvector<8xf16>) and accumulator (2*e + halfvs8*half + e) lane layouts.
Disclosure
In case you were wondering
Several AI agents assisted with this work under my direction. The agents built the upstream runtime branches, ran the benchmark sweeps and power captures, probed the RDNA 4 WMMA accumulator lanes on hardware, wrote the Python IR patcher, drafted this report from the run logs, and reviewed the prose. I chose the hardware and workloads, directed the debugging, and verified every figure against the raw measurements.