[PR #2148] [CLOSED] hip: add a gfx1150 hipBLASLt 100500 tuning table (Radeon 890M / Ryzen AI 9 HX 370) #3884

Closed
opened 2026-11-07 15:31:25 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2148
Author: @onionbutties
Created: 10/12/2026
Status: ❌ Closed

Base: main ← Head: gfx1150-hipblaslt-100500


📝 Commits (1)

  • b4a57d6 hip: add a gfx1150 hipBLASLt 100500 tuning table (Radeon 890M)

📊 Changes

1 file changed (+143 additions, -0 deletions)

View changed files

➕ tools/hip/gfx1150-hipblaslt-100500.txt (+143 -0)

📄 Description

Issue: #1217 (the gfx1150 build/run report) - the table it did not have

Summary

A hipBLASLt tuning table for gfx1150 (Radeon 890M on a Ryzen AI 9 HX 370, Strix Point), for engines built with
hipBLASLt 1.5.0 (version 100500). Setup picks it up by itself when the installed hipBLASLt reports 100500.

What changed

  • tools/hip/gfx1150-hipblaslt-100500.txt (new): 141 rows over the 16 dense GEMM geometries of
    gfx1150-hipblaslt-100401.txt at T = 64, 128, ..., 16384.
    • Two tune_hipblaslt --workspace-mib 32 passes; each row keeps the solution with the lowest mean of the six
      repetitions (a repetition stalls now and then on this chip, so the tool's mean-of-three pick can differ between
      passes).
    • The three rows slower than plain hipBLAS (the tiny bf16 N=1 K=2560 shape at T = 64 / 128 / 256; about 13-39 us and
      noise-dominated) are left out, so those buckets route to the nearest good row.
    • Every remaining row beats plain hipBLAS: 1.07x to 16.7x per GEMM, geometric mean 5.0x.
  • No source change: the engine already loads a table for the running card's arch and version
    (src/prefill/hipblaslt_tuning.hpp).

Extra Notes

  • Calibrated on one machine: Radeon 890M (gfx1150), Ryzen AI 9 HX 370, 96 GB DDR5-5600, Windows 11, engine 0.1.43,
    ROCm 10.2.0a20260930, hipBLASLt 1.5.0. A table's solution IDs are scoped to one hipBLASLt version and architecture,
    so a different 1.5.0 build should recalibrate before using it (the engine refuses any other header version).
  • The prompt-speed gain of the whole model is not measured separately here (the per-GEMM numbers above are); per the
    maintainers' convention a shipped table should show the end-to-end prompt speed too.
  • The installer opt-in that wires this table in for a gfx1150 install is #2147.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/2148 **Author:** [@onionbutties](https://github.com/onionbutties) **Created:** 10/12/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `gfx1150-hipblaslt-100500` --- ### 📝 Commits (1) - [`b4a57d6`](https://github.com/Niko1221/Strata/commit/b4a57d607525cdc4491242ca66d2908df5193b31) hip: add a gfx1150 hipBLASLt 100500 tuning table (Radeon 890M) ### 📊 Changes **1 file changed** (+143 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `tools/hip/gfx1150-hipblaslt-100500.txt` (+143 -0) </details> ### 📄 Description Issue: #1217 (the gfx1150 build/run report) - the table it did not have ## Summary A hipBLASLt tuning table for gfx1150 (Radeon 890M on a Ryzen AI 9 HX 370, Strix Point), for engines built with hipBLASLt 1.5.0 (version 100500). Setup picks it up by itself when the installed hipBLASLt reports 100500. ## What changed - `tools/hip/gfx1150-hipblaslt-100500.txt` (new): 141 rows over the 16 dense GEMM geometries of `gfx1150-hipblaslt-100401.txt` at T = 64, 128, ..., 16384. - Two `tune_hipblaslt --workspace-mib 32` passes; each row keeps the solution with the lowest mean of the six repetitions (a repetition stalls now and then on this chip, so the tool's mean-of-three pick can differ between passes). - The three rows slower than plain hipBLAS (the tiny bf16 N=1 K=2560 shape at T = 64 / 128 / 256; about 13-39 us and noise-dominated) are left out, so those buckets route to the nearest good row. - Every remaining row beats plain hipBLAS: 1.07x to 16.7x per GEMM, geometric mean 5.0x. - No source change: the engine already loads a table for the running card's arch and version (`src/prefill/hipblaslt_tuning.hpp`). ## Extra Notes - Calibrated on one machine: Radeon 890M (gfx1150), Ryzen AI 9 HX 370, 96 GB DDR5-5600, Windows 11, engine 0.1.43, ROCm 10.2.0a20260930, hipBLASLt 1.5.0. A table's solution IDs are scoped to one hipBLASLt version and architecture, so a different 1.5.0 build should recalibrate before using it (the engine refuses any other header version). - The prompt-speed gain of the whole model is not measured separately here (the per-GEMM numbers above are); per the maintainers' convention a shipped table should show the end-to-end prompt speed too. - The installer opt-in that wires this table in for a gfx1150 install is #2147. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:31:25 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3884
No description provided.