mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #946] [CLOSED] launcher: pick a model and its settings in one window (experimental) #2931
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#2931
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/946
Author: @pipeob0
Created: 10/5/2026
Status: ❌ Closed
Base:
main← Head:feature/launcher-ui📝 Commits (10+)
502fcef#606: the fused SwiGLU q8_1 quantizers keep the block's scale and sum finite too64d0136cache: preserve checkpoints when split allocation failsa0d0056prefill: fused-expert exact wins (table16 via direct selector, float4 moe_combine, LDS alias + occupancy)5f5452bserve: park_current's try covers the checkpoint split too (#752): a host OOM skips parking8b19a38Layer split: --vram-reserve-later-mib, a separate reserve for the later cardsea83d0dResident RAM mode with a layer splitd2d981fsetup: the low-RAM mode's resident variant on several GPUs (#642)cd62e5eserve: a split's stage-0 GPU profile line keeps its text (#848); later stages say which stage0471c5agenerate: residency-table uploads wait for their own copy before the non-blocking streams read the table2d82703generate: res_put syncs stream 0 (HIP has no cudaStreamLegacy) (#550)📊 Changes
15 files changed (+191 additions, -14 deletions)
View changed files
📝
.gitignore(+2 -0)📝
AGENTS.md(+8 -2)📝
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)📄 Description
Continued in #1092
This PR closed by itself when
mainwas force-pushed during the history cleanup (its branch was built on the old history), and that branch is now deleted. The same 3 commits, cherry-picked onto the newmainwith no conflicts, are in #1092. The setup half is inmainfrom #945.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 branch is rebased onto 0.1.40'smainand the suites below were run there), 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.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. Those rules are the ones #945 put insetup.py, now inmain.Relation to the open work
mainand carries only the launcher: 3 commits, 30 files, +3443/-14. The setup half is yours, with yourkv_streaming_wanted(the k8v4 change included) - the launcher calls it, it does not copy it.--kv k8v4stream its KV. The page's label for k8v4 said it does not, which was true of 0.1.39 and is not true now; 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.--vram-reserve-mib): the web app exists once a model is running, the launcher is for choosing and installing before anything runs.python -m unittest launcher.test_presets launcher.test_api(25 + 30).tools.test_setup_riskandtools.test_setup_goldenstay green on top of this: 44 tests.Docs
docs/LAUNCHER.md, 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.