[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

Open
opened 2026-11-04 01:58:30 +07:00 by bsakaguchi · 0 comments
Owner

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-path reports "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.

  • Strata Terminal 0.2.6 (source checkout /opt/Strata), engine strata 0.1.45
  • OS: Ubuntu 24.04 LXC container (Proxmox), GPU passthrough — NVIDIA RTX 3090 24 GB, driver 610.43.02, CUDA 13
  • RAM: 76 GB; CPU: Ryzen 9 3900X (AVX-2, no AVX-512)
  • Model files: huihui-ai/Huihui-Qwen3.8-Flash-Next-abliterated-v2-GGUF, swift-IQ3_XXS shard 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.

./bin/strata launch --family swift --model iq3_xxs \
  --model-path /opt/Strata-data/models/abliterated-swift --yes --no-tui

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.

Checking the engine for this computer…
No engine is installed yet. Getting the one for your graphics card…
Downloading engine 0.1.55 linux-x86_64-cuda-cuda13 (647 MB)
Test-starting engine 0.1.55 linux-x86_64-cuda-cuda13 before switching to it
strata: The engine could not be installed. The new engine 0.1.55 did not start
correctly on this computer... Your current engine is unchanged.

Two compounding details: (1) the installed engine 0.1.45 is below MIN_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:

.venv/bin/python tools/iq_pack.py --gguf <shard1> --out <pack>   # OK: 1079 tensors, 302 native
# run config cloned from strata-iq3_xxs.json with pack/GGUF paths swapped

→ session is up (engine 0.1.45), PLE on, table 320001536 rows, listening on :8080; POST /v1/chat/completions returns valid text and valid tool_calls. The only extra finding was that this GGUF keeps per_layer_token_embd.weight in shard 1, not shard 2 — --ple-gguf must point there (setup.py's own importer already auto-detects this via GGUFFile; a copied config doesn't).

Suggested fix. Don't let an engine-update failure abort --model-path installs: 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).

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-path` reports "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.** - Strata Terminal 0.2.6 (source checkout `/opt/Strata`), engine `strata 0.1.45` - OS: Ubuntu 24.04 LXC container (Proxmox), GPU passthrough — NVIDIA RTX 3090 24 GB, driver 610.43.02, CUDA 13 - RAM: 76 GB; CPU: Ryzen 9 3900X (AVX-2, no AVX-512) - Model files: `huihui-ai/Huihui-Qwen3.8-Flash-Next-abliterated-v2-GGUF`, `swift-IQ3_XXS` shard 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.** ``` ./bin/strata launch --family swift --model iq3_xxs \ --model-path /opt/Strata-data/models/abliterated-swift --yes --no-tui ``` **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.** ``` Checking the engine for this computer… No engine is installed yet. Getting the one for your graphics card… Downloading engine 0.1.55 linux-x86_64-cuda-cuda13 (647 MB) Test-starting engine 0.1.55 linux-x86_64-cuda-cuda13 before switching to it strata: The engine could not be installed. The new engine 0.1.55 did not start correctly on this computer... Your current engine is unchanged. ``` Two compounding details: (1) the installed engine `0.1.45` is below `MIN_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: ``` .venv/bin/python tools/iq_pack.py --gguf <shard1> --out <pack> # OK: 1079 tensors, 302 native # run config cloned from strata-iq3_xxs.json with pack/GGUF paths swapped ``` → `session is up (engine 0.1.45)`, `PLE on, table 320001536 rows`, listening on `:8080`; `POST /v1/chat/completions` returns valid text and valid `tool_calls`. The only extra finding was that this GGUF keeps `per_layer_token_embd.weight` in **shard 1**, not shard 2 — `--ple-gguf` must point there (setup.py's own importer already auto-detects this via `GGUFFile`; a copied config doesn't). **Suggested fix.** Don't let an engine-update failure abort `--model-path` installs: 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).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2334
No description provided.