mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5038] [TUI] launch --model-path aborts the whole install when the forced engine update's test-start fails — no fallback to the working installed engine #2334
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#2334
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 @skytechmk on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5038
Problem. With an installed-but-older engine present,
strata launch --model-pathreports "No engine is installed yet", downloads the newest engine, and when its test-start fails, abandons the entire model installation — even though the installed engine is fully capable of serving the model. The user is left with nothing: no model config is written, and the real test-start error is never surfaced (only "did not start correctly", with no engine output).Environment.
/opt/Strata), enginestrata 0.1.45huihui-ai/Huihui-Qwen3.8-Flash-Next-abliterated-v2-GGUF,swift-IQ3_XXSshard set —Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-0000{1,2}-of-00002.gguf(standard GSQ-RCO naming, complete 2-shard set)Reproduce.
Expected. One of: (a) install proceeds on the installed engine with a staleness warning; (b) on engine-update failure, launch reports the actual test-start stderr and offers to continue on the existing engine; (c) at minimum,
strata update's failure should not destroy an otherwise-completable model install.Actual.
Two compounding details: (1) the installed engine
0.1.45is belowMIN_ENGINE (0,1,46)so it's counted as absent — but it demonstrably serves the model; (2) the test-start's real error is swallowed — the message gives no way to distinguish a download problem from a genuine engine fault (cf. #4994, where the Windows test-start failure also lacks engine output).Evidence that the abort was unnecessary — manual equivalent of what launch would have done, on the same files and the same engine 0.1.45:
→
session is up (engine 0.1.45),PLE on, table 320001536 rows, listening on:8080;POST /v1/chat/completionsreturns valid text and validtool_calls. The only extra finding was that this GGUF keepsper_layer_token_embd.weightin shard 1, not shard 2 —--ple-ggufmust point there (setup.py's own importer already auto-detects this viaGGUFFile; a copied config doesn't).Suggested fix. Don't let an engine-update failure abort
--model-pathinstalls: surface the test-start's stderr, and offer "continue on installed engine" when one exists — especially when the only disqualifier is a version floor it happens to fall just under.Reproduction status: reproduced locally, 2/2 attempts (both aborted identically).