Skip to content

Commit

Permalink
enable leftover mlock setting
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycarambat committed Dec 29, 2024
1 parent 2149fb7 commit 4b2bb52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils/AiProviders/ollama/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class OllamaAILLM {
keep_alive: this.keepAlive,
options: {
temperature,
use_mlock: false,
use_mlock: true,
// There are currently only two performance settings so if its not "base" - its max context.
...(this.performanceMode === "base"
? {}
Expand Down

0 comments on commit 4b2bb52

Please sign in to comment.