Explorar el Código

Add missing header for memcpy (#386)

fixed: memcpy is not defined
Yusuf Kağan Hanoğlu hace 2 años
padre
commit
d5850c53ca
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      llama.cpp

+ 1 - 0
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 = {