feat: Update llama.cpp

This commit is contained in:
Andrei Betlen 2024-02-15 15:17:30 -05:00
parent 7bb91f025f
commit a5cfeb7763
2 changed files with 10 additions and 1 deletions

View file

@ -230,6 +230,15 @@ LLAMA_ROPE_SCALING_LINEAR = 1
LLAMA_ROPE_SCALING_YARN = 2 LLAMA_ROPE_SCALING_YARN = 2
LLAMA_ROPE_SCALING_MAX_VALUE = LLAMA_ROPE_SCALING_YARN LLAMA_ROPE_SCALING_MAX_VALUE = LLAMA_ROPE_SCALING_YARN
# enum llama_pooling_type {
# LLAMA_POOLING_NONE = 0,
# LLAMA_POOLING_MEAN = 1,
# LLAMA_POOLING_CLS = 2,
# };
LLAMA_POOLING_NONE = 0
LLAMA_POOLING_MEAN = 1
LLAMA_POOLING_CLS = 2
# enum llama_split_mode { # enum llama_split_mode {
# LLAMA_SPLIT_NONE = 0, // single GPU # LLAMA_SPLIT_NONE = 0, // single GPU
# LLAMA_SPLIT_LAYER = 1, // split layers and KV across GPUs # LLAMA_SPLIT_LAYER = 1, // split layers and KV across GPUs

2
vendor/llama.cpp vendored

@ -1 +1 @@
Subproject commit 8084d554406b767d36b3250b3b787462d5dd626f Subproject commit 4524290e87b8e107cc2b56e1251751546f4b9051