From 50599208d66569505e4c224074b9d89ed915932a Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Thu, 25 Apr 2024 20:54:18 -0700 Subject: [PATCH] Fix log target Building on windows with clang errors without common.h included before log.h --- examples/llava/clip.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/llava/clip.cpp b/examples/llava/clip.cpp index e3c9bcd4364aa..56f1f2076e90c 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"