[GH-ISSUE #1322] setup re-run with --vision gpu does not add --vision to an existing config's args #538

Closed
opened 2026-11-04 01:43:53 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @arthurlin1979 on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1322

What happened

On a machine whose strata-*.json was created earlier without images, re-running setup to enable vision:

./setup.sh --setup --model IQ3_S --vision gpu --context 262144 --yes

writes the vision section into the config but leaves args without --vision --vram-reserve-mib 700. The server then starts the engine without vision and every image request fails with:

this engine was started without --vision

while /v1/models still advertises input_modalities: ["text", "image"] (taken from the vision section), which is misleading.

Workaround

Manually append --vision --vram-reserve-mib 700 to the config's args and restart. Verified working on two nodes (RTX 5090, RTX PRO 6000).

Suspected cause

In setup.py, args += ["--vision", "--vram-reserve-mib", ...] only runs on the fresh-config path. The re-run path preserves the existing args and only adds the vision section, so the engine never gets the flag.

Environment

  • Strata at commit 82f46a8 (engine 0.1.38 / 0.1.40, local build, CUDA 13.2, sm_120)
  • Ubuntu 24.04, RTX 5090 32GB / RTX PRO 6000 96GB
  • Qwen3.8-Flash-Next IQ3_S
Originally created by @arthurlin1979 on GitHub (Oct 7, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1322 ## What happened On a machine whose `strata-*.json` was created earlier without images, re-running setup to enable vision: ```bash ./setup.sh --setup --model IQ3_S --vision gpu --context 262144 --yes ``` writes the `vision` section into the config but leaves `args` without `--vision --vram-reserve-mib 700`. The server then starts the engine without vision and every image request fails with: > `this engine was started without --vision` while `/v1/models` still advertises `input_modalities: ["text", "image"]` (taken from the vision section), which is misleading. ## Workaround Manually append `--vision --vram-reserve-mib 700` to the config's `args` and restart. Verified working on two nodes (RTX 5090, RTX PRO 6000). ## Suspected cause In `setup.py`, `args += ["--vision", "--vram-reserve-mib", ...]` only runs on the fresh-config path. The re-run path preserves the existing `args` and only adds the `vision` section, so the engine never gets the flag. ## Environment - Strata at commit `82f46a8` (engine 0.1.38 / 0.1.40, local build, CUDA 13.2, sm_120) - Ubuntu 24.04, RTX 5090 32GB / RTX PRO 6000 96GB - Qwen3.8-Flash-Next IQ3_S
Author
Owner

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

Fixed in 0.1.41, on the server side: a config with a vision section but without --vision in its args (written by an older setup run, or edited by hand) now starts the engine with --vision, and with --vram-reserve-mib 700 when the encoder is on the GPU and the config has no reserve of its own; the server prints a line saying it did. We could not make a current setup run write the section without the flag (the re-run path rebuilds args), so if you still see it with 0.1.41's setup, please send the config before and after.

<!-- gh-comment-id:6059639258 --> @Niko1221 commented on GitHub (Oct 8, 2026): Fixed in 0.1.41, on the server side: a config with a `vision` section but without `--vision` in its `args` (written by an older setup run, or edited by hand) now starts the engine with `--vision`, and with `--vram-reserve-mib 700` when the encoder is on the GPU and the config has no reserve of its own; the server prints a line saying it did. We could not make a current setup run write the section without the flag (the re-run path rebuilds `args`), so if you still see it with 0.1.41's setup, please send the config before and after.
Author
Owner

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

Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.

If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.

<!-- gh-comment-id:6156062423 --> @Niko1221 commented on GitHub (Oct 13, 2026): Thanks for the report. To keep the tracker current we are closing issues older than three days: [0.1.44](https://github.com/Niko1221/Strata/releases/tag/v0.1.44) is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1. If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.
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#538
No description provided.