mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#4010
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/2376
Author: @nekomario28
Created: 10/14/2026
Status: ❌ Closed
Base:
main← Head:engine-families-rocm-path📝 Commits (1)
02d9c63setup: give the --families probe the engine's ROCm DLLs on PATH (#2372)📊 Changes
2 files changed (+72 additions, -1 deletions)
View changed files
📝
setup.py(+8 -1)➕
tools/test_setup_engine_families.py(+64 -0)📄 Description
Closes #2372.
A ready-made Windows HIP engine keeps
hipblas.dllandlibhipblaslt.dllinrocm/binbeside it, and its loader asks for them beforemain.engine_families()launchedstrata.exe --familieswith no environment, so on Windows both DLLs were reported missing,--familiesprinted nothing, and setup read that as "this engine does not run Qwen3.6-35B-A3B yet" — while the engine was already current. The report's diagnosis, and the shape of the fix.hip_devices()already builds that PATH for the device probe (hip_lib_dirs(eng)prepended to the inheritedPATH); the families probe now gets the same one.Testing
New
tools/test_setup_engine_families.py— hermetic (a temporary engine directory with aBUILD.json,subprocess.runcaptured; no engine, no GPU, no network):env["PATH"]starting at the engine'srocm/bin, and the inherited environment kept;<engine>/<EXE> --families;BUILD.jsonlists nolib_dirskeeps the inheritedPATHunchanged;{"qwen4exp"}).Removing the
env=argument fails two of the three (failures=1, errors=1) —the probe ran without an environment— so the guard is the reported bug rather than a restatement.The rest of
tools/test_setup_*.pyis unchanged (37 pass;test_setup_engine_hashandtest_setup_goldenfail identically without this change).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.