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 c032fc6

Browse filesBrowse files
committed
feat: Update llama.cpp
1 parent 9497bcd commit c032fc6
Copy full SHA for c032fc6

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+5
-1
lines changed

‎llama_cpp/llama_cpp.py

Copy file name to clipboardExpand all lines: llama_cpp/llama_cpp.py
+4Lines 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

Copy file name to clipboard

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.