mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4544] [Other] setup.sh --update on an Intel (SYCL) install always ends with "the engine was NOT: it is still 0.1.12": engine_version() reads the launcher script the config names as exe #2052
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#2052
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 @otaliptus on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4544
Area
[Other] (setup and installation)
Desktop app, Terminal or source?
Source (setup.sh, SYCL build from source)
What happened
On an Intel install every
./setup.sh --backend sycl --updateends with a failure message although nothing failed:The engine is the one just built from this checkout (
build-sycl-aot/strata --versionprintsstrata 0.1.53, andengine-sycl/BUILD.json, which this same setup run wrote, says"version": "0.1.53"). The "Strata is updated (engine …)" line never appears on a SYCL install, and the advice (internet connection, run update.sh again) sends the user in circles. Expected: the real engine version, or the version fromengine-sycl/BUILD.json.Cause, from reading
setup.py(v0.2.7.1, the same on main today):ver = engine_version(Path(json.loads(have[0].read_text(...))["exe"])).exeissycl/serve/strata-sycl.sh(the launcher script that starts the engine in the container), soengine_version()looks forsycl/serve/BUILD.json(does not exist) and then searches the shell script's bytes forengine=X.Y.Z\n(not there), and falls back to"0.1.12"("a binary without it is older").(0, 1, 12) < MIN_ENGINE→ the warning andreturn 0.A fix would be: when the config's backend is
sycl(or the exe is the launcher), take the version fromengine-sycl/BUILD.json(engine_version_of()already exists) or from the real binary the launcher runs (STRATA_SYCL_BIN, defaultbuild-sycl-aot/strata), which does carry theengine=line.Smallest steps or command that reproduce it
strata-sycl-devimage, config written bysetup_intel.py)../setup.sh --backend sycl --update --yesReproduction status
Reproduced locally
Strata version
Strata 0.2.11 (re-checked 2026-11-05 on the tag; still present). First seen on Source checkout v0.2.7.1 (
46c152a1), engine built from it:strata 0.1.53; on 0.2.11: setup.py and setup.sh are unchanged, the v0.2.11 engine_version() still returns (0, 1, 12) for the launcher (comment of 2026-11-05)Graphics card, memory and system
Intel Arc Pro B70 32 GB · 62 GB RAM · Debian 13 (kernel 7.2.6, xe driver); engine in the strata-sycl-dev container
Model, size and settings
Qwen3.8-Flash-Next IQ3_S and Swift 1.5 IQ3_S configs from setup_intel.py, 256K context, pictures off (not relevant to the bug)
Logs
The setup output above is the whole relevant part;
setup.pylines:engine_version()(the"0.1.12"fallback) and theif any(ver) and tuple(ver) < MIN_ENGINE:block after the config loop.@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.
@otaliptus commented on GitHub (Nov 5, 2026):
/reopen
Re-checked on v0.2.11 (2026-11-05): still present.
setup.pyandsetup.share byte-identical between v0.2.10 and v0.2.11 (git diff v0.2.10 v0.2.11 -- setup.py setup.shprints nothing).engine_version()is at setup.py line 7282, the"0.1.12"fallback at line 7294,MIN_ENGINE = (0, 1, 46)at line 271.engine_version()andengine_version_of()(the two functions, taken from the v0.2.11 file) against this install: for the config'sexe, the launchersycl/serve/strata-sycl.sh, it returns(0, 1, 12); for the binary the launcher runs,build-sycl-aot/strata, it returns(0, 1, 56);engine_version_of(engine-sycl)returns0.1.56(the BUILD.json setup wrote). Sosetup.sh --backend sycl --updateon 0.2.11 takes the sametuple(ver) < MIN_ENGINEbranch and prints the same "the engine was NOT: it is still 0.1.12" warning after a successful update.Fix suggestion unchanged: when the config's exe is the launcher (or
backendissycl), take the version fromengine-sycl/BUILD.json(engine_version_of()) or from the binary the launcher runs (STRATA_SYCL_BIN, defaultbuild-sycl-aot/strata).@github-actions[bot] commented on GitHub (Nov 5, 2026):
Not reopened yet. Still missing:
Edit the issue and comment
/reopenagain. Details: CONTRIBUTING.md@otaliptus commented on GitHub (Nov 5, 2026):
/reopen
The "Strata version" field now starts with 0.2.11, the version re-checked today (details in the comment above).
@github-actions[bot] commented on GitHub (Nov 5, 2026):
Reopened, thank you. A maintainer will pick it up from here.