mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1806] [CLOSED] config: user_args - engine options of the user's own that setup keeps #3687
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#3687
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1806
Author: @gt50
Created: 10/10/2026
Status: ❌ Closed
Base:
main← Head:user-args📝 Commits (2)
f93a2d6config: user_args, engine options of the user's own that setup keeps and the server applies over args90b17ceconfig: the layer-split and GPU-order checks read args with user_args over them📊 Changes
6 files changed (+109 additions, -12 deletions)
View changed files
📝
docs/DETAILS.md(+7 -0)📝
docs/INSTALL.md(+3 -1)📝
serve/runconfig.py(+12 -3)📝
serve/server.py(+47 -7)📝
serve/test_server.py(+37 -0)📝
setup.py(+3 -1)📄 Description
Title
Config: "user_args", engine options of the user's own that setup keeps
Summary
Setup writes
"args"on every run, so engine options added there by hand are dropped and named (#629)."user_args"is a list of the user's own options, e.g.["--no-prefill-borrow", "--kv-resident", "0"]. The server applies it over"args"when it starts the engine: an option in both takes theuser_argsvalue, any other is added. Setup never writes the key, socarry_overalready keeps it. Split out of #1789 (which now only carries the Windows AMD images), as AGENTS.md asks: one change per PR, a new feature opt-in.What changed
serve/server.py:user_args_of(): a list of strings starting with an option, else a config error at start;merge_user_args();engine_args()applies it before #1322's--visioncheck, so that check sees the final options.serve/runconfig.py: the web app's Settings read and edit an option inuser_argswhen it is there (elseargs, as before).setup.py: the "options it had that this one has not" line points touser_args.docs/INSTALL.mdanddocs/DETAILS.md.Extra Notes
engine_argsreturns exactly what it did (tested).serve/test_server.pyUserArgs: replace and add, bad values, the Settings page. Allserveand setup test files pass onmain61b3fb5d(1156 tests; rebased).🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.