fix: self.numa missing
This commit is contained in:
parent
fdce078cb9
commit
53f6f5f415
1 changed files with 3 additions and 1 deletions
|
@ -190,7 +190,9 @@ class Llama:
|
|||
|
||||
if isinstance(numa, bool):
|
||||
self.numa = llama_cpp.GGML_NUMA_STRATEGY_DISTRIBUTE if numa else llama_cpp.GGML_NUMA_STRATEGY_DISABLED
|
||||
|
||||
else:
|
||||
self.numa = numa
|
||||
|
||||
if self.numa != llama_cpp.GGML_NUMA_STRATEGY_DISABLED:
|
||||
with suppress_stdout_stderr(disable=verbose):
|
||||
llama_cpp.llama_numa_init(self.numa)
|
||||
|
|
Loading…
Reference in a new issue