mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4082] [Other] docker/build.sh leaves out tools/dsv41/*.py, so the image build stops at "installer tool missing: tools/dsv41/tune.py" #1778
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#1778
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 @noonghunna on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4082
Area
[Other] (anything else, including setup and installation)
Desktop app, Terminal or source?
Docker
What happened
Building the image for v0.2.5 with the repo's own script stops in the
terminalstage, atpython3 /src/packaging/package_terminal.py:Since
b7958c04(2026-10-24),packaging/package_terminal.pyputsdsv41/pack_gguf,dsv41/smokeanddsv41/tuneinINSTALLER_SCRIPTS.docker/build.shsays it stages "exactly what packaging/package_terminal.py copies", but it only takes':(glob)tools/*.py'(line 68; the branch without git on line 71 takestools/*.py). That glob doesn't reachtools/dsv41/, so the build context has notools/dsv41/andlocal_imports()exits on the first script it can't find.docker/build.shon main (41cf05a0) is the same.The
Docker imagesworkflow runs the samedocker/publish.sh→docker/build.sh, so a run for 0.2.4 or 0.2.5 would stop here too. ghcr.io has no 0.2.4 or 0.2.5 image yet (the newest tags are0.2.3-*).Adding the subfolder to both staging lines fixes it for me:
With the first change,
docker/publish.sh --release-tag v0.2.5 --flavors cuda13 --no-latestcompletes: the cuda13 image builds and its check printsstrata 0.2.5 (build 0.1.50; python 3.12.15 …). I only tested the git branch (line 68).tests/terminal/test_bundle_tools_paths.pychecks that the bundle carries every by-path tool, but it doesn't look at whatdocker/build.shstages, so this slipped past it.Smallest steps or command that reproduce it
The engine package downloads and verifies fine (
0.1.50-linux-x86_64-cuda-cuda13: signature and every file verified); the failure comes after, in theterminalstage.Reproduction status
Reproduced locally
Strata version
v0.2.5 (tag →
fa663fab);docker/build.shunchanged on main41cf05a0Graphics card, memory and system
Ubuntu 24.04, Docker 29.9.1. The build fails before any GPU is used.
Model, size and settings
not relevant (image build)
Logs
the snippet above.
@volkertb commented on GitHub (Oct 25, 2026):
Same here, and the same fix works for another flavor: with both staging lines patched,
docker/build.sh --flavor hip --engine …/0.1.50-linux-x86_64-hip-rx7900 --version 0.2.5builds and the image reports
strata 0.2.5 (build 0.1.50 …). (Ubuntu , Docker .)On which releases are affected:
b7958c04is not inv0.2.4, so that tag's image build should still work;v0.2.4.1,v0.2.4.2andv0.2.5contain it (git merge-base --is-ancestor b7958c04 <tag>).@noonghunna commented on GitHub (Oct 25, 2026):
Thanks for checking, you're right:
b7958c04isn't inv0.2.4, so thev0.2.4image should still build. The affected tags arev0.2.4.1,v0.2.4.2,v0.2.5and nowv0.2.6.docker/build.shis unchanged inv0.2.6and on main (both4b9e05a2). With the same change to thegit ls-filesline,docker/publish.sh --release-tag v0.2.6 --flavors cuda13 --no-latestcompletes and the image reportsstrata 0.2.6 (build 0.1.51 …).@simlu commented on GitHub (Oct 25, 2026):
Is this why the most recent builds don't have docker images published?
@noonghunna commented on GitHub (Oct 28, 2026):
Fixed upstream in
d398f353(the change from #3974):docker/build.shnow stages the nestedtools/scripts on both branches,':(glob)tools/**/*.py'with git andfind tools -name '*.py'without. Sotools/dsv41/reaches the build context. It's in v0.2.7, and the published0.2.7-cuda13image serves fine for us.On the question above: yes, as far as I can tell. ghcr.io has
cuda13images for 0.2.1 to 0.2.3 and 0.2.7, and none in between. 0.2.4.1, 0.2.4.2, 0.2.5 and 0.2.6 all carry the change that broke the build. (0.2.4 itself doesn't, so its missing image has another cause.)Closing, and thanks for #3974.