mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #609] --no-browser flag? #286
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#286
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 @mkultra333 on GitHub (Oct 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/609
I can't see any way to stop strata launching the browser chat, even though I'm using it with the Oh My Pi harness. I changed the open_browser line in
setup.py, but it'd be handy to do this with just a --no-browser flag in my launching command line.
def start(cfg_path: Path, port: int | None, gpu: int | list | None = None, open_browser=False, yes=False,
layer_split=None, keep=None) -> int:
@cat-love-7 commented on GitHub (Oct 3, 2026):
I think you can achieve this by removing the “--open” flag from the arguments in the server.py startup script.
@frederikhors commented on GitHub (Oct 3, 2026):
The
--openflag is misleading; it should be the other way around.@ahfkdy7 commented on GitHub (Oct 3, 2026):
It also seems to have a problem that locks the folder with having the whole browser as a child process on windows even after the main process gets terminated.
@Niko1221 commented on GitHub (Oct 4, 2026):
Added in 0.1.39:
START-HERE.bat --no-browser(Linux:./setup.sh --no-browser). It saves"open_browser": falsein the model'sstrata-<model>.json, and from then on neither the start norrun-<model>.bat/.shopens the chat page.--browserundoes it. It works on a start and at setup. A start script written earlier still has--open, but the server ignores it when the config says"open_browser": false, so editing that one key is enough too. Thanks also to cat-love-7 for the workaround.file_cache_keeps()picks unbuffered (O_DIRECT) expert reads on a 32 GB + 12 GB GPU box with--resident-budget-gib, halving decode;STRATA_UNBUFFERED_LOAD=0restores it #494