Correct load timeout for Ollama

This commit is contained in:
Chris (wolcen) Thompson 2025-09-27 13:34:26 -04:00
parent fd966b4318
commit 56094f345f

View file

@ -405,7 +405,7 @@ in
acceleration = "rocm"; acceleration = "rocm";
environmentVariables = { environmentVariables = {
HCC_AMDGPU_TARGET = "gfx1031"; # used to be necessary, but doesn't seem to anymore HCC_AMDGPU_TARGET = "gfx1031"; # used to be necessary, but doesn't seem to anymore
OLLAMA_LOAD_TIMEOUT = "2"; # Reduce load timeout (from 5 min)...if it's that big, forget it. OLLAMA_LOAD_TIMEOUT = "2m"; # Reduce load timeout (from 5 min)...if it's that big, forget it.
# OK, so origins is more about setting up CORS than firewalling things. (and requires e.g. http[s]://IP|Host/* etc) # OK, so origins is more about setting up CORS than firewalling things. (and requires e.g. http[s]://IP|Host/* etc)
#OLLAMA_ORIGINS = "10.40.4.2"; # Only accept connections from locally. #OLLAMA_ORIGINS = "10.40.4.2"; # Only accept connections from locally.