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#4131
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/2565
Author: @qiuzan2001
Created: 10/15/2026
Status: ❌ Closed
Base:
main← Head:chief-serve/families-lib-dirs📝 Commits (1)
2de475asetup: the --families probe runs with the engine's library folders, so a ready-made engine can load (#2372)📊 Changes
2 files changed (+49 additions, -5 deletions)
View changed files
📝
setup.py(+13 -4)📝
tools/test_setup_qwen36.py(+36 -1)📄 Description
Fixes #2372 for both ready-made engines. It covers the HIP case of #2376 the same way (same folders, same order) and
adds the CUDA case @mocchan0221 found in the thread; it touches the same lines, so only one of the two can merge as
is.
What it changes.
install_own_path()(Qwen3.6) asks the engine which families it runs withstrata --families,launched with the inherited environment. A ready-made engine's loader wants its libraries before
main: hipBLASin
engine\rocm\bin(Windows HIP: two "was not found" dialogs) and cuBLAS from pip's wheels (the CUDA zip, whoseBUILD.jsonhas nolib_dirs:cublas64_13.dll ... cannot open shared object file, exit 127). The probe printednothing and setup stopped with "this engine (0.1.44.1) does not run Qwen3.6-35B-A3B yet".
engine_families(eng, lib_dirs)now takes the listengine_step()already returns for the server's config (hip_lib_dirsfor theWindows HIP engine; else
lib_dirs,cuda_dirsor pip's CUDA folders) and puts the folders that exist first onPATH(Windows) orLD_LIBRARY_PATH(elsewhere), as the server'schild_envdoes.What it leaves alone. With no such folder the probe runs exactly as before (
env=None). The rest of theenvironment is kept. Flash-Next installs do not run this probe. What the engine prints and how setup reads it.
How it was checked.
tools/test_setup_qwen36.py: newFamiliesProbe(the folders first on PATH withWIN, on LD_LIBRARY_PATHwithout; a missing folder skipped; no folders:
envis None, as before) andInstallOwnPathnow checks thatinstall_own_pathpassesengine_step's list. Onmain: 3 errors and 1 failure. With it: 14 OK.tools/test_setup_choices.py,tools/test_setup_amd.py: OK.reporter's manual check in the thread (the cu13 folder on PATH, then
--familiesprintsqwen4exp qwen35moe)is the case the new PATH entry reproduces.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.