mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5413] [Other] a source checkout keeps two engine folders: strata update fills engine-feed/engine/ while setup and the run configs read engine/, which nothing upgrades past `WIN_HIP_MIN_ENGINE #3233
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#3233
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 @werewolfvit on GitHub (Nov 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5413
[Other](anything else, including setup and installation)9f7d977d220e9fdf2ec53cf2620cdadac1cfb24eWhat happened
I updated the engine successfully and it says 0.1.57 everywhere I look, but setup still refuses the model:
strata updatehad already installed 0.1.57, andstrata components enginesagrees:The reason is that a source checkout has two engine folders, and the update path only writes one of them:
BUILD.jsonversionE:\Strata\engine-feed\engine\0.1.57-windows-x86_64-hip-rdna3\0.1.57,"source": "f-0214-int"strata update,strata components engines, anything that resolvescomponent:strata-engineE:\Strata\engine\0.1.55,"source": "prebuilt"setup.py(engine_step, the version gate) and mystrata-iq3_xxs.json/run-iq3_xxs.bat, which pin"exe": "E:\Strata\engine\strata.exe","lib_dirs": ["E:\Strata\engine\rocm\bin"]A source checkout points the component store at
<checkout>\engine-feed(strata_cli/update_cmd.py:242-263,default_components_dir/source_store), sostrata updatewrites there — and stops. The flatengine/folderis only ever written by setup, and for AMD on Windows setup refuses to touch it:
update_installed_engine()(setup.py:5895) does, forbackend == "hip"on Windows:if meta.get("source") == "prebuilt" and ver < WIN_HIP_MIN_ENGINE:→ update. My 0.1.55 is aboveWIN_HIP_MIN_ENGINE(setup.py:4635,max(MIN_ENGINE, (0, 1, 33))=0.1.46), so the branch returns andnothing is refreshed.
get_prebuilt_hip()(setup.py:4970) then returns the existing folder as"ready-made AMD engine already installed" (the
ver >= WIN_HIP_MIN_ENGINE and not updatingcheck), so theHEAD probe of the release assets — which is the only route into
engine_from_feed()(setup.py:4919, thefeed→
engine/copier, used since the 0.2 releases publish no flat zips, #3469 #3437) — is never reached.setup.py:10799comparesengine_verfrom that folder againstMODELS["UD-IQ3_XXS"]["engine"]=
UNSLOTH_V31_ENGINE=(0, 1, 57)(setup.py:434) and fails.So the hint "update Strata" leads to a command that reports success and changes nothing the setup can see:
UPDATE.bat,setup.py --updateandstrata install --updateall pass, and there is no documented way tobring the feed package into
engine/. Copyingengine-feed\engine\0.1.57-…\*overengine\does fix it, butthat is not something a user can be expected to guess, and it also has to rewrite
BUILD.json's"source"to"prebuilt"— the feed package says"source": "f-0214-int", which setup reads as "compiled from this source"(
setup.py:10788) and would start a compile instead.Smallest steps or command that reproduce it
Held at 0.1.55 because
engine\BUILD.jsonsayssource: "prebuilt"and 0.1.55 ≥WIN_HIP_MIN_ENGINE; re-runningsetup or
--updatenever changes it.Logs
.updates/logs/test-start-0.1.57.log(7244 B) shows the new engine starting and answering the one-token probe onthis card, so the engine itself is not the problem — only its placement.
What I expected
Either:
engine/the wayengine_from_feed()already does (sameinstall_unpacked()/.previousswap), e.g. by relaxing the HIPWindows branch of
update_installed_engine()to compare against the resolved component version rather thanWIN_HIP_MIN_ENGINE; orsetup.py:10800to say which folder it read (E:\Strata\engine,BUILD.jsonversion0.1.55) and that the newer engine sits in
engine-feed\engine\0.1.57-…, instead of a generic "update Strata"; orstrata updatein a source checkout to keepengine/in step (or to say plainly that in a checkout the enginelives in the component store and
engine/is only what setup/downloaded).A second, smaller thing: a run config written by setup for a source checkout pins
"exe": "E:\Strata\engine\strata.exe",so it keeps using the stale folder even after
strata components use 0.1.57.component:strata-engine(what theupdater's own test config uses) would follow the store.
@github-actions[bot] commented on GitHub (Nov 6, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md