Skip to content

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++

rocBLAS table docs: the shipped gfx1030 table was measured on an RX 6900 XT; other gfx1030 cards can make their own with tune_rocblas (reports welcome)

xjc104b3e4d096f60
diff --git a/docs/AMD_HIP.md b/docs/AMD_HIP.md
index d8e5573c1..63991377f 100644
--- a/docs/AMD_HIP.md
+++ b/docs/AMD_HIP.md
@@ -490,7 +490,10 @@ run it; the report below is from a community machine: an RX 6900 XT 16 GB (gfx10
the directory, from which it takes the file of its own rocBLAS build) and runs those solutions in place of rocBLAS's
choice, the default kernel for every shape without a row. Solution indices are valid for one architecture and one
rocBLAS build (the full version string, `5.6.0.8d1ae90e` for ROCm 10.0.0's), and the engine refuses any other
- table. Shipped: `gfx1030-rocblas-5.6.0.8d1ae90e.txt` (ROCm 10.0.0, the `/opt/rocm` setup installs on Ubuntu); setup
+ table. Shipped: `gfx1030-rocblas-5.6.0.8d1ae90e.txt` (ROCm 10.0.0, the `/opt/rocm` setup installs on Ubuntu), measured
+ on an RX 6900 XT. Other gfx1030 cards (RX 6800 / 6800 XT / 6950 XT, Radeon PRO W6800 / V620) run it as well - the
+ indices are valid on every gfx1030 - but have fewer CUs or other clocks, so their own table may pick differently;
+ `tune_rocblas` makes one in about 5 minutes ([Tuning table](#tuning-table)), and a report of what it changed is welcome. Setup
points the engine at the directory when a table for the card's architecture exists, and the engine's log says
`rocBLAS tuning enabled (... rows ...)` or why not. Measured on the 2x RX 6900 XT machine above (one card, #835 +
this, `STRATA_PREFILL_TIMING=1`, temperature 0, the same answers with and without): a 799-token prompt's GPU time
diff --git a/tools/hip/gfx1030-rocblas-5.6.0.8d1ae90e.txt b/tools/hip/gfx1030-rocblas-5.6.0.8d1ae90e.txt
index 717c3b52e..b1badd742 100644
--- a/tools/hip/gfx1030-rocblas-5.6.0.8d1ae90e.txt
+++ b/tools/hip/gfx1030-rocblas-5.6.0.8d1ae90e.txt
@@ -1,6 +1,7 @@
# rocBLAS solution indices for the prompt path's FP16-out GEMMs; valid for this architecture and rocBLAS build only
# rows: type N K ldy T solution (type f16o: FP16 in, FP16 out, FP32 compute; Gemm::f16_inplace)
# solution: rocBLAS's solution index, or `default` where its own choice measured best at that bucket
+# measured on an RX 6900 XT (80 CUs); another gfx1030 card can make its own with tools/hip/tune_rocblas
STRATA_ROCBLAS_TUNING_V1 gfx1030 5.6.0.8d1ae90e
f16o 10240 2560 10240 256 -1086327703 # 2.35815 ms -> 0.347774 ms
f16o 10240 2560 10240 512 -1086327703 # 4.93049 ms -> 0.674375 ms