hip: ship a gfx1100 tuning table for hipBLASLt 100401 (ROCm 10.0.0)

ROCm 10.0.0's hipBLASLt is 1.4.1, whose solution ids are version 100401, and no
gfx1100 table shipped for it - so on an RX 7900 XTX with a packaged ROCm 10 the
prompt path's dense GEMMs fell back to plain hipBLAS. This is the same version
mismatch PR #745 measured on ROCm 10.2 (their 100500), reproduced on 10.0.0.

tools/hip/gfx1100-hipblaslt-100401.txt: calibrated with tools/hip/tune_hipblaslt
over the 26 dense geometries of the shipped gfx1100 table, on a Ryzen 7 9800X3D.
Swift 1.5 IQ3_XXS, 262144 ctx, --kv int8, fresh prompts (a nonce per request, or
the server's prompt checkpoint reads nothing), medians of 3:

  1.7K tokens   682 -> 1,038 tok/s  (+52%)
  6.5K tokens   857 -> 1,524 tok/s  (+78%)

Decode unchanged (79.0 vs 80.3 tok/s, inside this machine's 2.3% run drift), and
hip_prefill_hipblaslt_gemm with STRATA_HIPBLASLT_VERBOSE=1 reports fallbacks=0.
This commit is contained in:
miskahm authored and Niko1221 committed 2026-10-05 18:33:29 +02:00
1 parent ce37456ccd
commit 7984688e3c
2 files changed
+34

No files matched your search

+6
View File
@@ -433,6 +433,12 @@ prompt speed with and without it before keeping it.
Shipped tables:
- `gfx1100-hipblaslt-100100.txt`, `gfx1100-hipblaslt-100200.txt`: RX 7900 XTX.
- `gfx1100-hipblaslt-100401.txt`: RX 7900 XTX, calibrated with the packaged ROCm 10.0.0
(`rocm/dev-ubuntu-24.04:10.0.0-full`, hipBLASLt 1.4.1) on a Ryzen 7 9800X3D, over the 26 dense GEMM
geometries of the shipped gfx1100 table. Without it, that stack reads a prompt through plain hipBLAS: on
Swift 1.5 IQ3_XXS at 262144 ctx, fresh-prompt prefill measured 682 -> 1,038 tok/s at 1.7K tokens and
857 -> 1,524 tok/s at 6.5K (medians of 3, decode unchanged), with `hip_prefill_hipblaslt_gemm` reporting
`fallbacks=0`. setup uses it only when the installed hipBLASLt reports 1.4.1.
- `gfx1201-hipblaslt-100500.txt`: Radeon AI PRO R9700 (gfx1201, 32 GB), calibrated with ROCm 10.2.0a20260914
(AMD's `gfx120X-all` nightly, hipBLASLt 1.5.0, library build `d3164197`). 16 dense GEMM geometries at T=4096 and
T=8192, 32 rows. setup uses it only when the installed hipBLASLt reports 1.5.0 (it is found in `/opt/rocm`
+28
View File
@@ -0,0 +1,28 @@
# solution IDs are scoped to this hipBLASLt version and device architecture
STRATA_HIPBLASLT_TUNING_V1 gfx1100 100401
bf16 1 2560 1 4096 1035
bf16 4 10240 4 8192 1035
bf16 48 2560 96 4096 1035
bf16 48 2560 96 8192 1036
bf16 128 2560 128 4096 1036
bf16 128 2560 128 8192 1036
bf16 320 10240 320 4096 1036
bf16 320 10240 320 8192 1036
bf16 512 2560 512 8192 1036
bf16 2560 2560 2560 8192 1036
bf16 10240 320 10240 4096 1036
bf16 10240 320 10240 8192 1036
f16 512 2560 512 4096 2106
f16 512 2560 512 8192 2106
f16 640 2560 640 4096 2106
f16 640 2560 640 8192 2106
f16 2560 640 2560 4096 2106
f16 2560 640 2560 8192 2106
f16 2560 6144 2560 4096 2106
f16 2560 6144 2560 8192 2106
f16 6144 2560 6144 4096 2106
f16 6144 2560 6144 8192 2106
f16 10240 2560 10240 4096 2106
f16 10240 2560 10240 8192 2106
f16 12288 2560 12288 4096 2106
f16 12288 2560 12288 8192 2106