From 7d9ed7b25fe17db3fc8848b5116d14682864ce8e Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 11 Mar 2023 12:44:21 +0200 Subject: [PATCH] Bump memory buffer --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index d28fc91..2f47480 100644 --- a/main.cpp +++ b/main.cpp @@ -529,7 +529,7 @@ bool llama_eval( const int d_key = n_embd/n_head; - static size_t buf_size = 256u*1024*1024; + static size_t buf_size = 512u*1024*1024; static void * buf = malloc(buf_size); if (mem_per_token > 0 && mem_per_token*N > buf_size) {