Remove use_mlock from Ollama to solve WARN logs in ollama 0.17

resolves #5182
This commit is contained in:
Timothy Carambat
2026-03-10 09:08:05 -07:00
parent 8e795b73e0
commit 868358597e

View File

@@ -277,7 +277,6 @@ class OllamaAILLM {
keep_alive: this.keepAlive,
options: {
temperature,
use_mlock: true,
num_ctx: this.promptWindowLimit(),
},
})
@@ -330,7 +329,6 @@ class OllamaAILLM {
keep_alive: this.keepAlive,
options: {
temperature,
use_mlock: true,
num_ctx: this.promptWindowLimit(),
},
}),