mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2513] [CLOSED] prefill: STRATA_HIPBLASLT_TUNING may list one table per architecture #4086
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#4086
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/2513
Author: @rindi-ismail
Created: 10/14/2026
Status: ❌ Closed
Base:
main← Head:hip-tuning-table-per-arch📝 Commits (1)
ef3e64fprefill: STRATA_HIPBLASLT_TUNING may list one table per architecture📊 Changes
1 file changed (+26 additions, -1 deletions)
View changed files
📝
src/prefill/gemm.cu(+26 -1)📄 Description
Title
prefill: STRATA_HIPBLASLT_TUNING may list one table per architecture
Summary
On a layer split over two AMD architectures, the second card rejects the one tuning table and runs its prompt GEMMs on untuned hipBLASEx, although
tools/hipships its table. This lets the variable list one table per architecture. Measured on an R9700 (gfx1201) + RX 7900 XTX (gfx1100): a fresh 32K prompt reads at 1,870 tok/s instead of 1,277 (+46%), a 157K prompt at 3,006 instead of 1,846-1,866 (+62%). Decode is unchanged.What changed
src/prefill/gemm.cu,create_hipblaslt_stateonly (inside#if defined(__HIPCC__) && defined(STRATA_HIPBLASLT_AVAILABLE)):STRATA_HIPBLASLT_TUNINGmay hold several paths, separated by:(;on Windows). Each card loads the first table whose architecture family and hipBLASLt version match it.;and the card falls back to hipBLASEx, as before.Left alone:
hipblaslt_tuning.hppsycl/src/prefill/gemm.dp.cpp)Before, on this split, the log said
prefill gemm: tuning architecture mismatch: file=gfx1201 runtime=gfx1100; using hipBLASEx. Now it loads both:hipBLASLt tuning enabled (26 rows, gfx1100, version 100202)and(24 rows, gfx1201, version 100202).How I checked
296b59dbuilt with setup's HIP build forgfx1100;gfx1201.--max-context 262144, int8 KV,--prefill auto:32768.load()call, so the result is the same as before.Extra Notes
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.