mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5232] [TUI] strata tune: tune a model by name, preview with --plan, and explain every result #3114
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#3114
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 @yudhanjaya on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5232
Area
[TUI] (the Terminal:
strata tune auto, andstrata launch --tune)What do you want to do?
Tune a model without knowing profile names, and understand what the tuner did.
Three things make
strata tune autohard to use today:strata tune iq3_s).and a large model can fit one or two settings into the quick budget.
figures, but none of it is shown or kept (the temp folder is deleted on exit), so "nothing was changed" cannot be explained.
Proposal, all of it additive (no flag, JSON field or exit code is removed or renamed; the fields the desktop app reads are unchanged):
strata tune <name>isstrata tune auto <name>. A name resolves to an exact profile, an installed model (strata models list) or a uniquepart of a name. A model with several saved setups gets the one used last, and the others are named. A name that fits several or none is
refused with the options and the closest names; nothing is guessed.
strata tune auto --planprints what would be tried on this PC, what is left out and why (and which flag would unlock settings skipped for answerdifferences), about how many engine runs that is, and the run time it assumes. It starts nothing. Its list is the one the tuner then measures (tested).
and the reason it did not count, what was left out, and one next step for every way a tune can end. Saved privately (0600) under the presets folder's
reports/, without per-run argument lists;strata tune report [--markdown]prints it again (the Markdown holds no paths or keys, for a[Benchmark]issue).Example of the new text (stub run, wording only):
Status: implemented on a fork branch with tests (320 tuning tests pass on the bundled Python), and exercised on one Linux CUDA rig (four real tunes; the first
three ended as #5078 describes, the fourth completed once the reserve was in the setup). Not run: other backends, Windows or macOS, the desktop app. It is Python only; no engine change.
Questions for the maintainers
name lookup and
--plan)?noise.threshold_pct, areasonon a setting that did not win, akindon a skipped one). Is additive growthof that JSON fine for the app?
bench/results/andstrata bench run'sresults.jsonalreadycarry hardware, versions and the effective options, so a lookup of "similar machines used these settings" would not need the issue tracker. Should a suggestion
only ever be shown (never applied), and which results count as comparable (the standard protocol only, or the older community reports too)?
What do you do today instead?
Look up the profile name with
strata profile list, pass it tostrata tune auto, wait, and readstrata presets show. After a failed or no-gain tune thereis nothing to read; with
--work-dirthe engine logs are kept, but that flag is not the default and its run files hold the run's API key.Related: #5078 (crash message), #4805 (GUI error detail), #4895 (waiting for memory), #4821 (tuning under
--parallel; not part of this).@yudhanjaya commented on GitHub (Nov 4, 2026):
For reference, the implementation of what is proposed here is on a branch of my fork:
tuner-clarity(compare with main: 5 commits, currentmain, no conflicts). It is not a PR; I will open one only with your agreement on scope.It separates by concern if you prefer several PRs (the commits are in a different order on the branch, so I would rebase each group):
c3d70693,0c26e53f,80f8cda887e64122--plan, with a docs section:39373af9320 tuning tests pass; four real tunes on one Linux CUDA rig. Not run: other backends, Windows, macOS, the app. Benchmark-based suggestions (question 3) are not started.