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.
| Version | c1 (tok/s) | c2 (tok/s) | pp16K | VRAM | Gates |
|---|---|---|---|---|---|
| v0: baseline (Vulkan, Q4_K_M, spill) | 24.8 | - | 228.6* | >17 GiB | 0/4 |
| v1: b04 (ROCm, Q3_K_XL, no spill) | 34.03 | 57.06 | 760.5 | 14.29 GiB | 4/4 |
| v2: b27 (Vulkan + DSpark, GFX queue) | 65.86 | 85.63 | 995.3 | 14.81 GiB | 8/8 |
| v3: b50 (Strata HIP SQ-15, chunk 768) | 78.51 | 97.96† | 2,376.4 | 15.36 GiB | 7/8‡ |
| v4: b60 Wave 2E (8 Vulkan shaders) | 77.97 | 116.95 | 1,244.6 | 14.24 GiB | 8/8 |
| v6a: b60 Wave 4 (f16 KV, GQA=8, WMMA) | 83.10 | 120.96 | 1,473.5 | 14.31 GiB | 8/8 |
| v6b: b62 Wave 4 (q8_0 KV, MMQ, WMMA) | 79.42 | 112.14 | 1,496.4 | 13.62 GiB | 8/8 |
| v7a: b63 Wave 5 (Q3_K_XL, f16 KV) | 90.61§ | 112.39§ | 1,292.9§ | 14.23 GiB | 8/8 |
| v7b: b65 Wave 5 (IQ4_XS, q8_0 KV) | 84.63§ | 128.24 | 1,607.2 | 15.34 GiB | 8/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:
- The chat template ignores
enable_thinking. Inkling 2 Mini’s Jinja template takesreasoning_effort("none"= 0.0 through"max"= 0.99) and defaults to 0.9 when omitted. My JSON gate was passingenable_thinking: false, so the model burned hundreds of thinking tokens on every call and hitmax_tokens=1024before emitting JSON. Passing--jinja --reasoning-effort nonefixed it immediately. One trap to avoid:--reasoning-budget 0puts Inkling 2 Mini into an infinite<|content_thinking|>reopen loop. - Silent PCIe spill on
UD-Q4_K_M.UD-Q4_K_Mweights (15.0 GiB) plus KV cache and compute buffers totaled 17.51 GiB. Under Vulkan--fit on, layers spilled to CPU. Under ROCm,hipMemGetInfoover-reported free memory and spilled 1.37 GiB into GTT, capping decode around 33 tok/s. Moving toUD-Q3_K_XL(12.69 GiB) with--fit off -ngl 99dropped 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_0KV tof16KV (b08) somehow saved memory. Moving from-ctk q8_0 -ctv q8_0(b06) tof16KV (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). Addingdspark-Inkling-2-Mini-Q8_0.ggufwith-ctkd q4_0 -ctvd q4_0lifted medianc1from 42.6 to 52.05 tok/s (+22%, up to 77 tok/s on code) without hurting prose. Pushingn_maxto 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 withGGML_VK_PERF_LOGGER=1showed 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. SettingGGML_VK_ALLOW_GRAPHICS_QUEUE=1jumpedc1from 51.8 to 65.09 tok/s (+25.9%). AddingGGML_VK_MAX_NODES_PER_SUBMIT=16384collapsed ~130 Vulkan submits per token into 1, reaching 65.86 c1 / 85.63 c2 / 973.5 pp4K / 995.3 pp16K inb27-clean-buildwith 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):
- Turning DSpark off won (
b30). Because Strata’s basebatch=1HIP 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 offjumpedc1from 70.73 to 78.65 tok/s (+11.7%) and cut 1.09 GiB of VRAM. - Keeping weights in Linux page cache cut startup 4x (
b39). SettingSTRATA_OOMD_ROOM=0 STRATA_OOMD_PACER=0kept the 13.36 GiB file warm in 60 GiB DDR5, dropping restart time from 19 s to 4 to 5 s. - SWA-1024 prefill chunk corruption above 768 (
b40,b41,b50,b51,b56).--chunk 2048hit 2,845 tok/s prefill, which looked great inbench.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, and832all 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. - ROCm low-latency env vars (
b54) and quant-slope proof (b52). AddingHSA_ENABLE_SDMA=0 HIP_FORCE_DEV_KERNARG=1 AMD_DIRECT_DISPATCH=1reproducibly liftedc2from ~95 to 102.6 tok/s (+8%). Testing the smallerSQ-10.strataquant (3.190vs4.043GB/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)*msgfrom 6 ops to 1 (140 us total).inkling_dual_rms_concat.comp(96 calls/tok): fusesCONCAT(RMS_NORM(cur), RMS_NORM(msg))using single-readvec4registers andsubgroupAdd(363 us in Wave 2 down to 204 us in Wave 3).inkling_situ.comp(48 calls/tok): fuses the 9-opLLM_FFN_SITUactivation on strided gate/up views into 1 shader (74 us total;TANHcalls 97 to 1,SCALE293 to 5).topk_moe.comp(with_norm == 2, 48 calls/tok): adds Inkling 2’s biased sigmoid top-8 router withwt_sum + epsnormalization andexpert_weights_scale(169 us total; eliminatesARGSORT,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 atb=1). Getting 100% coverage required fixing two graph-optimizer snags: protecting interiorVIEWnodes fromggml_vk_graph_optimizePass 2 and includingcellinggml_can_fuse_subgraph’s output list becauseCPY/SET_ROWSdouble-references it.inkling_depth_mix.comp(120/120 = 100%): branch-freevec4single-read-Q subgroup-reduced depth-attention fusion overK=2..5block residuals (n_q=1..4), eliminating 1,080+ ops (2,350 us down to 664 us).inkling_rms_norm_mul.comp(154 calls/tok) andinkling_rel_sub_perm.comp(48 calls/tok): Wave 3 single-readvec4+subgroupAddfast path forRMS_NORM_MUL, fusedSUB(table, sinks) + PERMUTE + CONT(76 us), cached padded relative bias (PAD48 to 24), and skipping no-opggml_repeat_4dinbuild_lora_mm_idwhenn_tokens == 1(REPEAT88 to 0, restoringMUL_MAT_ID_MUL44/44 onnvfp4experts).inkling_add_scale.comp(16 calls/tok): fusesADD + SCALEon the remaining dynamic convs (23 us; guarded againstdo_add_rms_partialsinggml-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:
- Silent
dense_bias_mask()fallback on quantized KV.ggml_backend_vk_device_supports_oprejectedindexed_biaswheneversrc[1]->type != GGML_TYPE_F16 || src[2]->type != GGML_TYPE_F16. That madesrc/llama-graph.cpp:3188stripindexed_biasand allocate a dense[KV, N, n_head]F32+F16 attention bias mask in the compute buffer. Meanwhileflash_attn.compalready haddequantize4andMMQ(dotPacked4x8EXT) support viaFaTypeK/FaTypeVspecialization constants. Unlocking quantized KV types (Q8_0,Q4_0,Q4_1,Q5_0,Q5_1,IQ4_NL) and emittingflash_attn_f32_f16_rows_int8(MMQ) andflash_attn_f32_f16_rows_dot2(DOT2_F16) eliminated the fallback cleanly. - GQA=8 head packing was disabled whenever
bias != nullptr. Inkling 2 has 32 query heads and 4 KV heads (qk_ratio = 8). Becauseggml_vk_flash_attngated 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) toflash_attn.compandflash_attn_cm1.compcut decode KV reads by 8x. - Prefill was stuck on scalar ALU instead of RDNA3 WMMA.
ggml_vk_flash_attnforcedget_fa_tuning_params_scalarwheneverbias != nullptr, leaving the RX 7900 XT’s 16x16x16VK_KHR_cooperative_matrixunits idle during prefill. AddingKV_ROWSstaging (stage_k/stage_vwithkv_activebounds checks) andindexed_biaslookup toflash_attn_cm1.compunlockedflash_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.62c1 (mean77.98),97.18 / 92.68c2 (mean94.93),2,278 / 2,263pp4K,2,322 / 2,347pp16K,15.36 GiBVRAM.b60-vkfused-nods(Wave 4,f16KV, no DSpark):83.10 tok/sc1 ([81.29, 82.15, 83.02, 83.55, 83.18, 83.50], +6.6% over Strata),120.96 tok/sc2 (63.24 + 63.24, +27.4% over Strata),1,352.9pp4K,1,473.5pp16K (+48% overb27),4.0 sstartup,14.31 GiBVRAM (14.33 GiBpeak during 2x9K soak). 8/8 acceptance gates PASS: 4/4 Porygon JSON (71.9-77.6 tok/s), separatedreasoning_content+391, tool callVLT9K4X2, 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) behindcliproxy, live single-stream decode measured 86.4 to 87.2 tok/s.b62-vkfused-nods-q8kv(Wave 4,q8_0KV, no DSpark):79.42 tok/sc1,112.14 tok/sc2,1,380.3pp4K,1,496.4pp16K (slightly faster prefill thanf16), and13.62 GiBVRAM (13.65 GiBsoak). 8/8 acceptance gates PASS. Quantizedq8_0KV 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:
NVFP4 x Q8_1integer-dotMUL_MAT_VEC(_ID)(mul_mat_vecq.comp+mul_mat_vecq_funcs.glsl, 78/78 MoE dispatches).UD-Q3_K_XLusesNVFP4for 44/48ffn_down_expsand 34/48ffn_gate_up_expsvisits (~70% of all MoE weights).ggml-vulkanhadmul_mat_vec_id_mxfp4_q8_1_f32(dotPacked4x8EXT, 4 rows/WG), but noNVFP4q8_1variant, so everyNVFP4expert fell back to float-LUT dequant with 2 rows/WG. Adding 4-byte-alignedDATA_A_NVFP4(K_PER_ITER=16, matchingblock_nvfp4’s 16-element sub-blocks) and unlocking AMDggml_vk_should_use_mmvqatk >= 1024(soffn_down_expsatk=1152qualifies) cutffn_down_expsfrom 24.78 to 21.12 us and droveffn_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 floatNVFP4across short, 1,200-token, and concurrent prompts.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 wideningggml_can_fuse_subgraphandfused_ops_write_maskfrom 32 to 64 bits and whitelisting the externaltapviews) collapsed 240 dispatches per token.inkling_ctrl_down.comp(96/96, 192 to 96 dispatches, 701 us down to 310 us). BecauseRMS_NORM(x)is a scalar multiple ofx,dot(W_left, rms_norm(cur)) + dot(W_right, rms_norm(msg))factors intoscale_c * dot(W_left, cur) + scale_m * dot(W_right, msg). That fusesDUAL_RMS_CONCAT + ctrl_downinto a single pass overcurandmsgwith zero intermediate 4,608-float buffer.inkling_ctrl_apply.comp(96/96, 288 to 96 dispatches, 615 us down to 300 us). Fusesctrl_forget+ctrl_gain+INKLING_CTRL_GATEwith 16-lanesubgroupShuffleXorrows (zero LDS barriers) plus a fused 2-token mode that loadsW_fandW_gonce forc2.inkling_rel_table.comp(48/48) + deadPADelision (48 to 0, 500 us down to 124 us) +SIGMOID_MULprotection (48/48, 179 us down to 95 us). Reads unpaddedattn_rel_bias[16, 1024]directly, cachesRcurandSinksin LDS, emits-sinks[h]for bin 1024, writes transposed[24, 1025], and skips all 24 deadPADdispatches.- 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 firstllama-benchrun came back slower. Adding four 40-opsconv_dynpatterns exposed thatin_protected_pattern()was re-runningmatch_pattern()(without an earlybreak) on every node in both Pass 1 and Pass 2, burning ~3 ms/tok on one CPU core. Precomputing a flatO(N)protected_node[]table once per graph, making dead-PADelisionO(N), and batching the three independent Q/K/Vcontrol()gates/applies ininkling2.cppso 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-benchA/B (tg128/pp512,load1=11):- Wave 4
UD-Q3_K_XL(f16KV):86.23 ± 1.04tok/stg128/1,890.5pp512 - Wave 5
UD-Q3_K_XL(f16KV):90.61 ± 1.60tok/stg128(+5.1%) /1,816.0pp512 - Wave 5
UD-IQ4_XS(q8_0KV):85.96 ± 2.45tok/stg128/1,907.6pp512
- Wave 4
- Interleaved
queue.sh(b60 -> b63 -> b64 -> b65 -> b60, under heavyload1=20background CPU load):b60(Wave 4 controls):78.64 / 75.59c1 (85.10 peak),114.88 / 109.17c2,14.31 GiBVRAM.b63-vkfused-w5-nods(Wave 5UD-Q3_K_XL,f16KV):83.17c1 median (+7.8% vs controls,90.09peak),14.23 GiBVRAM,5.6 sstartup, 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 5UD-Q3_K_XL,q8_0KV):121.92c2,1,517.4pp4K,1,569.6pp16K,13.53 GiBVRAM.b65-vkfused-w5-iq4xs-q8kv(Wave 5UD-IQ4_XS,q8_0KV):84.63c1 median (83.6-85.3),128.24c2 aggregate (66.0 + 66.0, new all-time record, +35% over Strata),1,486.1pp4K /1,607.2pp16K,15.34 GiBVRAM (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). AndUD-IQ4_XSbringsKLD 0.0109, more than 2x lower KLD thanUD-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.shWhere 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,f16KV): 90.6 tok/stg128, 14.23 GiB peak VRAM (2.8 GiB headroom under cap), 5.6 s restarts, and fullreasoning_effortsupport. - Best overall quality + concurrency (
b65-vkfused-w5-iq4xs-q8kv,UD-IQ4_XS,q8_0KV): 2.15x lower quantization KLD (0.0109, right next to Strata’sSQ-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 fullreasoning_effortsupport.
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.