mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1146] LLM Server feature request: "idle_load: true" parameter #483
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#483
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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": trueinstrata-<model>.json(it is also in the web app's settings list)--lazyonserve/server.py --engine strata --config strata-<model>.jsonIt 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 indocs/DETAILS.md(search forlazy_load).I checked this by reading the source and the docs, not by running it. @KoenKeunen, does that cover what you need?
@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.
@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.