[GH-ISSUE #4034] [Docs] A hand-built engine on gfx1151 runs ~20-25% slower on prompts unless STRATA_HIPBLASLT_TUNING or <exe dir>/tuning/ is set; say so in the build section #1738

Closed
opened 2026-11-04 01:53:36 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @nabe2030 on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4034

Area

[Docs] (documentation)

Desktop app, Terminal or source?

Source (START-HERE.bat, setup.sh or a build)

What happened

docs/AMD_HIP.md says that for a source build the tuning table is unchanged. A build made with plain cmake and started with serve/server.py (not through setup.sh) has no table, and nothing says so besides a missing log line. On Strix Halo (gfx1151, hipBLASLt version 100401) with Qwen3.8-Flash-Next UD-IQ4_XS on engine 0.1.49.1 (0.2.4.1):

prompt tok/s 8K 64K
STRATA_HIPBLASLT_TUNING=tools/hip/gfx1151-hipblaslt-100401.txt 1051 1217
no env, no tuning/ next to the binary 826 924
no env, the same file copied to <dir of the strata binary>/tuning/gfx1151-hipblaslt-100401.txt 1043 1228

So a hand-built engine without the table is about 20-25% slower on prompts. The only hint in the log is that the prefill gemm: hipBLASLt tuning enabled (90 rows, gfx1151, version 100401) line is missing (and a STRATA_HCD_EXACT: no hipBLASLt tuning table is loaded ... note appears with STRATA_HC_Q8=1).

Suggestion: one sentence in the "Building from source" part of docs/AMD_HIP.md saying that a hand-built engine needs STRATA_HIPBLASLT_TUNING (or a tuning/ folder next to the binary), and optionally a log line such as hipBLASLt tuning table: none (set STRATA_HIPBLASLT_TUNING or put it in tuning/) on gfx1151.

Caveat: each number is a single run after a page-cache drop, one run per arm; this is not a paired A/B.

Reproduction status

Reproduced locally

Strata version

0.2.4.1 source build (c33fa7ba, engine 0.1.49.1)

Graphics card, memory and system

Radeon 8060S (gfx1151), 96 GiB BIOS carve-out, 31 GiB RAM, Linux 7.0, ROCm TheRock 7.14.1 in user space.

Originally created by @nabe2030 on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4034 ### Area [Docs] (documentation) ### Desktop app, Terminal or source? Source (START-HERE.bat, setup.sh or a build) ### What happened `docs/AMD_HIP.md` says that for a source build the tuning table is unchanged. A build made with plain `cmake` and started with `serve/server.py` (not through `setup.sh`) has no table, and nothing says so besides a missing log line. On Strix Halo (gfx1151, hipBLASLt version 100401) with Qwen3.8-Flash-Next UD-IQ4_XS on engine 0.1.49.1 (0.2.4.1): | prompt tok/s | 8K | 64K | |---|---|---| | `STRATA_HIPBLASLT_TUNING=tools/hip/gfx1151-hipblaslt-100401.txt` | 1051 | 1217 | | no env, no `tuning/` next to the binary | 826 | 924 | | no env, the same file copied to `<dir of the strata binary>/tuning/gfx1151-hipblaslt-100401.txt` | 1043 | 1228 | So a hand-built engine without the table is about 20-25% slower on prompts. The only hint in the log is that the `prefill gemm: hipBLASLt tuning enabled (90 rows, gfx1151, version 100401)` line is missing (and a `STRATA_HCD_EXACT: no hipBLASLt tuning table is loaded ...` note appears with `STRATA_HC_Q8=1`). Suggestion: one sentence in the "Building from source" part of `docs/AMD_HIP.md` saying that a hand-built engine needs `STRATA_HIPBLASLT_TUNING` (or a `tuning/` folder next to the binary), and optionally a log line such as `hipBLASLt tuning table: none (set STRATA_HIPBLASLT_TUNING or put it in tuning/)` on gfx1151. Caveat: each number is a single run after a page-cache drop, one run per arm; this is not a paired A/B. ### Reproduction status Reproduced locally ### Strata version 0.2.4.1 source build (`c33fa7ba`, engine 0.1.49.1) ### Graphics card, memory and system Radeon 8060S (gfx1151), 96 GiB BIOS carve-out, 31 GiB RAM, Linux 7.0, ROCm TheRock 7.14.1 in user space.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 25, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Fill in "Desktop app, Terminal or source?".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6391640671 --> @github-actions[bot] commented on GitHub (Oct 25, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Fill in "Desktop app, Terminal or source?". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 25, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6393848159 --> @github-actions[bot] commented on GitHub (Oct 25, 2026): Thanks, this follows the format now.
Author
Owner

@Niko1221 commented on GitHub (Oct 27, 2026):

Thanks for the numbers. A hand-built engine has no tuning table unless STRATA_HIPBLASLT_TUNING or a tuning/ folder beside the binary is set; the build section now says so (0.2.7).

Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.7

<!-- gh-comment-id:6445981493 --> @Niko1221 commented on GitHub (Oct 27, 2026): Thanks for the numbers. A hand-built engine has no tuning table unless STRATA_HIPBLASLT_TUNING or a tuning/ folder beside the binary is set; the build section now says so (0.2.7). Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.7
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#1738
No description provided.