Skip to content

Commit 00812ad

Browse files
authored
fix(ollama): Add optional OLLAMA_NUM_THREADS
Allows to set the number of threads. Closes #269
1 parent 9891075 commit 00812ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ollama/config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ schema:
3838
OLLAMA_KV_CACHE_TYPE: list(f16|q8_0|q4_0)
3939
OLLAMA_MAX_LOADED_MODELS: int
4040
OLLAMA_NUM_PARALLEL: int
41+
OLLAMA_NUM_THREADS: int?
4142
OLLAMA_VULKAN: bool?
4243
OLLAMA_NOPRUNE: bool?
4344
OLLAMA_MAX_QUEUE: int?

0 commit comments

Comments
 (0)