mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #4793] [Other] setup: the hipBLASLt table joins the config env instead of replacing it #5184
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#5184
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/4793
Author: @sdroege
Created: 10/31/2026
Status: 🔄 Open
Base:
main← Head:fix-setup-hipblaslt-env📝 Commits (1)
0ea6e50setup: the hipBLASLt table joins the config env instead of replacing it📊 Changes
2 files changed (+18 additions, -1 deletions)
View changed files
📝
setup.py(+1 -1)📝
tools/test_setup_unsloth.py(+17 -0)📄 Description
Problem and result
On an AMD card with a hipBLASLt tuning table,
setup.pyreplaced the config's wholeenvwith{"STRATA_HIPBLASLT_TUNING": ...}. Any env key setup wrote for the install was lost:STRATA_MMQ_KQ=1forUD-Q5_K_XL,STRATA_HC_Q8=1on CUDA,STRATA_NO_ARENA_THP=1on gfx1103. After the fix the table joins the existing env.Related discussion
none
Approach
cfg.setdefault("env", {})["STRATA_HIPBLASLT_TUNING"] = str(table), so the table joins the existing env instead of replacing it. Only the non-Control HIP path is changed; the Control path is untouched.Validation
Passed:
test_hip_keeps_the_env_of_an_all_ram_installintools/test_setup_unsloth.py: installs the HIP path with a tuning table forUD-Q5_K_XLand checks thatSTRATA_HIPBLASLT_TUNINGandSTRATA_MMQ_KQ=1are both present (0.2.11 no longer writesSTRATA_ROUTE_TAIL_SKIP=0on Linux gfx12).Failed:
Not run:
Limits
Only the non-Control HIP path is changed; the Control path is untouched.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.