diff --git a/docs/AMD_HIP.md b/docs/AMD_HIP.md index 767b1bdd..0b520777 100644 --- a/docs/AMD_HIP.md +++ b/docs/AMD_HIP.md @@ -232,6 +232,16 @@ The file's second line names the architecture and version (`STRATA_HIPBLASLT_TUN as `tools/hip/-hipblaslt-.txt` for setup, or point `STRATA_HIPBLASLT_TUNING` at it. Compare the prompt speed with and without it before keeping it. +Shipped tables: + +- `gfx1100-hipblaslt-100100.txt`, `gfx1100-hipblaslt-100200.txt`: RX 7900 XTX. +- `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` + when that is a system ROCm 7 or newer). The version number is the only thing the engine can check, so another + 1.5.0 build could number its solutions differently: run `hip_prefill_hipblaslt_gemm` with `STRATA_HIPBLASLT_TUNING` pointing at the table + (it exits non-zero when the table does not fit) and recalibrate with `tune_hipblaslt` if it fails. + ## Original backend validation (PR #94) The following is historical validation of the original backend, not a fresh diff --git a/tools/hip/gfx1201-hipblaslt-100500.txt b/tools/hip/gfx1201-hipblaslt-100500.txt new file mode 100644 index 00000000..e13c712b --- /dev/null +++ b/tools/hip/gfx1201-hipblaslt-100500.txt @@ -0,0 +1,34 @@ +# solution IDs are scoped to this hipBLASLt version and device architecture +STRATA_HIPBLASLT_TUNING_V1 gfx1201 100500 +bf16 1 2560 1 4096 110508 +bf16 1 2560 1 8192 110524 +bf16 4 10240 4 4096 110549 +bf16 4 10240 4 8192 110549 +bf16 48 2560 96 4096 110416 +bf16 48 2560 96 8192 110419 +bf16 128 2560 128 4096 110001 +bf16 128 2560 128 8192 110161 +bf16 320 10240 320 4096 110420 +bf16 320 10240 320 8192 110420 +bf16 512 2560 512 4096 110428 +bf16 512 2560 512 8192 110428 +bf16 2560 2560 2560 4096 110428 +bf16 2560 2560 2560 8192 110428 +bf16 10240 320 10240 4096 110428 +bf16 10240 320 10240 8192 110462 +bf16 10240 2560 10240 4096 110428 +bf16 10240 2560 10240 8192 110428 +f16 512 2560 512 4096 135699 +f16 512 2560 512 8192 135625 +f16 640 2560 640 4096 135740 +f16 640 2560 640 8192 135629 +f16 2560 640 2560 4096 135625 +f16 2560 640 2560 8192 135611 +f16 2560 6144 2560 4096 135187 +f16 2560 6144 2560 8192 135631 +f16 6144 2560 6144 4096 135625 +f16 6144 2560 6144 8192 135625 +f16 10240 2560 10240 4096 135625 +f16 10240 2560 10240 8192 135625 +f16 12288 2560 12288 4096 135625 +f16 12288 2560 12288 8192 135625