Repository navigation
Models hotswap
#12942
Replies: 1 comment 2 replies
|
AFAIK you can set "Max Active Backends" setting option to 1. But then you lose the ability to run two smal models (f.e. MoE Gemma and quantized Anima) at the same time. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
Does LocalAI provide an ability to swap models automatically without manual unload of the running one?
If yes, how to setup it? If no, do you plan to add such feature?
For example, I have Model1 loaded and then I've called Model2. The available resources required by Model2 are not enough, so before running it Model1 will be stopped.
Similar behavior is implemented in https://github.com/mostlygeek/llama-swap/ and it's very useful to change the model on the fly, especially when several users access them (agents and family)
Thanks in advance
All reactions