Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c032fc6

Browse files
committed
feat: Update llama.cpp
1 parent 9497bcd commit c032fc6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

llama_cpp/llama_cpp.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,8 @@ def byref(obj: CtypesCData, offset: Optional[int] = None) -> CtypesRef[CtypesCDa
443443
# LLAMA_FTYPE_MOSTLY_Q4_0_4_4 = 33, // except 1d tensors
444444
# LLAMA_FTYPE_MOSTLY_Q4_0_4_8 = 34, // except 1d tensors
445445
# LLAMA_FTYPE_MOSTLY_Q4_0_8_8 = 35, // except 1d tensors
446+
# LLAMA_FTYPE_MOSTLY_TQ1_0 = 36, // except 1d tensors
447+
# LLAMA_FTYPE_MOSTLY_TQ2_0 = 37, // except 1d tensors
446448
#
447449
# LLAMA_FTYPE_GUESSED = 1024, // not specified in the model file
448450
# };
@@ -479,6 +481,8 @@ def byref(obj: CtypesCData, offset: Optional[int] = None) -> CtypesRef[CtypesCDa
479481
LLAMA_FTYPE_MOSTLY_Q4_0_4_4 = 33
480482
LLAMA_FTYPE_MOSTLY_Q4_0_4_8 = 34
481483
LLAMA_FTYPE_MOSTLY_Q4_0_8_8 = 35
484+
LLAMA_FTYPE_MOSTLY_TQ1_0 = 36
485+
LLAMA_FTYPE_MOSTLY_TQ2_0 = 37
482486
LLAMA_FTYPE_GUESSED = 1024
483487

484488
# enum llama_rope_scaling_type {

vendor/llama.cpp

0 commit comments

Comments
 (0)