]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Add missing header for memcpy (#386)
authorYusuf Kağan Hanoğlu <redacted>
Wed, 22 Mar 2023 08:55:45 +0000 (11:55 +0300)
committerGitHub <redacted>
Wed, 22 Mar 2023 08:55:45 +0000 (10:55 +0200)
fixed: memcpy is not defined

llama.cpp

index fde4d251682ca63a225bbf44db53d1e36cc0c463..7de3c19c8dcdaae44cdc43f2ffde2d2175dcbc18 100644 (file)
--- 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 = {