mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3613] [TUI] strata launch worked then, after a tune had been saved for this PC, every later launch failed #1490
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#1490
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 @richgoldberg on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3613
strata launchworked, then after a tune had been saved for this PC every later launch stopped at Model › "Saving the model's settings" with:Pressing
rrepeats it. The TUI shows no reason. Running the same setup step by hand shows it:Cause: the Terminal bundle does not ship
tools/calibrate.py.setup.pyimports it wheneversetup_calibration()finds a saved calibration for this PC and model. Before the first tune nothing is saved and setup passes; once a tune has been saved, every launch fails.packaging/package_terminal.pyleavescalibrateout ofINSTALLER_TOOLS, andmainstill does today, so v0.2.2 most likely has the same problem. The Linux bundle uses the same list, so this may be what #3467 is seeing (same message, no reason shown).Workaround: copy
tools/calibrate.pyfrom the commit in the bundle'sCOMMITfile (here9de04cd) into<Strata>\terminal\<build>\tools\, then launch again. With that file in place setup ends[ok] the settings tuned for this PC earlier are usedand the model starts.Suggested fix: add
"calibrate"toINSTALLER_TOOLS. Two smaller things would also help:[X]. A Python traceback is never shown, so the TUI says only "could not be installed". Showing the last traceback line would have made this a one-minute fix.tools/files thatsetup.pyrefers to but the bundle lacks:image/qimage.py(--images),strata_bench.py(the benchmark question at the end of interactive setup),strata_inspect.py(--inspect) andnvfp4_local_pack.py(NVFP4 models).hip/dll_closure.pyis also missing but setup carries on without it. I did not run into these, so they are unconfirmed, but they would fail the same way.@github-actions[bot] commented on GitHub (Oct 21, 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
@github-actions[bot] commented on GitHub (Oct 21, 2026):
Thanks, this follows the format now.
@dandandelion commented on GitHub (Oct 21, 2026):
I think you need to activate the venv first as the packages are contained within that virtual env (where requirements were installed)
@richgoldberg commented on GitHub (Oct 21, 2026):
I am running
strata launchfrom the command line. If a venv needs to be activated, shouldn't that be doing it? (But downloading the calibrate.py file to the tools folder made it work.)PS: Running the Terminal version on Windows 11 after installing with the PowerShell 1-liner command. Downloading the missing calibrate.py file seems to be all that was needed to make things work again.