mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3740] [GUI] Models page shows the Starter (Qwen2.5-0.5B) for a few seconds on every launch #1567
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#1567
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 @xvcezrqpbxtpzblrt on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3740
Area
[GUI] (the desktop app)
Desktop app, Terminal or source?
Desktop app (Windows)
What happened
On every launch, the Models page first shows the Starter entry (
Qwen2.5-0.5B-Instruct,Starter · Q4_K_M · 0.5 GB) instead of the installed model. It stays for a few seconds. During that time:Then it switches, without a click, to the actual installed model:
Swift IQ3_XXS, 384K context, "43.9 GB RAM + VRAM", top barQwen3.8-Flash-Next— the state the user left it in. The sidebar is identical before and after; only the model state flips.The first paint uses the bundled starter catalog before the native model state is merged:
GET /api/modelsreturns"current":null,"loaded":null; its first variant isqwen2.5-0.5b-q4km(Starter,contextMax: 32768,diskGb: 0.49). The installedswift-iq3_xxsis not in this list; it is inGET /api/native->installed.models(context: 393216,ready: true,last_used: null).In the frontend, the family picker falls back to the first variant:
and the selected variant falls back to the first variant:
With
current/loadednull, and noinstalledentry in the web library, both land onvariants[0]— the Starter./api/nativeis fetched by a separate helper (_6()/vn()in the bundle), not by the initial/api/modelsbatch. Itsinstalled.modelsentry arrives after the first render; then the page switches to Swift. The initial batch waits for/api/runtime, but at startup that reportsinstances: []anddefaultId: "", so it does not supply a model either.The 128K warning comes from the default
ctx.lengthin/api/engine("128K") applied to the Starter (contextMax: 32768). The installed Swift's saved context is 393216 (384K), which is what the second state shows.Expected: the first paint should show the installed/last model, or a neutral loading state — not the Starter. The page should wait for
/api/nativebefore choosing a model, persist the last selection and hydrate it before rendering, or show a skeleton instead of falling back tovariants[0]. The default context should also be clamped to the selected model'scontextMaxso the Starter never shows the 128K warning.Smallest steps or command that reproduce it
Qwen2.5-0.5B-Instruct/Starter · Q4_K_M · 0.5 GBwith 128K and the "128K exceeds..." warning.Swift IQ3_XXS/Qwen3.8-Flash-Nextwithout any click.Expected: the installed model or a loading state from the first frame; no Starter flash.
Reproduction status
Reproduced locally
Strata version
Strata 0.2.2 · engine 0.1.47
Graphics card, memory and system
RTX 3080 Ti Laptop 16 GB · 64 GB RAM · Windows 11 (10.0.26300)
Model, size and settings
Swift 1.5 IQ3_XXS · 384K context (installed; the flash shows the Starter, 32K max)
Logs
No engine error: this is the client's initial state. Evidence from the running app and the 0.2.2 files:
GET /api/models:mode=real,current=null,loaded=null, first variantqwen2.5-0.5b-q4km(Starter,contextMax: 32768).GET /api/native:installed.models[0] = swift-iq3_xxs,context: 393216,ready: true,last_used: null;instances: [],defaultId: "".GET /api/engine: expertctx.length = "128K".host/dist/assets/index-DsqNG4H4.js:u3()and theEsselection both fall back tovariants[0];_6()/vn()fetch/api/nativeseparately.host/server/real-model-catalog.mjs: theqwen2.5-0.5b-q4kmentry istier: "starter",contextMax: 32768.[host] inference Strata engine 0.1.47 is installed; no model is loaded yet.Possible fix (not tested): include
/api/nativein the initial data load (or gate the Models page on it), persistcurrent/last_usedand use it for the first selection, and do not usevariants[0]as the fallback for an existing installation. Show a skeleton until the model state is known. Also clamp the default context tocontextMax.@therealMKD commented on GitHub (Oct 22, 2026):
Can confirm.
Strata 0.2.2, Engine 0.1.47
Windows 11 26H2, 13900K/5080/64GB DDR5
@Niko1221 commented on GitHub (Oct 26, 2026):
Fixed in 0.2.5: the Models page waits for the engine's first answer and no longer shows the Starter for a few seconds at launch.