0002-clip-log.patch 740 Bytes
Newer Older
Michael Yang's avatar
Michael Yang committed
1
2
3
4
5
6
7
8
9
From ba4bba80a744f76ac67b8234451c259a3c5da83b Mon Sep 17 00:00:00 2001
From: Michael Yang <mxyng@pm.me>
Date: Mon, 16 Sep 2024 15:53:11 -0700
Subject: [PATCH] 02-clip-log.diff

---
 examples/llava/clip.cpp | 1 +
 1 file changed, 1 insertion(+)

Daniel Hiltgen's avatar
Daniel Hiltgen committed
10
diff --git a/examples/llava/clip.cpp b/examples/llava/clip.cpp
Michael Yang's avatar
Michael Yang committed
11
index 9b890571..cb51793d 100644
Daniel Hiltgen's avatar
Daniel Hiltgen committed
12
13
14
15
16
17
18
19
20
21
--- 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"
Michael Yang's avatar
Michael Yang committed
22
23
24
-- 
2.46.0