diff --git a/compose.yaml b/compose.yaml index eabda7a..384368d 100644 --- a/compose.yaml +++ b/compose.yaml @@ -28,6 +28,7 @@ services: - OLLAMA_KEEP_ALIVE=${OLLAMA_KEEP_ALIVE:-5m} - OLLAMA_NUM_PARALLEL=${OLLAMA_NUM_PARALLEL:-1} - OLLAMA_MAX_LOADED_MODELS=${OLLAMA_MAX_LOADED_MODELS:-1} + - OLLAMA_NUM_THREADS=${OLLAMA_NUM_THREADS:-16} # Optional, but relevant when a browser-based UI talks to Ollama directly. # See the Networking section for why this exists.