mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #214] setup.py: a tagged checkout installs the newest engine, Hugging Face main files and unpinned Python packages #114
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#114
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?
Originally created by @alphastorm on GitHub (Sep 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/214
Setup run from a v0.1.27 checkout does not install a fixed v0.1.27 stack. It fetches:
releases/latest(setup.py#L56), i.e. whichever release is newest when setup runs;main(#L49, #L83-L100), and the MTP tensors fromQwen/Qwen3.8-Flash-Nextatmain(tools/mtp_fetch.py#L22);numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutilwithout versions (setup.py#L62).So the same checkout can install different components from one day to the next, and once a newer release is out, an older checkout's
serve/runs against a newer engine than the one it shipped with.We needed a reproducible install, so we passed
--prebuilt <local folder>and--gguf-dirwith files fetched at fixed revisions, and pointedtools/mtp_fetch.py'sREPOat a fixed revision, since there is no option for it.Suggestions:
--prebuiltto the release that matches the checkout (releases/download/v<version>/, with the versionsource_version()already reads from CMakeLists.txt), falling back toreleases/latestwhen that release does not exist;resolve/<commit>/) in the model table and inmtp_fetch.py, or accept one as an option;@Niko1221 commented on GitHub (Sep 30, 2026):
Agreed, those are real. Setup will fetch the engine matching the checkout's version first (latest as the fallback), and we'll pin the Hugging Face revisions and the Python package versions. Not in 0.1.28 yet.
@alphastorm commented on GitHub (Sep 30, 2026):
Thanks for the quick replies @Niko1221 - if it's easier for you I'm happy to open PRs for my issues that aren't already in
0.1.28, just let me know! 🙏@Niko1221 commented on GitHub (Sep 30, 2026):
Agreed. 0.1.31: setup downloads the engine for the checkout's version first (latest only as a fallback), pins the Hugging Face revisions, and installs the Python packages from a pinned requirements file. If you already have a PR for part of this, feel free to open it.
@Niko1221 commented on GitHub (Oct 1, 2026):
0.1.31: setup downloads the engine for the checkout's own version first (latest only as a fallback, with a message), pins the Hugging Face revisions, and installs the Python packages from a pinned
requirements.txt. Thanks!