aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuf Kağan Hanoğlu <hanoglu@yahoo.com>2023-03-22 11:55:45 +0300
committerGitHub <noreply@github.com>2023-03-22 10:55:45 +0200
commitd5850c53ca179b9674b98f35d359763416a3cc11 (patch)
tree38e09d87e8fec82ca9e92b324cab5404928ae682
parentae44e23ee36c02da0e37ab508a4b473ace724f8e (diff)
Add missing header for memcpy (#386)
fixed: memcpy is not defined
-rw-r--r--llama.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llama.cpp b/llama.cpp
index fde4d25..7de3c19 100644
--- a/llama.cpp
+++ b/llama.cpp
@@ -9,6 +9,7 @@
#include <queue>
#include <regex>
#include <cassert>
+#include <cstring>
// determine number of model parts based on the dimension
static const std::unordered_map<int, int> LLAMA_N_PARTS = {