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.md RDNA2 - the FP16 prompt GEMMs, their switch, the measured gain and the HIP ctest result
xjc105d83b431bae1
diff --git a/docs/AMD_HIP.md b/docs/AMD_HIP.mdindex d66ef344a..400978706 100644--- a/docs/AMD_HIP.md+++ b/docs/AMD_HIP.md@@ -348,6 +348,19 @@ run it; the report below is from a community machine: an RX 6900 XT 16 GB (gfx10[AMD_HIP_PERFORMANCE.md](AMD_HIP_PERFORMANCE.md) cost 8.6 and 13.6 tok/s here (30 with the defaults): keep thedefaults on a 16 GB card.- **hipBLASLt:** ROCm's hipBLASLt ships no gfx1030 kernels, so there is no table and the plain hipBLAS path runs.+- **Prompt GEMMs in FP16 (#835):** rocBLAS on gfx1030 has tuned kernels for FP16-in / FP16-out GEMMs only; the prompt+ path's FP16-in / FP32-out and BF16 products ran generic kernels about 6.6x slower (5.6 and ~5.3 TFLOPS against 37.7 at+ N = 10240, T = 7313, K = 2560). On gfx103x the 16-bit prompt GEMMs now run FP16 in and out; `STRATA_HIP_PROMPT_F16=0` is+ the old path. The output is not bit-identical to it (an FP16 rounding of each GEMM's output replaces the BF16 rounding of+ the BF16 GEMMs' activations); what the distribution check showed and did not show is in+ [bench/results/2026-10-04-rdna2-fp16-prompt](../bench/results/2026-10-04-rdna2-fp16-prompt/README.md). Measured on a+ second community machine - 2x RX 6900 XT 16 GB (one card for these numbers), Ryzen 5 5600X (6 cores, AVX2), 128 GB,+ Ubuntu 26.04, ROCm 10.0.0, engine 0.1.39 built by hand with `-DSTRATA_PREFILL_MMQ=ON` as setup does, GSQ-RCO IQ3_S:+ a 9.4K / 34.7K / 105.8K-token prompt reads at 744 / 915 / 926 tok/s instead of 439 / 466 / 461; decode is unchanged.+ On that machine the HIP ctest passes 60 of 65 with and without this change: 2 skipped (`hip_prompt_attn_wmma`, no+ matrix cores; `hip_prefill_hipblaslt_gemm`, no hipBLASLt table) and 3 that fail for reasons outside the engine+ (`ple_parity` needs a Q2_0 PLE file that is not on that machine, `expert_multi_test` refuses the CPU without AVX-512,+ `platform_memory_test` cannot `mlock` at the shell's default `ulimit -l`).- **gfx1031** (RX 6700 XT, #524): setup knows it (the `gfx103X-all` wheels, unvalidated); its reporter runs it dailyon one card.- **Not validated:** gfx1032 (the same `dp4a` path, no hardware report), setup's own build path and the