mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1092] [CLOSED] launcher: pick a model and its settings in one window (experimental) #3018
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#3018
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/1092
Author: @pipeob0
Created: 10/6/2026
Status: ❌ Closed
Base:
main← Head:feature/launcher-newmain📝 Commits (3)
ef72048launcher: a preset is one model and its setup choices, with a namecc960a7launcher: the page and what it asks Strata to do (LAUNCHER.bat, ./launcher.sh)fabb003launcher: docs/LAUNCHER.md, one line in the other docs and the six README translations, and the .bak setup leaves stays out of git📊 Changes
30 files changed (+3443 additions, -14 deletions)
View changed files
📝
.gitignore(+2 -0)📝
AGENTS.md(+8 -2)➕
LAUNCHER.bat(+33 -0)📝
README.de.md(+3 -1)📝
README.es.md(+2 -1)📝
README.fr.md(+3 -1)📝
README.ja.md(+2 -1)📝
README.md(+2 -1)📝
README.pt-BR.md(+2 -1)📝
README.zh-CN.md(+2 -1)📝
docs/AI_SETUP.md(+3 -0)📝
docs/INSTALL.md(+6 -3)➕
docs/LAUNCHER.md(+151 -0)📝
docs/MCP_SERVER.md(+2 -1)📝
docs/MODELS.md(+3 -1)➕
docs/media/launcher.png(+0 -0)➕
launcher.sh(+20 -0)➕
launcher/__init__.py(+7 -0)➕
launcher/__main__.py(+9 -0)➕
launcher/api.py(+481 -0)...and 10 more files
📄 Description
Experimental - please read first
The launcher is experimental: it is a new surface over
setup.pyandserve/server.py, it has been run on one PC (Windows 11, RTX 5060 Ti 16 GB, Ryzen 7 5700X3D, 64 GB, engine 0.1.39; the suites below were run on top of the newmain), and it will have bugs. What has not been exercised: Linux (./launcher.shis written and marked executable but never run on a Linux box), AMD/ROCm, several GPUs on one model, WSL, and a preset saved by an older version of the page (the presets file has no schema version yet). Nothing it does goes outside this PC, and nothing it does is impossible forSETUP.bat/run-<model>.batto do; the only files it writes of its own are in.strata-launcher/. Treat it as a preview, not as a replacement for the scripts.Also AI-developed: written by an agent (pi) running on Strata's own local model (
qwen3.8-flash-next-iq3_s), reviewed and tested by hand on the PC above - see theAI-developed:trailer on each commit.This is #946 on the new main
#946 was closed by the history cleanup (force-pushed
main), not by a review - see the maintainer's note. This branch is the same 3 commits cherry-picked onto the newmain: no conflicts, 30 files, +3443/-14,launcher.shexecutable.#945 is yours and is in
main, with yourkv_streaming_wanted(the k8v4 change included). The launcher calls that function; it keeps no copy of the rule. Your k8v4 change caught one of our labels - the page said k8v4 "does not stream its KV cache", true of 0.1.39 and not of 0.1.40 (#711) - so the label follows setup and a test reads setup's rule for each KV precision and fails if a label claims a streaming setup does not write.55 launcher tests + 44 setup tests green on top of the new
main, with no GPU, no download and no display:What it is
LAUNCHER.bat(Linux:./launcher.sh) serves a page on127.0.0.1for the caseSTART-HERE.batis not meant for: "the Coder today with 32K, leaving 2 GB of VRAM for the game", without remembering flags. It shows the sizes setup offers and what each needs on this PC, the models this folder has and what their ownstrata-<model>.jsonsays they run with, presets you save and reuse, and setup's--calibrateas a job you can watch and stop.(The same file is in the PR at
docs/media/launcher.png;docs/LAUNCHER.mdshows it too.)A front-end, not a second engine: every answer comes from
tools/strata_mcp.py, the controller the MCP server already uses; installing, applying and starting runsetup.pyandserve/server.pythe waySETUP.batandrun-<model>.batdo. No second config format, no second install path, no dependency beyond the standard library, andsetup.py/START-HERE.batdo not change: if you never open the launcher, nothing about your install changes.A preset is setup's own choices with a name: each field names the
setup.pyflag it writes, and a field left empty is not passed so this PC's default decides - that is what makes a preset portable to another machine. Starting a preset applies it first when the model's config differs, and that difference is compared with what setup's rules decide, not with the words: a preset sayingauto, or saying whatautodecides on this PC, is the model as it runs and never re-runs setup to change nothing.If you want less of it
Say the word and I send the cut-down version: the model list plus presets only - the presets commit on its own is 3 files, +737 - no calibration job, no connect card, no install panel. The parts I would drop first are the calibration job and the connect card; the page's middle column is the launcher's reason for existing.
Relation to the open work
--vram-reserve-mib): the web app exists once a model is running, the launcher is for choosing and installing before anything runs.Backendofferedauto, which setup's--backendnever took, so it reached the user as argparse's owninvalid choice. The field now uses setup's own words (the empty choice writes no flag, which is also what keeps a preset portable to a PC with another card),syclwas missing and is offered, andtest_no_select_offers_a_choice_setup_does_not_takereads setup's ownadd_argumenttables and fails if the page offers a value setup does not take, or writes a flag setup does not have.Docs
docs/LAUNCHER.md(with the screenshot), plus one line in README (and in its six translations), AGENTS.md, AI_SETUP, INSTALL, MCP_SERVER and MODELS..gitignoregains/strata-*.json.bak, which setup's settings card leaves behind.Known rough edges
launcher/,LAUNCHER.bat,launcher.shand.strata-launcher/.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.