[GH-ISSUE #4926] [GUI] picture reading disabled after every model switch; first re-enable re-runs setup with --vision no #2264

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

Originally created by @80houco on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4926

Problem: After switching models with "Use a local GGUF", the app reports that picture
reading is not supported even though the shared vision encoder was downloaded long ago
and "read images" is ON. Toggling the images setting off and on once is not enough — it
fails again with "Prepare this model's vision files before enabling picture reading."
Only the second off/on cycle actually enables vision. Same behavior on both Qwen3.8-Flash-Next
UD-Q4_K_XL builds (installed model and a local 3-shard GGUF folder), so it looks like a
state-sync bug in the switch flow rather than anything model-specific.

Environment: Strata app 0.2.9 (control/engine 0.1.55), Windows 11, RTX 3090 (24 GB VRAM),
256 GB RAM. Models: Qwen3.8-Flash-Next UD-Q4_K_XL (installed) and an Uncensored
UD-Q4_K_XL local folder via --gguf-dir. Shared vision encoder:
Documents\Strata\models\mmproj-Qwen3.8-Flash-Next-BF16.gguf.

Reproduce:

  1. Load model A (installed model) with picture reading enabled and working.
  2. Switch to model B via "Use a local GGUF" (--gguf-dir points to the local folder).
  3. Observe: "picture reading is not supported" despite the toggle being ON and the
    mmproj file already present ("vision encoder already downloaded" in setup.log).
  4. Toggle "read images" off and on once → error again:
    "Prepare this model's vision files before enabling picture reading."
  5. Toggle off and on a second time → vision is enabled.
    Same sequence in the reverse direction (B → A) behaves identically.

Expected: Model switch preserves the working picture-reading state, or at least the
first re-enable succeeds.

Actual: Switching models re-runs setup with --vision no and the resulting launch config
drops --vision (setup.log: "engine options it had that this one has not: --vision").
The first off/on toggle also re-runs setup with --vision no; only the second toggle
passes --vision yes and restores vision.

Evidence (install.strata-mcp\setup.log and data\native-jobs.json, sanitized):

strata-mcp: running ...\setup.py --yes --no-start --family unsloth --model UD-Q4_K_XL
--context 131072 --vision no --kv int8 --data-dir
--gguf-dir
[ok] vision encoder already downloaded
engine options it had that this one has not: --vision
ui_vision_enabled = false

Toggling "read images" ON at 20:43, 20:46 and 21:50 each re-ran setup with
--vision no and failed with "Prepare this model's vision files before enabling
picture reading."; the next off/on cycle ran with --vision yes and succeeded.

Reproduction status: reproduced locally (on both models, on every switch).

Originally created by @80houco on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4926 Problem: After switching models with "Use a local GGUF", the app reports that picture reading is not supported even though the shared vision encoder was downloaded long ago and "read images" is ON. Toggling the images setting off and on once is not enough — it fails again with "Prepare this model's vision files before enabling picture reading." Only the second off/on cycle actually enables vision. Same behavior on both Qwen3.8-Flash-Next UD-Q4_K_XL builds (installed model and a local 3-shard GGUF folder), so it looks like a state-sync bug in the switch flow rather than anything model-specific. Environment: Strata app 0.2.9 (control/engine 0.1.55), Windows 11, RTX 3090 (24 GB VRAM), 256 GB RAM. Models: Qwen3.8-Flash-Next UD-Q4_K_XL (installed) and an Uncensored UD-Q4_K_XL local folder via --gguf-dir. Shared vision encoder: Documents\Strata\models\mmproj-Qwen3.8-Flash-Next-BF16.gguf. Reproduce: 1. Load model A (installed model) with picture reading enabled and working. 2. Switch to model B via "Use a local GGUF" (--gguf-dir points to the local folder). 3. Observe: "picture reading is not supported" despite the toggle being ON and the mmproj file already present ("vision encoder already downloaded" in setup.log). 4. Toggle "read images" off and on once → error again: "Prepare this model's vision files before enabling picture reading." 5. Toggle off and on a second time → vision is enabled. Same sequence in the reverse direction (B → A) behaves identically. Expected: Model switch preserves the working picture-reading state, or at least the first re-enable succeeds. Actual: Switching models re-runs setup with --vision no and the resulting launch config drops --vision (setup.log: "engine options it had that this one has not: --vision"). The first off/on toggle also re-runs setup with --vision no; only the second toggle passes --vision yes and restores vision. Evidence (install\.strata-mcp\setup.log and data\native-jobs.json, sanitized): strata-mcp: running ...\setup.py --yes --no-start --family unsloth --model UD-Q4_K_XL --context 131072 --vision no --kv int8 --data-dir <data-dir> --gguf-dir <local-gguf-dir> [ok] vision encoder already downloaded engine options it had that this one has not: --vision ui_vision_enabled = false Toggling "read images" ON at 20:43, 20:46 and 21:50 each re-ran setup with --vision no and failed with "Prepare this model's vision files before enabling picture reading."; the next off/on cycle ran with --vision yes and succeeded. Reproduction status: reproduced locally (on both models, on every switch).
Author
Owner

@github-actions[bot] commented on GitHub (Nov 1, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6559064595 --> @github-actions[bot] commented on GitHub (Nov 1, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 1, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6560450179 --> @github-actions[bot] commented on GitHub (Nov 1, 2026): Thanks, this follows the format now.
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#2264
No description provided.