Skip to content

Commit

Permalink
chore: bump llama.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: thxCode <[email protected]>
  • Loading branch information
thxCode committed Dec 18, 2024
1 parent 358b44f commit 529c2ab
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion llama-box/patches/llama.cpp/embedding.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ index efbb27d2..6b944ef2 100644
LLAMA_API int32_t llama_n_vocab (const struct llama_model * model);
LLAMA_API int32_t llama_n_ctx_train(const struct llama_model * model);
diff --git a/src/llama.cpp b/src/llama.cpp
index 8b799e0e..4ddde98a 100644
index b7b04a41..98f00cd4 100644
--- a/src/llama.cpp
+++ b/src/llama.cpp
@@ -20025,9 +20025,17 @@ struct llama_context * llama_new_context_with_model(
Expand Down
2 changes: 1 addition & 1 deletion llama-box/patches/llama.cpp/model.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/src/llama.cpp b/src/llama.cpp
index 8b799e0e..030019d7 100644
index b7b04a41..2d4423b1 100644
--- a/src/llama.cpp
+++ b/src/llama.cpp
@@ -158,6 +158,7 @@ enum llm_arch {
Expand Down
2 changes: 1 addition & 1 deletion llama-box/patches/llama.cpp/mrope.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ index efbb27d2..73bdbf78 100644
LLAMA_API const struct llama_model * llama_get_model(const struct llama_context * ctx);

diff --git a/src/llama.cpp b/src/llama.cpp
index 8b799e0e..e7f7dafb 100644
index b7b04a41..96daaced 100644
--- a/src/llama.cpp
+++ b/src/llama.cpp
@@ -20361,6 +20361,10 @@ int32_t llama_n_head(const struct llama_model * model) {
Expand Down
2 changes: 1 addition & 1 deletion llama-box/patches/llama.cpp/template.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/src/llama.cpp b/src/llama.cpp
index 8b799e0e..f3d623ed 100644
index b7b04a41..9c923330 100644
--- a/src/llama.cpp
+++ b/src/llama.cpp
@@ -1630,6 +1630,9 @@ enum llm_chat_template {
Expand Down
2 changes: 1 addition & 1 deletion llama-box/patches/llama.cpp/token.patch
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ index 4bb16d2e..528f0291 100644
llama_token llama_token_prefix_impl(const struct llama_vocab & vocab);
llama_token llama_token_middle_impl(const struct llama_vocab & vocab);
diff --git a/src/llama.cpp b/src/llama.cpp
index 8b799e0e..22d2f51f 100644
index b7b04a41..eb01c6b6 100644
--- a/src/llama.cpp
+++ b/src/llama.cpp
@@ -22089,6 +22089,10 @@ llama_token llama_token_pad(const struct llama_model * model) {
Expand Down
2 changes: 1 addition & 1 deletion llama-box/patches/llama.cpp/tokenizer.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/src/llama.cpp b/src/llama.cpp
index 8b799e0e..5ee0d984 100644
index b7b04a41..e0d88735 100644
--- a/src/llama.cpp
+++ b/src/llama.cpp
@@ -6559,7 +6559,8 @@ static void llm_load_vocab(
Expand Down
2 changes: 1 addition & 1 deletion llama-box/patches/llama.cpp/tool_calling.patch
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ index efbb27d2..19031e22 100644
char * buf,
int32_t length);
diff --git a/src/llama.cpp b/src/llama.cpp
index 8b799e0e..ade86b46 100644
index b7b04a41..a742db1b 100644
--- a/src/llama.cpp
+++ b/src/llama.cpp
@@ -22274,12 +22274,52 @@ static llm_chat_template llama_chat_detect_template(const std::string & tmpl) {
Expand Down

0 comments on commit 529c2ab

Please sign in to comment.