Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
docs(AMD_HIP): STRATA_HIP_WMMA on my R9700: +27% prompt, decode unchanged
l33tm4st3rbc34b89e50a5
diff --git a/docs/AMD_HIP.md b/docs/AMD_HIP.mdindex fcd3bf8e8..23e74058d 100644--- a/docs/AMD_HIP.md+++ b/docs/AMD_HIP.md@@ -309,7 +309,14 @@ an RX 9070 XT 16 GB and a Radeon AI PRO R9700 32 GB (both gfx1201), a Ryzen 9 39the prompt path's expert ring is 96 slots (as STRATA_PREFILL_RING=96): with the default 384 the 9070 XT's 4Kprompts fell to 718 tok/s; with 96 they gain (1,017 -> 1,211; 16K 1,518 -> 2,032). PR #329(bsorensen110) contributed an equivalent gfx12 WMMA kernel of the same speed (within 1%); this one also masks KV- pages that KV streaming has not made resident, as the decode kernel does.+ pages that KV streaming has not made resident, as the decode kernel does. On my R9700 (engine 0.1.40,+ IQ3_S at 431072 ctx, `--kv int8`, the gfx1201 hipBLASLt 1.4.1 table below, which names the machine, GPU idle):+ fresh prompts of 4,210 and 8,830 tokens - the longest prompt I measured there is 8,830 tokens, the 431072 ctx is+ what the model runs at, not what these prompts reach - three matched trials each, the first fresh prompt after+ each start left out: 1,571 -> 2,064 and 1,568 -> 2,065 tok/s at 8,830 tokens (+31.4 and +31.7%) and 1,699 ->+ 1,990 at 4,210 (+17.1%), medians 1,571 -> 2,064 and a 1.27x geometric mean over those three. decode+ 89.8 -> 86.9 tok/s, unchanged. `STRATA_SELECT_WMMA=1` on top changed nothing at those lengths (2,026 tok/s);+ its +1.5% is a 16K/262K-ctx number. `hip_prompt_attn_wmma` passes on that card.- The prompt path's QSA top-k picks its kernel by the blocks a query actually has, not the cache's capacity (#337,bsorensen110): the same ids, on by default with AMD (NVIDIA keeps its capacity rule: there the 64K prompts read1-3% slower with it). `STRATA_SELECT_WMMA=1` (opt-in, gfx12) adds #337's