diff --git a/docs/AMD_HIP.md b/docs/AMD_HIP.md index a2c4bc2f..69cf3b4a 100644 --- a/docs/AMD_HIP.md +++ b/docs/AMD_HIP.md @@ -229,6 +229,10 @@ an RX 9070 XT 16 GB and a Radeon AI PRO R9700 32 GB (both gfx1201), a Ryzen 9 39 so none was shipped for it: there the plain hipBLAS path is already close. For hipBLASLt 1.5.0 (ROCm 10.2.0a nightly) `tools/hip/gfx1201-hipblaslt-100500.txt` is shipped (see "Tuning table" below); on one R9700 it measured +3.9% prompt speed on 4,210-token prompts (1,590 vs 1,531 tok/s), a modest gain. + With the hipBLASLt 1.2.2 of a system ROCm 7.2.4 the plain path is far off, and `tools/hip/gfx1201-hipblaslt-100202.txt` + is shipped for it (24 of the gfx1100 table's 26 shapes; setup uses it only with that exact version): on an R9700 + with the full IQ3_XXS, `--kv int8 --kv-resident 32768`, a fresh 32K prompt read at 638 -> 1,177 tok/s and a 7K one + at 656 -> 1,164 tok/s with it, decode unchanged. `hip_prefill_hipblaslt_gemm` passes with it. - **Both cards in one run (layer split, engine 0.1.30):** the config's `"backend": "hip", "gpu": [1, 0]` (R9700 first) runs through `serve/server.py` (setup writes it with `--gpus 1,0` since 0.1.31). Auto split put layers 0-27 on the R9700 and 28-47 on the 9070 XT. With every expert on the GPUs the split gives exactly the tokens of the R9700 alone (4K and diff --git a/tools/hip/gfx1201-hipblaslt-100202.txt b/tools/hip/gfx1201-hipblaslt-100202.txt new file mode 100644 index 00000000..d69e3da9 --- /dev/null +++ b/tools/hip/gfx1201-hipblaslt-100202.txt @@ -0,0 +1,26 @@ +# solution IDs are scoped to this hipBLASLt version and device architecture +STRATA_HIPBLASLT_TUNING_V1 gfx1201 100202 +bf16 1 2560 1 4096 74196 +bf16 48 2560 96 4096 73754 +bf16 48 2560 96 8192 73754 +bf16 128 2560 128 4096 73754 +bf16 128 2560 128 8192 73715 +bf16 320 10240 320 4096 73838 +bf16 320 10240 320 8192 73838 +bf16 512 2560 512 8192 73803 +bf16 2560 2560 2560 8192 73778 +bf16 10240 320 10240 8192 73761 +f16 512 2560 512 4096 88193 +f16 512 2560 512 8192 88307 +f16 640 2560 640 4096 88251 +f16 640 2560 640 8192 88192 +f16 2560 640 2560 4096 88216 +f16 2560 640 2560 8192 88307 +f16 2560 6144 2560 4096 88281 +f16 2560 6144 2560 8192 88281 +f16 6144 2560 6144 4096 88255 +f16 6144 2560 6144 8192 88307 +f16 10240 2560 10240 4096 88255 +f16 10240 2560 10240 8192 88255 +f16 12288 2560 12288 4096 88255 +f16 12288 2560 12288 8192 88255