mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5132] [TUI] launch removes arguments written into the run config (e.g. by engine calibrate --apply-result) #2402
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#2402
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 @Maxrio9 on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5132
Area
[TUI]
Desktop app, Terminal or source?
Terminal (the
stratacommand).What happened
Arguments written into the saved run config of a model (
<state>/strata/launch/<name>.json, keyargs) are removed by the nextstrata launchwith the same choices. Launch prints "already installed with these choices" and the engine starts with the default--pcie-fracand--spec-min-p.This matters for
strata engine calibrate --apply-result: its docs say it "writes calibrated args" into the run config and prints "restart the model to use it". On my PC the values were in the run config right after--apply-result, and the nextstrata launch ... --tune skipstarted the engine on the defaults (0.55 / 0.50 on 0.2.9).Reproduced in a throwaway config and state folder on 0.2.10 (below). Cause: unconfirmed static analysis. In
runner.pythe "already installed with these choices" path seems to skipsetup.py, andbuild_config/derive_configthen rebuildlaunch/<name>.jsonfrom the install config.setup_calibration()is only called fromsetup.py, as far as I can see.Smallest steps or command that reproduce it
Result: after the second launch
argsno longer contains--pcie-frac 0.2;/metricsreportspcie_frac "0.25",spec_min_p "0.50".Second observation, weaker: with a hand-written
calibrationentry insettings.json(keys<GPU>|<VRAM>GB|<CPU>|<RAM>GB|<model>|65536|imagesand...|text,--pcie-frac/--spec-min-pvalues different from the defaults), the same launch also started on the defaults (0.25 / 0.50), printed no line about settings tuned earlier, and left both entries insettings.json. I typed the keys by hand from an earlier calibration and did not check that they match what the launcher builds, so this part may only show a wrong key.Reproduction status
Reproduced locally (the run config losing a hand-written argument), once on a clean 0.2.10 start. The path through
--apply-resultitself was seen once on 0.2.9 / engine 0.1.55 (values present in the file, then absent after the next launch) and not repeated. The cause is unconfirmed static analysis.Strata version
Strata 0.2.10 / engine 0.1.56 (reproduction); 0.2.9 / 0.1.55 (the
--apply-resultobservation).Graphics card, memory and system
RTX PRO 4500 Blackwell 32 GB · 32 GB DDR4 · Ryzen 9 5900X · Linux.
Model, size and settings
Qwen3.8-Flash-Next IQ3_XXS · 64K context ·
--kv int8 --vision on --parallel 1 --drafting mtp --tune skip.Logs
Launcher line on the second start:
already installed with these choices. Related, closed: #3613 (launch failed once a tune was saved becausecalibrate.pywas missing); related theme, different command: #4102 and #3182.@Niko1221 commented on GitHub (Nov 5, 2026):
Hello Maxrio9,
Thank you for the report. In Strata 0.2.11
launchno longer drops arguments written into the run config: values fromcalibrate --apply-resultare recorded in acalibratedentry together with the model, context and picture setting they were measured for, and hand edits to the launch file are carried. We did not look at the hand-typedsettings.jsonkeys from your second observation; those may simply be keys the launcher does not know. If an argument is still removed on 0.2.11, please tell us which key and which command wrote it.The Strata project