mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5193] [Other] setup.py aborts with "… is outside … container mounts" on a re-run against an existing config — after model, pack and MTP are already complete #3089
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#3089
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 @Maddy55555 on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5193
Summary
Running
setup.py --backend sycl --family unsloth --model UD-IQ4_XSa second time (to resume an interrupted download) finishes all the real work — model shards, pack, vision encoder, MTP draft layer all print[ok]— and then aborts in Step 7 with:Exit code 1. Nothing is actually wrong: the server starts fine against the produced files and serves correct output. The failure is a double translation:
sycl_path()is applied to arguments that are already container paths, because the setup carriesargsover from the previous run's config.Environment
xedriver, layer split autobmg-g31, engine containerstrata-sycl-devv0.2.10(ffa80d73)UD-IQ4_XS(3 shards, 93.6 GB), context 262144,--kv int8,--kv-resident 32768,--stream-experts,--spec 2, MTP onSteps to reproduce
strata-unsloth-ud-iq4_xs.jsonexists with/work/...container paths in itsargs(this is the normal end state of a first run).What the setup prints before the abort
Note the irony: the run explicitly keeps
args --pack …from the earlier config, and then rejects those very arguments one step later.Root cause
sycl/setup_intel.py:312-316translates every path-valued argument throughsycl_path():and
sycl_path()(line 108) is not idempotent — it requires the path to be underMOUNT(the host-side Strata root) and fails otherwise:When
argscomes from an existing config, its values are already/work/Strata-data/packs/…. Resolving that against the host root raisesValueError→S.fail(). A container path is being checked against the host filesystem.This is the same class of bug as the drafting check in #5138 ("
/workpaths are checked outside the engine container"), but in the setup path rather than the launch path — so a fresh install never hits it and every re-run with an existing config does.Impact
--models-dir/--data-dir) that does not exist. Here the hint is actively misleading: the files are exactly where they belong, under the mount root.Suggested fix
Make
sycl_path()idempotent — pass container paths through unchanged:Two independent improvements on top of that:
.bakhandling is fine — the config was byte-identical to its backup after this run, so nothing was lost.