aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-03-24 18:23:56 +0200
committerGeorgi Gerganov <ggerganov@gmail.com>2023-03-24 18:23:56 +0200
commit31572d966531f7d768eb773322016ab78eb6e835 (patch)
tree37ae42db4d962c38a2a649a5084926be3f75e770
parentf4f5362edb01b05c383b23f36d7b3489c77061b5 (diff)
Temporary bump the memory buffer size - hopefully fix issues from 483bab2e
-rw-r--r--llama.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llama.cpp b/llama.cpp
index cdb8628..9a93409 100644
--- a/llama.cpp
+++ b/llama.cpp
@@ -632,7 +632,7 @@ static bool llama_eval_internal(
auto & mem_per_token = lctx.mem_per_token;
// TODO: fix this hardcoded size
- static size_t buf_size = 512u*1024*1024;
+ static size_t buf_size = 2048u*1024*1024; // TMP !!!
static void * buf = malloc(buf_size);
if (mem_per_token > 0 && mem_per_token*N > buf_size) {