[GH-ISSUE #1146] LLM Server feature request: "idle_load: true" parameter #483

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

Originally created by @KoenKeunen on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1146

Strata works great as a network LLM server but lacks an important startup parameter: idle_load: true. In other words: to be able to start the server without loading the LLM into VRAM/DDR, and only start loading into vram the user requests for it. This makes it possible to start the server in the background and it does not utilize system resources until the moment the LLM is really necessary.

It's great "--idle-unload" "600" is possible already to offload the model after 10 minutes of inactivity, but it would be great to also start Strata with offloaded model by default.

Originally created by @KoenKeunen on GitHub (Oct 6, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1146 Strata works great as a network LLM server but lacks an important startup parameter: **idle_load: true**. In other words: to be able to start the server without loading the LLM into VRAM/DDR, and only start loading into vram the user requests for it. This makes it possible to start the server in the background and it does not utilize system resources until the moment the LLM is really necessary. It's great "--idle-unload" "600" is possible already to offload the model after 10 minutes of inactivity, but it would be great to also start Strata with offloaded model by default.
Author
Owner

@BGonnermann commented on GitHub (Oct 6, 2026):

This exists since v0.1.40 (commit 7f3a091, "serve: add lazy startup and reliable Windows model cleanup").

Either of these starts the server without loading the model; the first request loads it:

  • "lazy_load": true in strata-<model>.json (it is also in the web app's settings list)
  • --lazy on serve/server.py --engine strata --config strata-<model>.json

It combines with idle_unload_s, so the model is loaded on the first request and unloaded again after the idle time.

One limit: it is text-only. A config with "vision" on is refused with a message saying so. It is described in docs/DETAILS.md (search for lazy_load).

I checked this by reading the source and the docs, not by running it. @KoenKeunen, does that cover what you need?

<!-- gh-comment-id:6022547905 --> @BGonnermann commented on GitHub (Oct 6, 2026): This exists since v0.1.40 (commit 7f3a091, "serve: add lazy startup and reliable Windows model cleanup"). Either of these starts the server without loading the model; the first request loads it: - `"lazy_load": true` in `strata-<model>.json` (it is also in the web app's settings list) - `--lazy` on `serve/server.py --engine strata --config strata-<model>.json` It combines with `idle_unload_s`, so the model is loaded on the first request and unloaded again after the idle time. One limit: it is text-only. A config with `"vision"` on is refused with a message saying so. It is described in `docs/DETAILS.md` (search for `lazy_load`). I checked this by reading the source and the docs, not by running it. @KoenKeunen, does that cover what you need?
Author
Owner

@KoenKeunen commented on GitHub (Oct 7, 2026):

@BGonnermann thanks for reply, I think that the problem then will be that i need vision to be enabled, I'll look into it to test if one of the options above will still work once I have time.

<!-- gh-comment-id:6045358434 --> @KoenKeunen commented on GitHub (Oct 7, 2026): @BGonnermann thanks for reply, I think that the problem then will be that i need vision to be enabled, I'll look into it to test if one of the options above will still work once I have time.
Author
Owner

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

Thanks, "lazy_load" indeed works, also on my model using vision. At the moment a prompt is entered, the model is being loaded correctly. So it can be marked as solved, although maybe it would be nice to be able to update the settings in the GUI to be able to tweak settings like this there.

<!-- gh-comment-id:6066018120 --> @KoenKeunen commented on GitHub (Oct 8, 2026): Thanks, "lazy_load" indeed works, also on my model using vision. At the moment a prompt is entered, the model is being loaded correctly. So it can be marked as solved, although maybe it would be nice to be able to update the settings in the GUI to be able to tweak settings like this there.
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#483
No description provided.