summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-05-11 16:25:50 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2024-05-11 21:33:08 +0300
commit325756d28df7d018a7bac424e1b3bc8acb4ecf07 (patch)
tree6703d048854e236ecf13e7f8626e430b8f4eddf9
parentfed0108491a3a3cbec6c6480dc8667ffff9d7659 (diff)
ggml : resolve merge (ggml/0)
ggml-ci
-rw-r--r--ggml.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ggml.c b/ggml.c
index 4f301158..b96a82a4 100644
--- a/ggml.c
+++ b/ggml.c
@@ -4,7 +4,6 @@
#include "ggml-impl.h"
#include "ggml-quants.h"
#include "ggml.h"
-#include "sgemm.h"
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <malloc.h> // using malloc.h with MSC/MINGW
@@ -37,6 +36,10 @@
#undef GGML_USE_LLAMAFILE
#endif
+#ifdef GGML_USE_LLAMAFILE
+#include "sgemm.h"
+#endif
+
#if defined(_MSC_VER)
// disable "possible loss of data" to avoid hundreds of casts
// we should just be careful :)