Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions deploy/stfc-cloud/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ services:
# OLLAMA_API_BASE above.
ollama:
image: ollama/ollama:latest
environment:
# Default OLLAMA_KEEP_ALIVE (5m) unloads the model from VRAM after
# every idle gap that long -- on a low-traffic shared instance, that
# means most first messages pay a full reload (measured: a few
# seconds once warm vs. 10-55s to reload, see design doc §19.7).
# 80GB card has ~46GB free with this one model loaded, no reason to
# ever unload it.
OLLAMA_KEEP_ALIVE: "-1"
deploy:
resources:
reservations:
Expand Down
Loading