Ollama: a keep_alive on the loaded model cancels the swap another request waits for
This story is from 2026-10-22. It is preserved in the archive; the latest stories are on the live feed.
TL;DR : With OLLAMA_MAX_LOADED_MODELS=1 , a request for a model that isn't loaded makes Ollama schedule the loaded model to unload as soon as it's idle, and the request waits. If a request for the loaded model arrives during that wait and carries keep_alive , that value replaces the pending unload:…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-22 05:49 · DEV Community — AI
Ollama: a keep_alive on the loaded model cancels the swap another request waits for