8000 fix: self.numa missing · ducky777/llama-cpp-python@53f6f5f · GitHub
[go: up one dir, main page]

Skip to content

Commit 53f6f5f

Browse files
committed
fix: self.numa missing
1 parent fdce078 commit 53f6f5f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llama_cpp/llama.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ def __init__(
190190

191191
if isinstance(numa, bool):
192192
self.numa = llama_cpp.GGML_NUMA_STRATEGY_DISTRIBUTE if numa else llama_cpp.GGML_NUMA_STRATEGY_DISABLED
193-
193+
else:
194+
self.numa = numa
195+
194196
if self.numa != llama_cpp.GGML_NUMA_STRATEGY_DISABLED:
195197
with suppress_stdout_stderr(disable=verbose):
196198
llama_cpp.llama_numa_init(self.numa)

0 commit comments

Comments
 (0)
0