0002-clip-log.patch 763 B

123456789101112131415161718192021222324
  1. From 6fdf4268e13e56f0050fa6a29b029cbd54be49d2 Mon Sep 17 00:00:00 2001
  2. From: Gabe Goodhart <ghart@us.ibm.com>
  3. Date: Thu, 19 Sep 2024 16:58:03 -0600
  4. Subject: [PATCH] clip log
  5. ---
  6. examples/llava/clip.cpp | 1 +
  7. 1 file changed, 1 insertion(+)
  8. diff --git a/examples/llava/clip.cpp b/examples/llava/clip.cpp
  9. index 8aa7b075..b8941c74 100644
  10. --- a/examples/llava/clip.cpp
  11. +++ b/examples/llava/clip.cpp
  12. @@ -3,6 +3,7 @@
  13. // I'll gradually clean and extend it
  14. // 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
  15. #include "clip.h"
  16. +#include "common.h"
  17. #include "ggml.h"
  18. #include "ggml-alloc.h"
  19. #include "ggml-backend.h"
  20. --
  21. 2.39.3 (Apple Git-146)