[GH-ISSUE #4505] Launch strips --vision but leaves its value, engine fails with "unknown option off" #2023

Closed
opened 2026-11-04 01:56:02 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @darrenaddy on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4505

Environment

Same as #[issue 1 number]. Engine 0.1.52 has no picture reader; the model page says "Read pictures is off."

Problem

The per-model settings file contains a valid pair:

"--eos", "1", "--vision", "off",

but the engine is launched with:

... --max-context 32768 --eos 1 off --dspark auto ...

and exits with unknown option off (exit code 2). The flag name is removed at launch, presumably because this engine lacks vision, but its value is left behind.

Workaround

Delete both "--vision" and "off" from args and args_written in the settings file before loading.

Expected

Whatever filters out --vision should remove its value too.

Originally created by @darrenaddy on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4505 ## Environment Same as #[issue 1 number]. Engine 0.1.52 has no picture reader; the model page says "Read pictures is off." ## Problem The per-model settings file contains a valid pair: "--eos", "1", "--vision", "off", but the engine is launched with: ... --max-context 32768 --eos 1 off --dspark auto ... and exits with `unknown option off` (exit code 2). The flag name is removed at launch, presumably because this engine lacks vision, but its value is left behind. ## Workaround Delete both `"--vision"` and `"off"` from `args` and `args_written` in the settings file before loading. ## Expected Whatever filters out `--vision` should remove its value too.
bsakaguchi 2026-11-04 01:56:02 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 28, 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".
  • Add your graphics card with its VRAM, your RAM and your operating system.

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:6473413095 --> @github-actions[bot] commented on GitHub (Oct 28, 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". - [ ] Add your graphics card with its VRAM, your RAM and your operating system. 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

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

Thank you for the exact workaround. Cause: with picture reading off, the app removed --vision from the DeepSeek engine's arguments but left its value, so the engine got --eos 1 off and stopped with unknown option off. Fixed on our side; the fix ships in the next update (0.2.8). For DeepSeek, --vision on|off is the engine's own pair, so the app now keeps it whole; a test starts a DeepSeek load with picture reading off and checks that no word is left over.

<!-- gh-comment-id:6492043877 --> @Niko1221 commented on GitHub (Oct 29, 2026): Thank you for the exact workaround. Cause: with picture reading off, the app removed `--vision` from the DeepSeek engine's arguments but left its value, so the engine got `--eos 1 off` and stopped with `unknown option off`. Fixed on our side; the fix ships in the next update (0.2.8). For DeepSeek, `--vision on|off` is the engine's own pair, so the app now keeps it whole; a test starts a DeepSeek load with picture reading off and checks that no word is left over.
Author
Owner

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

Thanks again for the report and the workaround. This is fixed in 0.2.8: with picture reading off, the app no longer leaves a stray word in the DeepSeek engine's arguments, so the model loads. Update the app and run strata update. Closing; open it again if it still stops.

<!-- gh-comment-id:6510293542 --> @Niko1221 commented on GitHub (Oct 29, 2026): Thanks again for the report and the workaround. This is fixed in 0.2.8: with picture reading off, the app no longer leaves a stray word in the DeepSeek engine's arguments, so the model loads. Update the app and run `strata update`. Closing; open it again if it still stops.
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#2023
No description provided.