FIELD NOTE · TA-95 REGISTER

Pushing Inkling 2 Mini from 24.8 to 90.6 tok/s on an RX 7900 XT

65 experiments, 13 custom Vulkan GLSL shaders, NVFP4 Q8_1 integer-dot MMVQ, and a quantized KV flash-attention fix to take Inkling 2 Mini from 24.8 to 90.6 tok/s single-stream and 128.2 tok/s concurrent on an RX 7900 XT.

Note: Please pardon my slop on this one. I’m working with Neon to get this out quickly, so it hasn’t had my usual editing pass yet.

I started with Thinking Machines Lab’s Inkling 2 Mini running at 24.8 tok/s on my AMD Radeon RX 7900 XT and failing 0/4 of my local structured-JSON checks. Sixty-five controlled experiments, 13 custom Vulkan GLSL shaders, and an NVFP4 x Q8_1 integer-dot kernel later, the same card hits 90.61 tok/s single-stream decode in llama-bench (90.09 tok/s peak in bench.py) inside 14.23 GiB of VRAM on UD-Q3_K_XL, and 85.96 tok/s single-stream / 128.24 tok/s across two concurrent streams / 1,607.2 tok/s 16K prefill inside 15.34 GiB of VRAM on the higher-quality UD-IQ4_XS quant (KLD 0.0109), with both profiles passing 8/8 acceptance gates.

All of the configs, scripts, acceptance evidence, and the full llama.cpp kernel patch (patches/inkling2-vulkan-fused-waves1-5.patch) are in Trav55555/inkling-inference-opt.

The machine and the ground rules

The target host is a desktop with an AMD Radeon RX 7900 XT (gfx1100, 19.98 GiB VRAM), a Ryzen 5 7600, and 60 GiB of DDR5 running Linux 7.0. Before touching any inference flags, I measured the card directly with a small HIP/Vulkan microbenchmark (scripts/hw_bench.c):

  • Device-to-device memory bandwidth (256 MiB copy): 615.1 GB/s median (626.5 GB/s peak at 1249 MHz MCLK, vs 800 GB/s paper spec).
  • FP16 GEMM (FP32 accumulate): 96.1 TFLOPS at 4096^3 and 106.5 TFLOPS at 8192^3.

Because this card also drives my desktop compositor and a co-resident embedding model (qwen3-embedding:0.6b), I put a hard 17.0 GiB VRAM cap on the model server so nothing spills over PCIe GTT.

Inkling 2 Mini is an unusual architecture to optimize: 26.4B total parameters across 24 physical blocks, with the middle 12 blocks looped 3x to form 48 effective layers, 128 MoE experts (top-8), 8 full-attention layers, 40 sliding-window attention (SWA-1024) layers, short depthwise convolutions on K/V/attention/FFN outputs, depth-attention residual mixing across blocks, and relative-position attention bias instead of RoPE. At UD-Q3_K_XL, each decode token reads about 3.651 GB of weights across those 48 layer visits, which puts the measured GDDR6 bandwidth ceiling near 168 tok/s without speculation.

To keep myself from chasing benchmark noise, I followed a strict hill-climb workflow (sybil-solutions/inference-optimisation-skill): change one lever at a time, bracket every candidate with interleaved control runs (control -> candidate -> control), take the median of 6 prompts at temperature=0.0, verify GPU idle state before starting, and require every promoted winner to pass an 8-gate suite (scripts/acceptance_gate.py): server load, basic chat, 4/4 structured JSON fixtures, separated reasoning output, tool-call round-trip, 3/3 needle retrieval + prefix-cache hits at 50% (9K) and 85% (15K) of the 16K per-slot window, and a 2x9K concurrent soak.

Progression across versions

Every number below is an interleaved bench.py median of 6 prompts (reasoning_effort=none) unless noted otherwise.

Versionc1 (tok/s)c2 (tok/s)pp16KVRAMGates
v0: baseline (Vulkan, Q4_K_M, spill)24.8-228.6*>17 GiB0/4
v1: b04 (ROCm, Q3_K_XL, no spill)34.0357.06760.514.29 GiB4/4
v2: b27 (Vulkan + DSpark, GFX queue)65.8685.63995.314.81 GiB8/8
v3: b50 (Strata HIP SQ-15, chunk 768)78.5197.96†2,376.415.36 GiB7/8‡
v4: b60 Wave 2E (8 Vulkan shaders)77.97116.951,244.614.24 GiB8/8
v6a: b60 Wave 4 (f16 KV, GQA=8, WMMA)83.10120.961,473.514.31 GiB8/8
v6b: b62 Wave 4 (q8_0 KV, MMQ, WMMA)79.42112.141,496.413.62 GiB8/8
v7a: b63 Wave 5 (Q3_K_XL, f16 KV)90.61§112.39§1,292.9§14.23 GiB8/8
v7b: b65 Wave 5 (IQ4_XS, q8_0 KV)84.63§128.241,607.215.34 GiB8/8

v0 prefill was measured at 4K (pp4K). †Strata b54 with ROCm low-latency env vars reached 102.82 tok/s c2 (77.67 c1). ‡Strata disables thinking mode by design. §Wave 5 queue.sh ran under heavy background host CPU load (load1=20), where Wave 4 b60 bracketing controls dropped to 78.64 / 75.59 c1 and 114.88 / 109.17 c2; in clean llama-bench (tg128, load1=11), Wave 5 b63 hit 90.61 tok/s vs Wave 4’s 86.23 (+5.1%), peaked at 90.09 tok/s in bench.py, and Wave 5 b64 (Q3_K_XL q8_0 KV) hit 13.53 GiB / 121.92 c2 / 1,569.6 pp16K.

v0 to v1: why the baseline was broken

Two bugs explained almost all of the bad starting numbers:

  1. The chat template ignores enable_thinking. Inkling 2 Mini’s Jinja template takes reasoning_effort ("none" = 0.0 through "max" = 0.99) and defaults to 0.9 when omitted. My JSON gate was passing enable_thinking: false, so the model burned hundreds of thinking tokens on every call and hit max_tokens=1024 before emitting JSON. Passing --jinja --reasoning-effort none fixed it immediately. One trap to avoid: --reasoning-budget 0 puts Inkling 2 Mini into an infinite <|content_thinking|> reopen loop.
  2. Silent PCIe spill on UD-Q4_K_M. UD-Q4_K_M weights (15.0 GiB) plus KV cache and compute buffers totaled 17.51 GiB. Under Vulkan --fit on, layers spilled to CPU. Under ROCm, hipMemGetInfo over-reported free memory and spilled 1.37 GiB into GTT, capping decode around 33 tok/s. Moving to UD-Q3_K_XL (12.69 GiB) with --fit off -ngl 99 dropped VRAM to 14.29 GiB with zero spill and brought ROCm up to 34.03 tok/s (b04).

v2: upstream PRs, RADV queue tuning, and DSpark

Next I built a clean pinned llama.cpp Vulkan binary (scripts/build_vulkan_opt.sh) on top of ggml-org/llama.cpp@cbb1c1c with PR #32735 (non-contiguous Vulkan SCALE), PR #32740 (compact indexed bias in FLASH_ATTN_EXT), PR #32773 (DSpark speculative decoding), and unslothai#395 (dual looped GGUF layout).

That got Vulkan to 41.04 tok/s (b06). Then three levers pushed it to 65.86 tok/s (b27-clean-build):

  • Switching q8_0 KV to f16 KV (b08) somehow saved memory. Moving from -ctk q8_0 -ctv q8_0 (b06) to f16 KV (b08) cut VRAM from 14.13 GiB down to 14.01 GiB while raising decode from 41.04 to 42.51 tok/s and 16K prefill from 880.8 to 915.5 tok/s. That looked backwards at the time, and I parked it until Wave 4 when I found the exact line causing it.
  • DSpark n_max=2 (b10). Adding dspark-Inkling-2-Mini-Q8_0.gguf with -ctkd q4_0 -ctvd q4_0 lifted median c1 from 42.6 to 52.05 tok/s (+22%, up to 77 tok/s on code) without hurting prose. Pushing n_max to 3, 4, or 5 regressed prose and concurrent throughput because verifying larger batches across 128 MoE experts reads too many unique experts.
  • RADV graphics queue + single submit (b17, b18). Profiling with GGML_VK_PERF_LOGGER=1 showed why Inkling 2 was so far below its 168 tok/s bandwidth ceiling: all dense mat-vecs and the LM head took only 4.02 ms/token, while ~17 ms/token went into dispatch and barrier overhead across 12,970 graph nodes per token. Setting GGML_VK_ALLOW_GRAPHICS_QUEUE=1 jumped c1 from 51.8 to 65.09 tok/s (+25.9%). Adding GGML_VK_MAX_NODES_PER_SUBMIT=16384 collapsed ~130 Vulkan submits per token into 1, reaching 65.86 c1 / 85.63 c2 / 973.5 pp4K / 995.3 pp16K in b27-clean-build with 8/8 gates passing.

v3: native Strata HIP and the SWA-1024 chunk ceiling

Before writing custom Vulkan kernels, I tested Strata v0.2.20 (strata-inkling 0.1.66 HIP rx7900) with its native Inkling-2-Mini-SQ-15.strata quant (13.36 GiB, KLD 0.00889, about 2x lower KLD than UD-Q3_K_XL).

Four findings came out of 26 Strata runs (b28 through b56):

  1. Turning DSpark off won (b30). Because Strata’s base batch=1 HIP step is fast (~12.7 ms), verifying a draft batch of 3 to 12 tokens across 128 experts took 20.5 to 58.8 ms. Setting --draft off jumped c1 from 70.73 to 78.65 tok/s (+11.7%) and cut 1.09 GiB of VRAM.
  2. Keeping weights in Linux page cache cut startup 4x (b39). Setting STRATA_OOMD_ROOM=0 STRATA_OOMD_PACER=0 kept the 13.36 GiB file warm in 60 GiB DDR5, dropping restart time from 19 s to 4 to 5 s.
  3. SWA-1024 prefill chunk corruption above 768 (b40, b41, b50, b51, b56). --chunk 2048 hit 2,845 tok/s prefill, which looked great in bench.py, until the 8-gate acceptance suite caught total needle collapse (0/3 at 9K, 0/6 on concurrent soak). Binary-searching down proved --chunk 1024, 896, and 832 all broke 15K needle retrieval or prefix caching (warm_cached_tokens=0). --chunk 768 (b50) was the exact safe ceiling: 78.51 c1 / 97.96 c2 / 2,290 pp4K / 2,376 pp16K at 15.36 GiB VRAM with 100% clean needles and prefix cache.
  4. ROCm low-latency env vars (b54) and quant-slope proof (b52). Adding HSA_ENABLE_SDMA=0 HIP_FORCE_DEV_KERNARG=1 AMD_DIRECT_DISPATCH=1 reproducibly lifted c2 from ~95 to 102.6 tok/s (+8%). Testing the smaller SQ-10.strata quant (3.190 vs 4.043 GB/tok, -21% bytes) only shaved 0.09 ms/tok while hurting prefill 8 to 10%, confirming fixed launch/ALU overhead (~6 ms) was the floor on Strata.

Strata’s main limitation on Inkling 2 Mini is that it hard-disables thinking mode (HAS_THINKING=False), so clients can’t opt into reasoning_content when they want deeper reasoning.

v4 and v5: writing nine custom Vulkan GLSL shaders (Waves 1 to 3)

Since b27 spent ~17 ms/tok in tiny glue ops inside ggml-vulkan, I forked src/llama.cpp onto a local branch (opt-inkling2-fused), built a cached Debian Trixie Docker image with glslc 2025.2 (~5 to 10 s incremental rebuilds), and fused Inkling 2’s looped subgraphs directly in Vulkan GLSL.

Across Waves 1, 2E, and 3 I wrote nine custom shaders plus a topk_moe.comp extension:

  • inkling_clip.comp (48 unscaled + 96 scaled calls/tok): collapses the 8-to-9 op L2-norm row-clipping chain (MUL, SQR, SUM_ROWS, SQRT, SCALE_BIAS, FILL, DIV, CLAMP, MUL) into one dispatch (~4,000+ us down to 272 us).
  • inkling_ctrl_gate.comp (96 calls/tok): fuses the cross-pass loop controller gate (1 - tanh(f))*cur + tanh(g)*msg from 6 ops to 1 (140 us total).
  • inkling_dual_rms_concat.comp (96 calls/tok): fuses CONCAT(RMS_NORM(cur), RMS_NORM(msg)) using single-read vec4 registers and subgroupAdd (363 us in Wave 2 down to 204 us in Wave 3).
  • inkling_situ.comp (48 calls/tok): fuses the 9-op LLM_FFN_SITU activation on strided gate/up views into 1 shader (74 us total; TANH calls 97 to 1, SCALE 293 to 5).
  • topk_moe.comp (with_norm == 2, 48 calls/tok): adds Inkling 2’s biased sigmoid top-8 router with wt_sum + eps normalization and expert_weights_scale (169 us total; eliminates ARGSORT, SUM_ROWS, DIV).
  • inkling_sconv.comp + conv_slot_rev_cache (176/176 = 100%): fuses the 8-op causal short convolution + state write (CONCAT, VIEWs, CPY/SET_ROWS, SSM_CONV, RESHAPE, ADD, SCALE) into 1 shader (284 us at b=1). Getting 100% coverage required fixing two graph-optimizer snags: protecting interior VIEW nodes from ggml_vk_graph_optimize Pass 2 and including cell in ggml_can_fuse_subgraph’s output list because CPY/SET_ROWS double-references it.
  • inkling_depth_mix.comp (120/120 = 100%): branch-free vec4 single-read-Q subgroup-reduced depth-attention fusion over K=2..5 block residuals (n_q=1..4), eliminating 1,080+ ops (2,350 us down to 664 us).
  • inkling_rms_norm_mul.comp (154 calls/tok) and inkling_rel_sub_perm.comp (48 calls/tok): Wave 3 single-read vec4 + subgroupAdd fast path for RMS_NORM_MUL, fused SUB(table, sinks) + PERMUTE + CONT (76 us), cached padded relative bias (PAD 48 to 24), and skipping no-op ggml_repeat_4d in build_lora_mm_id when n_tokens == 1 (REPEAT 88 to 0, restoring MUL_MAT_ID_MUL 44/44 on nvfp4 experts).
  • inkling_add_scale.comp (16 calls/tok): fuses ADD + SCALE on the remaining dynamic convs (23 us; guarded against do_add_rms_partials in ggml-vulkan.cpp).

By Wave 2E, batch=1 GPU decode time dropped from 22.5 ms to 12.38 ms (-45%). And at that exact crossover point, DSpark flipped from a +22% win to a regression, just like on Strata: batch=3 verify (18.67 ms) plus draft (2.62 ms) was now ~2x slower per step than plain batch=1, outpacing average accepted tokens on prose. Dropping DSpark in Wave 2E (b60-vkfused-nods) immediately hit 77.97 c1 / 116.95 c2 / 14.24 GiB, tying Strata on c1 and beating it by +22.7% on c2.

v6 (Wave 4): fixing quantized KV cache, GQA=8 packing, and RDNA3 WMMA prefill

Right after Wave 3 finished compiling, Unsloth posted about a llama.cpp CUDA bug on Inkling 2 Mini where enabling 8-bit KV cache used more VRAM than F16 because Inkling 2’s indexed-bias attention kernel didn’t support quantized KV and silently fell back to an F16 copy path.

That immediately explained the weird b06 vs b08 result from the start of my hill climb. Checking ggml/src/ggml-vulkan/ggml-vulkan.cpp (line 17733) turned up the exact same restriction in Vulkan, plus two more Inkling 2 bottlenecks sitting right next to it:

  1. Silent dense_bias_mask() fallback on quantized KV. ggml_backend_vk_device_supports_op rejected indexed_bias whenever src[1]->type != GGML_TYPE_F16 || src[2]->type != GGML_TYPE_F16. That made src/llama-graph.cpp:3188 strip indexed_bias and allocate a dense [KV, N, n_head] F32+F16 attention bias mask in the compute buffer. Meanwhile flash_attn.comp already had dequantize4 and MMQ (dotPacked4x8EXT) support via FaTypeK/FaTypeV specialization constants. Unlocking quantized KV types (Q8_0, Q4_0, Q4_1, Q5_0, Q5_1, IQ4_NL) and emitting flash_attn_f32_f16_rows_int8 (MMQ) and flash_attn_f32_f16_rows_dot2 (DOT2_F16) eliminated the fallback cleanly.
  2. GQA=8 head packing was disabled whenever bias != nullptr. Inkling 2 has 32 query heads and 4 KV heads (qk_ratio = 8). Because ggml_vk_flash_attn gated GQA packing on !bias, decode launched 8 separate workgroups per KV head and read the KV cache 8 times instead of once. Adding per-head indexed-bias addressing (query = iq3 * p.ne2 + gqa_iq1, head = iq2 + row) to flash_attn.comp and flash_attn_cm1.comp cut decode KV reads by 8x.
  3. Prefill was stuck on scalar ALU instead of RDNA3 WMMA. ggml_vk_flash_attn forced get_fa_tuning_params_scalar whenever bias != nullptr, leaving the RX 7900 XT’s 16x16x16 VK_KHR_cooperative_matrix units idle during prefill. Adding KV_ROWS staging (stage_k/stage_v with kv_active bounds checks) and indexed_bias lookup to flash_attn_cm1.comp unlocked flash_attn_f32_f16_rows_cm1.

One useful nuance turned up in llama-bench: FA_COOPMAT1 (Br=16) crushed prefill (pp4096 jumped from 1,200 to 1,788 tok/s in llama-bench), but for decode (N=1 packed to gqa_ratio=8) its 16-row tile wasted half its rows and ran at 78.60 tok/s, whereas FA_SCALAR (Br=8 matching GQA=8 1-to-1 with dot2_f16) hit 82.41 tok/s. Adding GGML_VK_BIAS_SCALAR_DECODE=1 gives us the best of both worlds: WMMA FA_COOPMAT1 for prefill and Br=8 scalar GQA=8 for decode.

Before running the final bracket, I checked greedy equivalence against the unmodified b27 binary on a 1,200-token prefill prompt: Wave 4 CM1 + GQA=8 f16 matched 64/64 exact greedy tokens.

Final interleaved bracket and 8/8 acceptance results

Running the official interleaved queue.sh bracket (b50 -> b60 -> b62 -> b50) on 2026-11-23 gave:

  • b50-strata-sq15-chunk768 (bracketing controls): 78.34 / 77.62 c1 (mean 77.98), 97.18 / 92.68 c2 (mean 94.93), 2,278 / 2,263 pp4K, 2,322 / 2,347 pp16K, 15.36 GiB VRAM.
  • b60-vkfused-nods (Wave 4, f16 KV, no DSpark): 83.10 tok/s c1 ([81.29, 82.15, 83.02, 83.55, 83.18, 83.50], +6.6% over Strata), 120.96 tok/s c2 (63.24 + 63.24, +27.4% over Strata), 1,352.9 pp4K, 1,473.5 pp16K (+48% over b27), 4.0 s startup, 14.31 GiB VRAM (14.33 GiB peak during 2x9K soak). 8/8 acceptance gates PASS: 4/4 Porygon JSON (71.9-77.6 tok/s), separated reasoning_content + 391, tool call VLT9K4X2, 9K needle 3/3 (1,518 pp / 77.3 tg / 9,042 cached), 15K needle 3/3 (1,511 pp / 76.5 tok/s decode at 15K ctx / 15,216 cached), and 2x9K concurrent soak 6/6 in 16.13 s. On a quiet desktop (load1=1.70) behind cliproxy, live single-stream decode measured 86.4 to 87.2 tok/s.
  • b62-vkfused-nods-q8kv (Wave 4, q8_0 KV, no DSpark): 79.42 tok/s c1, 112.14 tok/s c2, 1,380.3 pp4K, 1,496.4 pp16K (slightly faster prefill than f16), and 13.62 GiB VRAM (13.65 GiB soak). 8/8 acceptance gates PASS. Quantized q8_0 KV now saves 0.69 GiB instead of costing an extra 0.12 GiB.

One caveat on b62: during the 15K-context acceptance gate, q8_0 KV decoded at 56.5 tok/s vs 76.5 tok/s for f16 KV on b60. At 32K total context (16K per slot), f16 KV (b60) is strictly faster; q8_0 KV (b62) is the better choice when you want to push context to 64K-128K or move up to UD-IQ4_XS (KLD 0.0109) under the 17 GiB cap.

v7 (Wave 5): NVFP4 Q8_1 MMVQ, four more fused kernels, O(N) graph optimization, and UD-IQ4_XS

After Wave 4 settled, another pass through GGML_VK_PERF_LOGGER=1 showed where the remaining ~2 ms/token of non-bandwidth time was hiding:

  1. NVFP4 x Q8_1 integer-dot MUL_MAT_VEC(_ID) (mul_mat_vecq.comp + mul_mat_vecq_funcs.glsl, 78/78 MoE dispatches). UD-Q3_K_XL uses NVFP4 for 44/48 ffn_down_exps and 34/48 ffn_gate_up_exps visits (~70% of all MoE weights). ggml-vulkan had mul_mat_vec_id_mxfp4_q8_1_f32 (dotPacked4x8EXT, 4 rows/WG), but no NVFP4 q8_1 variant, so every NVFP4 expert fell back to float-LUT dequant with 2 rows/WG. Adding 4-byte-aligned DATA_A_NVFP4 (K_PER_ITER=16, matching block_nvfp4’s 16-element sub-blocks) and unlocking AMD ggml_vk_should_use_mmvq at k >= 1024 (so ffn_down_exps at k=1152 qualifies) cut ffn_down_exps from 24.78 to 21.12 us and drove ffn_gate_up_exps (k=2304, 23.89 MB/call) to 39.87 us = 599 GB/s (97.4% of measured RX 7900 XT GDDR6 bandwidth), with 128/128 exact greedy token match vs float NVFP4 across short, 1,200-token, and concurrent prompts.
  2. inkling_sconv_dyn.comp (16/16, 256 to 16 dispatches, ~480 us down to 30.4 us). Full-attention layers add 4 input-dependent per-head taps to K/V convolutions (w0+d3, w1+d2, w2+d1, w3+d0). Fusing all 40 ops (including widening ggml_can_fuse_subgraph and fused_ops_write_mask from 32 to 64 bits and whitelisting the external tap views) collapsed 240 dispatches per token.
  3. inkling_ctrl_down.comp (96/96, 192 to 96 dispatches, 701 us down to 310 us). Because RMS_NORM(x) is a scalar multiple of x, dot(W_left, rms_norm(cur)) + dot(W_right, rms_norm(msg)) factors into scale_c * dot(W_left, cur) + scale_m * dot(W_right, msg). That fuses DUAL_RMS_CONCAT + ctrl_down into a single pass over cur and msg with zero intermediate 4,608-float buffer.
  4. inkling_ctrl_apply.comp (96/96, 288 to 96 dispatches, 615 us down to 300 us). Fuses ctrl_forget + ctrl_gain + INKLING_CTRL_GATE with 16-lane subgroupShuffleXor rows (zero LDS barriers) plus a fused 2-token mode that loads W_f and W_g once for c2.
  5. inkling_rel_table.comp (48/48) + dead PAD elision (48 to 0, 500 us down to 124 us) + SIGMOID_MUL protection (48/48, 179 us down to 95 us). Reads unpadded attn_rel_bias[16, 1024] directly, caches Rcur and Sinks in LDS, emits -sinks[h] for bin 1024, writes transposed [24, 1025], and skips all 24 dead PAD dispatches.
  6. The CPU surprise: a 3-billion-iteration loop inside ggml_vk_graph_optimize. Serialized GPU time dropped from 12,376 us to 10,254 us (-2.12 ms/tok), yet the very first llama-bench run came back slower. Adding four 40-op sconv_dyn patterns exposed that in_protected_pattern() was re-running match_pattern() (without an early break) on every node in both Pass 1 and Pass 2, burning ~3 ms/tok on one CPU core. Precomputing a flat O(N) protected_node[] table once per graph, making dead-PAD elision O(N), and batching the three independent Q/K/V control() gates/applies in inkling2.cpp so they run concurrently (48 fewer barriers/tok) immediately turned that GPU win into real wall-clock speed.

Wave 5 benchmarks and 8/8 acceptance results

  • Clean llama-bench A/B (tg128 / pp512, load1=11):
    • Wave 4 UD-Q3_K_XL (f16 KV): 86.23 ± 1.04 tok/s tg128 / 1,890.5 pp512
    • Wave 5 UD-Q3_K_XL (f16 KV): 90.61 ± 1.60 tok/s tg128 (+5.1%) / 1,816.0 pp512
    • Wave 5 UD-IQ4_XS (q8_0 KV): 85.96 ± 2.45 tok/s tg128 / 1,907.6 pp512
  • Interleaved queue.sh (b60 -> b63 -> b64 -> b65 -> b60, under heavy load1=20 background CPU load):
    • b60 (Wave 4 controls): 78.64 / 75.59 c1 (85.10 peak), 114.88 / 109.17 c2, 14.31 GiB VRAM.
    • b63-vkfused-w5-nods (Wave 5 UD-Q3_K_XL, f16 KV): 83.17 c1 median (+7.8% vs controls, 90.09 peak), 14.23 GiB VRAM, 5.6 s startup, 8/8 acceptance PASS (including 15K needle 3/3 at 76.9 tok/s decode and 2x9K concurrent soak 6/6).
    • b64-vkfused-w5-nods-q8kv (Wave 5 UD-Q3_K_XL, q8_0 KV): 121.92 c2, 1,517.4 pp4K, 1,569.6 pp16K, 13.53 GiB VRAM.
    • b65-vkfused-w5-iq4xs-q8kv (Wave 5 UD-IQ4_XS, q8_0 KV): 84.63 c1 median (83.6-85.3), 128.24 c2 aggregate (66.0 + 66.0, new all-time record, +35% over Strata), 1,486.1 pp4K / 1,607.2 pp16K, 15.34 GiB VRAM (1.66 GiB under cap), 8/8 acceptance PASS (4/4 JSON at 73.4-74.0 tok/s, 9K & 15K needles 3/3 at 1,565 / 1,521 pp and 73.5 / 75.8 tok/s decode, 2x9K soak 6/6). And UD-IQ4_XS brings KLD 0.0109, more than 2x lower KLD than UD-Q3_K_XL.

Reproducing the build

git clone https://github.com/Trav55555/inkling-inference-opt.git
cd inkling-inference-opt

# Clean Docker build of Wave 5 Fused Vulkan llama.cpp (applies patches/inkling2-vulkan-fused-waves1-5.patch)
bash scripts/build_vulkan_fused.sh

# Download Inkling-2-Mini-UD-Q3_K_XL.gguf (or UD-IQ4_XS.gguf) into models/ from unsloth/Inkling-2-Mini-GGUF
# Serve b63-vkfused-w5-nods (UD-Q3_K_XL, f16 KV, 14.2 GiB, ~90.6 tok/s tg128) on 127.0.0.1:8085
bash recipes/serve-inkling-2-mini-vkfused.sh

# Or serve b64-vkfused-w5-nods-q8kv (UD-Q3_K_XL, q8_0 KV, 13.5 GiB peak VRAM)
KV_TYPE=q8_0 bash recipes/serve-inkling-2-mini-vkfused.sh

# Or serve b65-vkfused-w5-iq4xs-q8kv (UD-IQ4_XS, q8_0 KV, 15.3 GiB, 128.2 tok/s c2, KLD 0.0109)
MODEL=models/Inkling-2-Mini-UD-IQ4_XS.gguf KV_TYPE=q8_0 bash recipes/serve-inkling-2-mini-vkfused.sh

Where I landed

With Wave 5 promoted into bin/vulkan-fused/, I now have two clean 8/8-qualified local serving profiles on the RX 7900 XT:

  • Max single-stream speed & lowest VRAM (b63-vkfused-w5-nods, UD-Q3_K_XL, f16 KV): 90.6 tok/s tg128, 14.23 GiB peak VRAM (2.8 GiB headroom under cap), 5.6 s restarts, and full reasoning_effort support.
  • Best overall quality + concurrency (b65-vkfused-w5-iq4xs-q8kv, UD-IQ4_XS, q8_0 KV): 2.15x lower quantization KLD (0.0109, right next to Strata’s SQ-15), 84.6-86.0 tok/s single-stream, 128.2 tok/s across two concurrent streams, 1,607 tok/s 16K prefill, 15.34 GiB peak VRAM, and full reasoning_effort support.

If I ever need maximum cold prefill (2,376 tok/s) on non-thinking workloads, the Strata b50/b54 unit stays one systemctl toggle away.