mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2392] [Engine] hip: hipBLASLt tuning table for gfx1101 (RX 7800 XT, hipBLASLt 1.2.0) #4022
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#4022
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/2392
Author: @skuridin
Created: 10/14/2026
Status: 🔄 Open
Base:
main← Head:hip-gfx1101-hipblaslt-table📝 Commits (1)
910c310hip: hipBLASLt tuning table for gfx1101 (RX 7800 XT, hipBLASLt 1.2.0)📊 Changes
2 files changed (+58 additions, -2 deletions)
View changed files
📝
docs/AMD_HIP.md(+13 -2)➕
tools/hip/gfx1101-hipblaslt-100200.txt(+45 -0)📄 Description
Problem and result
There is no hipBLASLt table for gfx1101, so the RX 7700 XT / 7800 XT run the prompt's dense GEMMs on plain hipBLAS. This adds one for hipBLASLt 1.2.0 (100200). That is the version in the ROCm 7.10.0a20251120 wheels that setup installs for gfx110X, and the version bundled in the 0.2.0-beta
linux-x86_64-hip-rx7900engine. On an RX 7800 XT, prompts read about 70% faster.Related discussion
Follows #254, which added gfx1101 support but no table. @dominick253 reported a similar gain on their 7800 XT above (about 500 -> 700 tok/s).
Approach
tools/hip/gfx1101-hipblaslt-100200.txt: new, 43 rows. Same geometries asgfx1100-hipblaslt-100401.txt(the small-T expert GEMM included), calibrated withtune_hipblaslt --workspace-mib 32. Two passes in a row picked the same solution id in all 43 rows, and every row beats plain hipBLAS (2.98x to 16.6x per GEMM).docs/AMD_HIP.md: a bullet under "Shipped tables", and the "Community-validated cards" intro mentions it.No code changes.
hipblaslt_table()finds the file by arch and version, so only gfx1101 with hipBLASLt 100200 loads it. Other cards and versions do not change.Validation
Revision: this commit on top of main
cbfd5b92(engine 0.1.46.2, later than 0.2.0-beta). RX 7800 XT 16 GB, Ryzen 7 5800X3D, 60 GiB RAM, Ubuntu 26.04 (kernel 7.0.0), Docker, ROCm 7.10.0a20251120 wheels. Build flags assetup.py(STRATA_PREFILL_MMQ,STRATA_Q6K_EXPERTS,STRATA_MMQ_KQUANTS, gfx1101). Qwen3.8-Flash-Next GSQ-RCO IQ3_S, 131072 ctx,--kv q4_0.Passed:
hip_prefill_hipblaslt_gemmwith the table andSTRATA_HIPBLASLT_VERBOSE=1: 4/4 cases PASS,launches=4 fallbacks=0.End to end, three interleaved pairs (baseline, table, baseline, ...), a fresh server each run, cold prompts:
Each table run logged
hipBLASLt tuning enabled (43 rows, gfx1101, version 100200)andlaunches=13328 fallbacks=0 unique_fallback_shapes=0for the prompts.hipblasLtGetVersionon thelibhipblaslt.so.1in the 0.2.0-betastrata-engine-0.1.45.3-linux-x86_64-hip-rx7900package returns 100200.Failed:
Not run:
hip_prefill_hcd_exact_parityskips (exit 77): the table sends no tested T to solution 1176 / 1177.Limits
setup.pysetsSTRATA_HIPBLASLT_TUNING.strata launchand the app do not load tables yet, and the engine package does not shiptools/hip/. Thus Terminal and app users get no gain from this PR unless they set the variable themselves. That is a separate change, and I can open an issue for it.T=64 N=64 K=320test shape that the table has no row for. This givesfallbacks=2once at startup. It has no effect on the prompts.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.