mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3959] [TUI] strata launch --set dspark=on starts strata-dsv41 with a bare --dspark: "--dspark needs a value" #1698
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#1698
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 @Guilzx9r on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3959
Area
[TUI] (strata launch)
Desktop app, Terminal or source?
Terminal (the
stratacommand)What happened
strata launch ... --set dspark=onon DeepSeek-V4.1-Flash fails to start the engine:The plan is correct (
--plan --output jsonshowssettings.extra = {"--dspark": "on"}), but the engine is started with--dsparkand no value.strata-dsv41.exe --dsparkon its own prints--dspark needs a value(exit code 2), so the engine seems fine and the value is lost between--setand the engine's argv.I also found no way to force DSpark on or off from
strata launchat all:--dspark onis not a launch option (see below), and the 0.2.4 release notes mention--dspark on.Smallest steps or command that reproduce it
Observed, 3 times (
dspark=on;dspark=on+dspark-conf=0.7;dspark=on+dspark-block=2+dspark-conf=0.8), same error each time:Observed with
--plan(nothing started):Engine run by hand (no model, only the argument parser):
Reproduction status
Reproduced locally for the failure. The cause below is unconfirmed static analysis (I read the code, I did not attach a debugger).
Suspected path (not run)
In
strata_cli/launch/settings.py,as_argv_changestreats a value in("on", "true", "yes", "")as "flag present" for any--flag(args[key] = True), andstrata_control/tune_knobs.py::apply_to_argvthen appends the flag without a value.--dsparkis not inBOOL_FLAGS, but thelow in (...)branch does not check that.Also from reading the code, not run:
--set dspark=offgoes toargs[key] = None, which removes the flag from the argv instead of writing--dspark off, so the engine would fall back to whatever it does with no--dsparkrather than an explicit off.A possible direction: pass the literal
on/offthrough when the flag is not inBOOL_FLAGS(or when it is listed inDSV41_FLAGSwith a value).Strata version
Strata 0.2.4.1 (Terminal, build 0.1.49.1) · DeepSeek engine strata-dsv41 0.1.49 (cuda13) · update feed sequence 111
Graphics card, memory and system
RTX 5090 32 GB · 128 GB RAM (Ryzen 7 7800X3D) · Windows 11
Model, size and settings
DeepSeek-V4.1-Flash IST-DAS 2.00 bpw and 2.25 bpw, local files with
--model-path, 256K context,--set reserve-mib=8192 --set ssd-cache=96also set.Notes
strata serve --profilewith a copy of the launch config whereargscontains"--dspark", "on".@Niko1221 commented on GitHub (Oct 27, 2026):
Thank you, your reading of the code is right. Fixed in 0.2.7: Options that take a value (like --dspark on|off|auto) pass the word through, and there is a --dspark option on strata launch.
Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.7