From 2ed0d65948195aecff0d63566d8087b4b64c6a61 Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Thu, 25 Apr 2024 17:15:24 -0700 Subject: [PATCH 1/2] Bump llama.cpp to b2737 --- llm/llama.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llm/llama.cpp b/llm/llama.cpp index 7593639c..46e12c46 160000 --- a/llm/llama.cpp +++ b/llm/llama.cpp @@ -1 +1 @@ -Subproject commit 7593639ce335e8d7f89aa9a54d616951f273af60 +Subproject commit 46e12c4692a37bdd31a0432fc5153d7d22bc7f72 From 85801317d1d09379f85512f84ad37ab6761a5225 Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Fri, 26 Apr 2024 09:43:46 -0700 Subject: [PATCH 2/2] Fix clip log import --- llm/patches/02-clip-log.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 llm/patches/02-clip-log.diff diff --git a/llm/patches/02-clip-log.diff b/llm/patches/02-clip-log.diff new file mode 100644 index 00000000..34a018e8 --- /dev/null +++ b/llm/patches/02-clip-log.diff @@ -0,0 +1,12 @@ +diff --git a/examples/llava/clip.cpp b/examples/llava/clip.cpp +index e431c7f7..f077e688 100644 +--- a/examples/llava/clip.cpp ++++ b/examples/llava/clip.cpp +@@ -3,6 +3,7 @@ + // I'll gradually clean and extend it + // Note: Even when using identical normalized image inputs (see normalize_image_u8_to_f32()) we have a significant difference in resulting embeddings compared to pytorch + #include "clip.h" ++#include "common.h" + #include "log.h" + #include "ggml.h" + #include "ggml-alloc.h"