Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 53f6f5f

Browse filesBrowse files
committed
fix: self.numa missing
1 parent fdce078 commit 53f6f5f
Copy full SHA for 53f6f5f

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎llama_cpp/llama.py

Copy file name to clipboardExpand all lines: llama_cpp/llama.py
+3-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.