mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #386] [CLOSED] tools/hip: gfx1201 hipBLASLt table for ROCm 7.2.4 (hipBLASLt 1.2.2), ~1.8x prompt speed on the R9700 #2613
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#2613
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/386
Author: @abhinand5
Created: 10/1/2026
Status: ❌ Closed
Base:
main← Head:gfx1201-hipblaslt-table📝 Commits (1)
904db52tools/hip: gfx1201 hipBLASLt table for hipBLASLt 1.2.2 (ROCm 7.2.4)📊 Changes
2 files changed (+35 additions, -3 deletions)
View changed files
📝
docs/AMD_HIP.md(+9 -3)➕
tools/hip/gfx1201-hipblaslt-100202.txt(+26 -0)📄 Description
The RDNA4 notes say a gfx1201 hipBLASLt table only moved prompt speed by 0-3%, so none ships. That matches hipBLASLt 1.4.1, but on a system ROCm 7.2.4 (hipBLASLt 1.2.2) the plain hipBLAS path is much slower, and a table almost doubles prompt speed. This adds one for that version.
tools/hip/gfx1201-hipblaslt-100202.txtwas calibrated on my R9700 withtune_hipblasltat the engine's shapes. It covers 24 of the 26 shapes in the gfx1100 table; the other two fall back to hipBLAS as usual. Since setup only uses a table whose arch and version match exactly, nothing changes for anyone on TheRock wheels or ROCm 7.14.Numbers (R9700 32 GB, Ryzen 7 9800X3D, 30 GB single-channel DDR5, full GSQ-RCO IQ3_XXS native pack with
--mmap-experts, 15,602 cached slots,--kv int8 --kv-resident 32768 --max-context 131072,STRATA_STAGER_THREADS=8 STRATA_STAGER_RING=32, engine 0.1.31.) The only difference between the arms isSTRATA_HIPBLASLT_TUNING. I alternated the arms across two server starts and took the median of 4 warm runs each:hip_prefill_hipblaslt_gemm, which normally skips for lack of a table, passes with this one on all four cases (bf16 and f16, relative L2 at most 2.6e-6). I also updated the hipBLASLt bullet in the RDNA4 section ofdocs/AMD_HIP.md, so it says the 1.4.1 result doesn't carry over to 1.2.2.My guess is that your 0-3% and my +80% are both right, and the gap is the hipBLASLt version rather than the model. I haven't checked that on 1.4.1 myself, though.
This PR was drafted with AI assistance (Claude), and tested on my machine.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.