mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #925] Setup: show progress in the browser from the first second (status page with steps, speed and ETA) #401
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#401
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 @storm-ace on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/925
The problem
From double-clicking
START-HERE.batuntil the chat page opens, the only feedback is a console window. On a first install that is a long time: on my PC (Ryzen AI Max+ 395, Windows 11, IQ2_XS) it was the 68 GB download, then several minutes of preparing the model, then 1-3 minutes of loading. Some steps print almost nothing:tools/mtp_pack.pywas silent for minutes while it quantized the draft layer's 512 experts, which looks like a hang. The browser opens only when the model is READY.None of that needs the model. The progress numbers already exist; they only go to the console:
download()insetup.pyalready knows bytes done and total per file;serve/server.pyalready narrates the load phases (narrate_start,experts_loading_words) and answers503 "starting"while the engine starts (#344).Proposal
Show a status page in the browser from the first second of setup, and let the same page turn into the chat.
127.0.0.1:8080right away (Python standard library only, so it works before any package is installed) and opens the browser. It serves one static page plusGET /status.json.mtp_pack.py(expert N of 512) and the native pack.run-<model>.batstartsserve/server.py. The real server serves the web app at once, shows the load phases it already narrates (weights, experts into RAM, experts to the GPU, draft layer), and switches the same tab to the chat when the engine says READY, instead of opening the browser only then.A possible
status.json:Mockups
Static mockups, styled with the web app's own tokens (
serve/web/tokens.css) and the Outfit font. The numbers are realistic but illustrative. Source:setup-status.html(one file,#download/#prepare/#load/#error).Downloading, with speed, ETA, per-file progress and the console's own lines:
Preparing, the step that is silent today:
Loading, served by
serve/server.pyitself; the same tab becomes the chat on READY:An interrupted download, with what happens next and what the user can do:
Scope
--no-browser/"open_browser": false(#609) keep it closed.127.0.0.1. The status server has no API and runs nothing; it only reads setup's own state.Related: download speed
download()uses one HTTP connection per file. On my connection, measured against Hugging Face for the same IQ2_XS file: one connection gave 22-32 MB/s; 8 parallel range requests (256 MB pieces) gave 51-61 MB/s (less only while the last pieces of a file finished), which brought the 68 GB down from about 40 to about 20 minutes. Both shards passed SHA-256 against Hugging Face's LFS hash afterwards. A parallel download could also feed the "Connections" and "Verified" fields in the mockup. Happy to split this into its own issue.If this direction is welcome, I can implement it as a PR.
@sinand99 commented on GitHub (Oct 5, 2026):
This UI looks very nice, much better than the ugly console. Strata should definitely have this.
@storm-ace commented on GitHub (Oct 5, 2026):
@sinand99 Agreed, it's just good visual feedback a bit of a UX/Ui design freak when it comes to those things. It does not really add anything besides just making the tool feel more polished.
@Niko1221 commented on GitHub (Oct 6, 2026):
Planned: a status page served from the first second of setup. Not in 0.1.40 (setup.py structure change); 0.1.41.
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.