mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #565] [CLOSED] tools/hip: add gfx1100 hipBLASLt tuning table for hipBLASLt 1.2.2 (100202) #2696
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2696
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/565
Author: @lawsirlawsir-png
Created: 10/3/2026
Status: ❌ Closed
Base:
main← Head:hip-gfx1100-100202-table📝 Commits (1)
23d5d80tools/hip: add gfx1100 hipBLASLt tuning table for hipBLASLt 1.2.2 (100202)📊 Changes
1 file changed (+28 additions, -0 deletions)
View changed files
➕
tools/hip/gfx1100-hipblaslt-100202.txt(+28 -0)📄 Description
What
Adds one file:
tools/hip/gfx1100-hipblaslt-100202.txt— 26 rows, calibrated withtools/hip/tune_hipblaslt.cppon a Radeon PRO W7800 (gfx1100) under ROCm 7.2.4.Why
setup.py:hipblaslt_table()resolvestools/hip/<arch>-hipblaslt-<version>.txt, where the version comes fromhipblaslt-version.h(MAJOR*100000 + MINOR*100 + PATCH). ROCm 7.2.4 ships hipBLASLt 1.2.2 → 100202 (verified on this box:HIPBLASLT_VERSION_MAJOR 1 / MINOR 2 / PATCH 2), andtools/hip/onmaincarries only100100and100200for gfx1100. With no matching file, setup warns and the dense prefill GEMMs fall back to plain hipBLAS.Measured on this machine on engine 0.1.27 with
tools/hip/bench_prefill.py(4 fresh prompts, 128 max_tokens, temp 0, seed 42,--prefill auto --kv int8 --mtp mtp/rt --expert-cache auto, thinking off):What the table actually is
STRATA_HIPBLASLT_TUNING_V1 gfx1100 100202.(type, n, k, ldy, t_bucket)shapes are identical to the shippedgfx1100-hipblaslt-100200.txt(mechanical diff of columns 1–5).bf16 1 2560 1 4096: 541 → 540bf16 4 10240 4 8192: 542 → 541So the gain comes from the version gate accepting a table at all, not from a wholesale re-tune. That is also why the file is worth shipping rather than leaving to each user: the fallback penalty is the whole 75%, not the two rows.
How it was verified
TuningTable::load()accepts it (arch and version match the runtime pair) — the engine logsprefill gemm: hipBLASLt tuning enabled (26 rows, gfx1100, version 100202).setup.pypicks it up by name alone; noSTRATA_HIPBLASLT_TUNINGneeded once the file is intools/hip/./healthloaded, prefill 1,043–1,231 tok/s on fresh prompts, decode 62.6–67.0 tok/s.File integrity:
sha256 a594869223200c62019d3c997345e89664d5126fcbd089a44f4f95a267ad2ff3, 845 bytes.Scope and limits (so the table is not over-read)
tools/hip/<arch>-hipblaslt-<version>.txtis what makes setup find it.bench_prefill.pyconditions, not a cross-card claim.Two small notes
tools/hip/onmainstill has only 100100/100200 as of today.tools/hip/READMEfor the tuner; there is no README intools/hip/onmain— the tuner documentation is indocs/AMD_HIP.md("Tuning table").🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.