Skip to content

Commit 64a1860

Browse files
committed
fix: patch
1 parent d52b80c commit 64a1860

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

patches/0001-Add-API-query-buffer-size.patch

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ index 7cae1bbe..fdcbf949 100644
2222
LLAMA_API enum llama_pooling_type llama_pooling_type(const struct llama_context * ctx);
2323
LLAMA_API enum llama_vocab_type llama_vocab_type (const struct llama_model * model);
2424
LLAMA_API enum llama_rope_type llama_rope_type (const struct llama_model * model);
25-
diff --git a/src/llama.cpp b/src/llama.cpp
26-
index c466cd88..15f3102c 100644
27-
--- a/src/llama.cpp
28-
+++ b/src/llama.cpp
29-
@@ -19561,6 +19561,26 @@ const struct llama_model * llama_get_model(const struct llama_context * ctx) {
25+
diff --git a/src/llama-context.cpp b/src/llama-context.cpp
26+
index 38a55fb2..80b3532e 100644
27+
--- a/src/llama-context.cpp
28+
+++ b/src/llama-context.cpp
29+
@@ -602,6 +602,26 @@ const struct llama_model * llama_get_model(const struct llama_context * ctx) {
3030
return &ctx->model;
3131
}
3232

0 commit comments

Comments
 (0)