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++
hip: gfx1151 hipBLASLt tuning table (hipBLASLt 1.4.0)
alexdns194f9d169afee
diff --git a/docs/AMD_HIP.md b/docs/AMD_HIP.mdindex a8a6951f1..91e47914c 100644--- a/docs/AMD_HIP.md+++ b/docs/AMD_HIP.md@@ -552,6 +552,16 @@ Shipped tables:valid: the engine falls back to hipBLASEx for an id the library rejects, and the test still passes. Run it with`STRATA_HIPBLASLT_VERBOSE=1` and look for `fallbacks=0` in its summary line, and recalibrate with`tune_hipblaslt` before using this table with a different 1.5.0 build.+- `gfx1151-hipblaslt-100400.txt`: Radeon 8060S (Ryzen AI Max+ 395, gfx1151, 128 GB; Fedora 44, kernel 7.2.8),+ calibrated with the ROCm 7.14.0a20260608 wheels that setup installs for gfx1151 since 0.1.40.2 (#1267): their+ hipBLASLt is 1.4.0 (version number 100400), so neither `gfx1151-hipblaslt-100401.txt` nor `-100500.txt` applied and+ setup's engine read the prompt through plain hipBLAS. The same 90 rows as the 100401 table (its geometries, the+ prompt shapes at `--prefill 16384` included), calibrated with `tune_hipblaslt --workspace-mib 32` and that table's+ cases: 3.1x to 14.1x faster than plain hipBLAS per shape (median 6.2x). With `STRATA_HIPBLASLT_TUNING` set,+ `hip_prefill_hipblaslt_gemm` passes (`launches=4 fallbacks=0`), `hip_prefill_hcd_exact_parity` passes (solutions+ 1176 / 1177 at 9 chunk sizes, 0 outputs differ, `fallbacks=0`), and the HIP ctest passes 61 of 62 (`ple_parity`+ needs the Q2_0 model fixture). setup uses it only when the installed hipBLASLt reports 1.4.0. The prompt speed+ of a whole model with this table is not measured yet.Calibrated on my PC and kept in this checkout, not shipped: `gfx1201-hipblaslt-100401.txt`, a Radeon AI PROR9700 (gfx1201, 32 GB, 1002:7551) on a Ryzen 9 9950X3D with 62 GiB RAM, CachyOS (kernel 7.3.0-rc6-1-cachyos-rc,diff --git a/docs/STRIX_HALO.md b/docs/STRIX_HALO.mdindex 8ac12995c..4ca8af9ac 100644--- a/docs/STRIX_HALO.md+++ b/docs/STRIX_HALO.md@@ -18,7 +18,8 @@ What the engine does differently on this chip:- **gfx11 matrix cores.** The prompt attention, the block scorer, the prompt GEMMs and the prompt experts have WMMA kernels forgfx1100 / 1101 / 1102 / 1150 / 1151. A gfx11 part outside that list (gfx1103, gfx1152) is not given them: it takes the portable path.- **The hipBLASLt table** `tools/hip/gfx1151-hipblaslt-100401.txt` (ROCm 7.14.1's hipBLASLt 1.x `100401`), including the prompt shapes- at `--prefill 16384` (T 16383 / 16384).+ at `--prefill 16384` (T 16383 / 16384). Setup's own ROCm for gfx1151 (the 7.14.0a20260608 wheels, hipBLASLt 1.4.0) takes+ `tools/hip/gfx1151-hipblaslt-100400.txt`: the same shapes, calibrated against that library (docs/AMD_HIP.md, Tuning table).## 1. The toolchain (no root needed)diff --git a/tools/hip/gfx1151-hipblaslt-100400.txt b/tools/hip/gfx1151-hipblaslt-100400.txtnew file mode 100644index 000000000..999318515--- /dev/null+++ b/tools/hip/gfx1151-hipblaslt-100400.txt@@ -0,0 +1,92 @@+# solution IDs are scoped to this hipBLASLt version and device architecture+STRATA_HIPBLASLT_TUNING_V1 gfx1151 100400+bf16 10240 320 10240 2047 1177+bf16 128 2560 128 2047 1177+bf16 1 2560 1 2047 1174+bf16 2560 2560 2560 2047 1177+bf16 320 10240 320 2047 1176+bf16 48 2560 96 2047 1176+bf16 4 10240 4 2047 1175+bf16 512 2560 512 2047 1177+f16 10240 2560 10240 2047 2390+f16 12288 2560 12288 2047 2390+f16 2560 6144 2560 2047 2390+f16 2560 640 2560 2047 2390+f16 512 2560 512 2047 2390+f16 6144 2560 6144 2047 2390+f16 640 2560 640 2047 2390+bf16 10240 320 10240 2048 1177+bf16 128 2560 128 2048 1177+bf16 1 2560 1 2048 1175+bf16 2560 2560 2560 2048 1177+bf16 320 10240 320 2048 1176+bf16 48 2560 96 2048 1176+bf16 4 10240 4 2048 1175+bf16 512 2560 512 2048 1177+f16 10240 2560 10240 2048 2390+f16 12288 2560 12288 2048 2390+f16 2560 6144 2560 2048 2390+f16 2560 640 2560 2048 2390+f16 512 2560 512 2048 2390+f16 6144 2560 6144 2048 2390+f16 640 2560 640 2048 2389+bf16 10240 320 10240 8191 1177+bf16 128 2560 128 8191 1176+bf16 1 2560 1 8191 1175+bf16 2560 2560 2560 8191 1177+bf16 320 10240 320 8191 1176+bf16 48 2560 96 8191 1175+bf16 4 10240 4 8191 1175+bf16 512 2560 512 8191 1177+f16 10240 2560 10240 8191 2390+f16 12288 2560 12288 8191 2390+f16 2560 6144 2560 8191 2390+f16 2560 640 2560 8191 2390+f16 512 2560 512 8191 2390+f16 6144 2560 6144 8191 2390+f16 640 2560 640 8191 2390+bf16 10240 320 10240 8192 1177+bf16 128 2560 128 8192 1176+bf16 1 2560 1 8192 1175+bf16 2560 2560 2560 8192 1177+bf16 320 10240 320 8192 1176+bf16 48 2560 96 8192 1175+bf16 4 10240 4 8192 1174+bf16 512 2560 512 8192 1177+f16 10240 2560 10240 8192 2390+f16 12288 2560 12288 8192 2390+f16 2560 6144 2560 8192 2390+f16 2560 640 2560 8192 2390+f16 512 2560 512 8192 2390+f16 6144 2560 6144 8192 2390+f16 640 2560 640 8192 2390+bf16 10240 320 10240 16383 1177+bf16 128 2560 128 16383 1177+bf16 1 2560 1 16383 1175+bf16 2560 2560 2560 16383 1177+bf16 320 10240 320 16383 1177+bf16 48 2560 96 16383 1175+bf16 4 10240 4 16383 1174+bf16 512 2560 512 16383 1177+f16 10240 2560 10240 16383 2390+f16 12288 2560 12288 16383 2390+f16 2560 6144 2560 16383 2390+f16 2560 640 2560 16383 2390+f16 512 2560 512 16383 2390+f16 6144 2560 6144 16383 2390+f16 640 2560 640 16383 2390+bf16 10240 320 10240 16384 1177+bf16 128 2560 128 16384 1177+bf16 1 2560 1 16384 1175+bf16 2560 2560 2560 16384 1177+bf16 320 10240 320 16384 1177+bf16 48 2560 96 16384 1175+bf16 4 10240 4 16384 1175+bf16 512 2560 512 16384 1177+f16 10240 2560 10240 16384 2390+f16 12288 2560 12288 16384 2390+f16 2560 6144 2560 16384 2390+f16 2560 640 2560 16384 2390+f16 512 2560 512 16384 2390+f16 6144 2560 6144 16384 2390+f16 640 2560 640 16384 2390