Remove use_mlock from Ollama to solve WARN logs in ollama 0.17
resolves #5182
This commit is contained in:
parent
8e795b73e0
commit
868358597e
@ -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(),
|
||||
},
|
||||
}),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user