8000 Merge pull request #139 from matthoffner/patch-1 · Stonelinks/llama-cpp-python@e644e75 · GitHub
[go: up one dir, main page]

Skip to content

Commit e644e75

Browse files
authored
Merge pull request abetlen#139 from matthoffner/patch-1
Fix FTYPE typo
2 parents e9e0654 + f97ff3c commit e644e75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llama_cpp/llama_cpp.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ class llama_context_params(Structure):
136136
) # tok_embeddings.weight and output.weight are F16
137137
LLAMA_FTYPE_MOSTLY_Q4_2 = ctypes.c_int(5) # except 1d tensors
138138
# LLAMA_FTYPE_MOSTYL_Q4_3 = ctypes.c_int(6) # except 1d tensors
139-
LLAMA_FTYPE_MOSTYL_Q8_0 = ctypes.c_int(7) # except 1d tensors
140-
LLAMA_FTYPE_MOSTYL_Q5_0 = ctypes.c_int(8) # except 1d tensors
141-
LLAMA_FTYPE_MOSTYL_Q5_1 = ctypes.c_int(9) # except 1d tensors
139+
LLAMA_FTYPE_MOSTLY_Q8_0 = ctypes.c_int(7) # except 1d tensors
140+
LLAMA_FTYPE_MOSTLY_Q5_0 = ctypes.c_int(8) # except 1d tensors
141+
LLAMA_FTYPE_MOSTLY_Q5_1 = ctypes.c_int(9) # except 1d tensors
142142

143143
# Functions
144144

0 commit comments

Comments
 (0)
0