[GH-ISSUE #4507] [Engine] Launch strips --vision but leaves its value; engine fails with "unknown option off" #2024

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

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

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/4507 ## 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:

  • 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:6473691314 --> @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: - [ ] 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

@Astemiir commented on GitHub (Oct 28, 2026):

Confirming on Windows 11, app 0.2.7, control 0.1.53, strata-dsv41 0.1.52 (CUDA 13), DeepSeek-V4.1-Flash IST-DAS-2.25bpw.

Same symptom, and it is not limited to the tuner:

  • …\Local\Strata\install\strata-deepseek-v4.1-flash-ist-das-2.25bpw.json contains the valid pair "--eos", "1", "--vision", "off", but the launched command is --max-context 524288 --eos 1 off --dspark auto …, the engine answers unknown option off and returns exit code 2, so the app shows "the engine exited before it was ready".
  • The same broken line is written into …\.strata\data\native-tune\<model>.json, so "Tune this model" fails too with "the engine stopped while starting (exit 1)" — three attempts in native-jobs.json, each with that text.
  • Workaround from the report works: after deleting "--vision" and "off" (in both args and args_written) the engine starts normally and reaches READY 524288; the app then loads the model. The problem returns as soon as the app writes the pair back, since it regenerates the flags on load.

Related: #4511 (same build, GUI symptoms around DeepSeek).

Whatever filters out --vision on this engine should drop its value as well.

<!-- gh-comment-id:6480349009 --> @Astemiir commented on GitHub (Oct 28, 2026): Confirming on Windows 11, app 0.2.7, control 0.1.53, `strata-dsv41` 0.1.52 (CUDA 13), DeepSeek-V4.1-Flash IST-DAS-2.25bpw. Same symptom, and it is not limited to the tuner: - `…\Local\Strata\install\strata-deepseek-v4.1-flash-ist-das-2.25bpw.json` contains the valid pair `"--eos", "1", "--vision", "off"`, but the launched command is `--max-context 524288 --eos 1 off --dspark auto …`, the engine answers `unknown option off` and returns **exit code 2**, so the app shows "the engine exited before it was ready". - The same broken line is written into `…\.strata\data\native-tune\<model>.json`, so "Tune this model" fails too with "the engine stopped while starting (exit 1)" — three attempts in `native-jobs.json`, each with that text. - Workaround from the report works: after deleting `"--vision"` and `"off"` (in both `args` and `args_written`) the engine starts normally and reaches `READY 524288`; the app then loads the model. The problem returns as soon as the app writes the pair back, since it regenerates the flags on load. Related: #4511 (same build, GUI symptoms around DeepSeek). > Whatever filters out `--vision` on this engine should drop its value as well.
Author
Owner

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

I have a fix with a regression test that fails before and passes after; opening a PR shortly.

<!-- gh-comment-id:6486829271 --> @Nyarlathoteppppp commented on GitHub (Oct 29, 2026): I have a fix with a regression test that fails before and passes after; opening a PR shortly.
Author
Owner

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

Thank you, and thanks to Astemiir for the details. 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:6492045280 --> @Niko1221 commented on GitHub (Oct 29, 2026): Thank you, and thanks to Astemiir for the details. 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:6510296053 --> @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#2024
No description provided.