Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit bf690af

Browse files
committed
chore: bump llama.cpp
Signed-off-by: thxCode <thxcode0824@gmail.com>
1 parent 94c9f7b commit bf690af

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

llama-box/patches/llama.cpp/dynamic_link.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/ggml/src/ggml-cpu/ggml-cpu.cpp b/ggml/src/ggml-cpu/ggml-cpu.cpp
2-
index c9daa4c39..26f219c47 100644
2+
index e16cdc9d4..b8d1c41e5 100644
33
--- a/ggml/src/ggml-cpu/ggml-cpu.cpp
44
+++ b/ggml/src/ggml-cpu/ggml-cpu.cpp
5-
@@ -635,6 +635,18 @@ static void * ggml_backend_cpu_get_proc_address(ggml_backend_reg_t reg, const ch
5+
@@ -632,6 +632,18 @@ static void * ggml_backend_cpu_get_proc_address(ggml_backend_reg_t reg, const ch
66
if (strcmp(name, "ggml_backend_cpu_is_numa") == 0) {
77
return (void *)ggml_is_numa;
88
}

llama-box/patches/llama.cpp/max_devices.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/ggml/src/ggml-backend.cpp b/ggml/src/ggml-backend.cpp
2-
index eaf41e5a6..a457fd4a1 100644
2+
index 1b9d29e91..8bdb5a0b7 100644
33
--- a/ggml/src/ggml-backend.cpp
44
+++ b/ggml/src/ggml-backend.cpp
55
@@ -594,7 +594,7 @@ static bool ggml_is_view_op(enum ggml_op op) {

llama-box/patches/llama.cpp/template.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/src/llama-chat.cpp b/src/llama-chat.cpp
2-
index 1baf7350a..a3dafd45e 100644
2+
index 0a96a9a57..f98b82b11 100644
33
--- a/src/llama-chat.cpp
44
+++ b/src/llama-chat.cpp
55
@@ -60,6 +60,9 @@ static const std::map<std::string, llm_chat_template> LLM_CHAT_TEMPLATES = {

llama-box/patches/llama.cpp/tool_calling.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ index 545e957e5..25ce2de25 100644
222222
/// Both "model" and "custom_template" are optional, but at least one is required. "custom_template" has higher precedence than "model"
223223
/// NOTE: This function does not use a jinja parser. It only support a pre-defined list of template. See more: https://github.com/ggml-org/llama.cpp/wiki/Templates-supported-by-llama_chat_apply_template
224224
diff --git a/src/llama-chat.cpp b/src/llama-chat.cpp
225-
index 1baf7350a..5cc21afa9 100644
225+
index 0a96a9a57..ec0665e0d 100644
226226
--- a/src/llama-chat.cpp
227227
+++ b/src/llama-chat.cpp
228228
@@ -205,6 +205,606 @@ llm_chat_template llm_chat_detect_template(const std::string & tmpl) {

0 commit comments

Comments
 (0)