Skip to content

Commit

Permalink
feat: Update llama.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
abetlen committed Sep 6, 2024
1 parent 9497bcd commit c032fc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions llama_cpp/llama_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@ def byref(obj: CtypesCData, offset: Optional[int] = None) -> CtypesRef[CtypesCDa
# LLAMA_FTYPE_MOSTLY_Q4_0_4_4 = 33, // except 1d tensors
# LLAMA_FTYPE_MOSTLY_Q4_0_4_8 = 34, // except 1d tensors
# LLAMA_FTYPE_MOSTLY_Q4_0_8_8 = 35, // except 1d tensors
# LLAMA_FTYPE_MOSTLY_TQ1_0 = 36, // except 1d tensors
# LLAMA_FTYPE_MOSTLY_TQ2_0 = 37, // except 1d tensors
#
# LLAMA_FTYPE_GUESSED = 1024, // not specified in the model file
# };
Expand Down Expand Up @@ -479,6 +481,8 @@ def byref(obj: CtypesCData, offset: Optional[int] = None) -> CtypesRef[CtypesCDa
LLAMA_FTYPE_MOSTLY_Q4_0_4_4 = 33
LLAMA_FTYPE_MOSTLY_Q4_0_4_8 = 34
LLAMA_FTYPE_MOSTLY_Q4_0_8_8 = 35
LLAMA_FTYPE_MOSTLY_TQ1_0 = 36
LLAMA_FTYPE_MOSTLY_TQ2_0 = 37
LLAMA_FTYPE_GUESSED = 1024

# enum llama_rope_scaling_type {
Expand Down

0 comments on commit c032fc6

Please sign in to comment.