hip: hipBLASLt tuning table for gfx1201 (Radeon AI PRO R9700) with ROCm 10.2.0a nightly (hipBLASLt 1.5.0)
tools/hip/gfx1201-hipblaslt-100500.txt: 16 dense GEMM geometries (bf16 and f16) at T=4096 and T=8192, 32 rows, calibrated on an R9700 with tune_hipblaslt (16 candidates per row, relative L2 <= 1e-4, max abs <= 1e-2, no padding writes) against rocm-nightly-gfx120x-all 10.2.0a20260914, hipBLASLt 1.5.0 (version number 100500). The engine refuses a table of another hipBLASLt version, so the existing gfx1201 table in #262 (100401, hipBLASLt 1.4.1) is not used on this ROCm; setup picks tools/hip/<arch>-hipblaslt-<version>.txt by the installed version, so both can be shipped side by side. Compared with #262's 24 rows this table has the same 24 shapes (with solution ids chosen for hipBLASLt 1.5.0: 13 of the 24 ids are the same) and 8 more, all bf16 (N=1/K=2560 at T=8192, N=4/K=10240, N=512/K=2560 at T=4096, N=2560/K=2560 at T=4096, and N=10240 with K=2560 and K=320 at T=4096/8192). docs/AMD_HIP.md lists the shipped tables and how to check one.
This commit is contained in:
1 parent
99b3bde00a
commit
dd088d3324
2 files changed
+44
No files matched your search
@@ -232,6 +232,16 @@ The file's second line names the architecture and version (`STRATA_HIPBLASLT_TUN
|
||||
as `tools/hip/<arch>-hipblaslt-<version>.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
|
||||
|
||||
@@ -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
|
||||
Reference in new issue
Block a user