[GH-ISSUE #4658] [Engine] strata update leaves the run config's vision.exe on the old engine folder, so the picture reader never updates #2114

Closed
opened 2026-11-04 01:56:48 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @pngen on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4658

Area

[Engine] (speed, kernels, models, the server and API)

Desktop app, Terminal or source?

Terminal (the strata command)

What happened

After strata update moved the engine from 0.1.52 (release 0.2.7) to 0.1.54 (release 0.2.8), the model kept launching the old picture reader: components\engine\0.1.52-windows-x86_64-cuda-cuda13\strata-vision.exe, next to the new 0.1.54 strata.exe. Nothing warned about it; it only showed up in Task Manager / Get-Process.

Cause: the run config names the engine as a component but the picture reader as an absolute path into one engine folder:

"exe": "component:strata-engine",
...
"vision": {
  "exe": "C:\\Users\\...\\Strata\\components\\engine\\0.1.52-windows-x86_64-cuda-cuda13\\strata-vision.exe",
  • setup.py writes it as cfg["vision"] = {"exe": str(eng / VEXE), ...} (line 7969 in Control 0.1.54; also 10159), so it is pinned to whichever engine folder was current at setup.
  • strata_control/updater.py switches the engine component but never rewrites run configs, and the test start drops --vision (_TEST_DROP_FLAGS = ("--vision",)), so the reader is never exercised during the update either.
  • The old engine folder is kept after the update, so the stale path keeps working and nothing fails. The picture reader just never updates.

Expected: the picture reader follows the active engine like strata.exe does, e.g. resolved from the component at load (component:strata-engine + strata-vision.exe), or the updater rewrites vision.exe in run configs that point into the old engine folder.

Workaround: edit vision.exe in the run config to the new engine folder and restart. After that both processes run from 0.1.54-windows-x86_64-cuda-cuda13.

Smallest steps or command that reproduce it

  1. Set up a model with vision on engine 0.1.52 (run config gets vision.exe under components\engine\0.1.52-...).
  2. strata update (or strata update --force) to engine 0.1.54.
  3. Start the model and check the running processes: strata.exe is from 0.1.54-..., strata-vision.exe is still from 0.1.52-....

Reproduction status

Reproduced locally

Strata version

Release 0.2.8 (engine 0.1.54, Control 0.1.54), updated from 0.2.7 (engine 0.1.52, Control 0.1.53)

Graphics card, memory and system

RTX 5090 32 GB (driver 621.12), 62 GB RAM, Windows 11 Pro

Model, size and settings

Swift 1.5 IQ3_S (Qwen3.8-Flash-Next), --vision, --max-context 262144, --kv int8, --spec 4, --expert-cache auto

Logs

Get-Process after `strata update` (before fixing the config):
strata         StartTime 16:20:44  ...\components\engine\0.1.54-windows-x86_64-cuda-cuda13\strata.exe
strata-vision  StartTime 16:20:40  ...\components\engine\0.1.52-windows-x86_64-cuda-cuda13\strata-vision.exe

After pointing vision.exe at the 0.1.54 folder and restarting:
strata         StartTime 18:03:33  ...\components\engine\0.1.54-windows-x86_64-cuda-cuda13\strata.exe
strata-vision  StartTime 18:03:28  ...\components\engine\0.1.54-windows-x86_64-cuda-cuda13\strata-vision.exe
Originally created by @pngen on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4658 ### Area [Engine] (speed, kernels, models, the server and API) ### Desktop app, Terminal or source? Terminal (the `strata` command) ### What happened After `strata update` moved the engine from 0.1.52 (release 0.2.7) to 0.1.54 (release 0.2.8), the model kept launching the **old** picture reader: `components\engine\0.1.52-windows-x86_64-cuda-cuda13\strata-vision.exe`, next to the new 0.1.54 `strata.exe`. Nothing warned about it; it only showed up in Task Manager / `Get-Process`. Cause: the run config names the engine as a component but the picture reader as an absolute path into one engine folder: ```json "exe": "component:strata-engine", ... "vision": { "exe": "C:\\Users\\...\\Strata\\components\\engine\\0.1.52-windows-x86_64-cuda-cuda13\\strata-vision.exe", ``` - `setup.py` writes it as `cfg["vision"] = {"exe": str(eng / VEXE), ...}` (line 7969 in Control 0.1.54; also 10159), so it is pinned to whichever engine folder was current at setup. - `strata_control/updater.py` switches the engine component but never rewrites run configs, and the test start drops `--vision` (`_TEST_DROP_FLAGS = ("--vision",)`), so the reader is never exercised during the update either. - The old engine folder is kept after the update, so the stale path keeps working and nothing fails. The picture reader just never updates. Expected: the picture reader follows the active engine like `strata.exe` does, e.g. resolved from the component at load (`component:strata-engine` + `strata-vision.exe`), or the updater rewrites `vision.exe` in run configs that point into the old engine folder. Workaround: edit `vision.exe` in the run config to the new engine folder and restart. After that both processes run from `0.1.54-windows-x86_64-cuda-cuda13`. ### Smallest steps or command that reproduce it 1. Set up a model with vision on engine 0.1.52 (run config gets `vision.exe` under `components\engine\0.1.52-...`). 2. `strata update` (or `strata update --force`) to engine 0.1.54. 3. Start the model and check the running processes: `strata.exe` is from `0.1.54-...`, `strata-vision.exe` is still from `0.1.52-...`. ### Reproduction status Reproduced locally ### Strata version Release 0.2.8 (engine 0.1.54, Control 0.1.54), updated from 0.2.7 (engine 0.1.52, Control 0.1.53) ### Graphics card, memory and system RTX 5090 32 GB (driver 621.12), 62 GB RAM, Windows 11 Pro ### Model, size and settings Swift 1.5 IQ3_S (Qwen3.8-Flash-Next), `--vision`, `--max-context 262144`, `--kv int8`, `--spec 4`, `--expert-cache auto` ### Logs ``` Get-Process after `strata update` (before fixing the config): strata StartTime 16:20:44 ...\components\engine\0.1.54-windows-x86_64-cuda-cuda13\strata.exe strata-vision StartTime 16:20:40 ...\components\engine\0.1.52-windows-x86_64-cuda-cuda13\strata-vision.exe After pointing vision.exe at the 0.1.54 folder and restarting: strata StartTime 18:03:33 ...\components\engine\0.1.54-windows-x86_64-cuda-cuda13\strata.exe strata-vision StartTime 18:03:28 ...\components\engine\0.1.54-windows-x86_64-cuda-cuda13\strata-vision.exe ```
Author
Owner

@Niko1221 commented on GitHub (Oct 31, 2026):

Fixed in 0.2.9: when the picture reader is in an older engine folder, the server now starts it from the engine folder in use. If you still see the old path after strata update, comment here and we'll reopen.

<!-- gh-comment-id:6541132518 --> @Niko1221 commented on GitHub (Oct 31, 2026): Fixed in [0.2.9](https://github.com/Niko1221/Strata/releases/tag/v0.2.9): when the picture reader is in an older engine folder, the server now starts it from the engine folder in use. If you still see the old path after `strata update`, comment here and we'll reopen.
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#2114
No description provided.