0002-clip-log.patch 740 B

123456789101112131415161718192021222324
  1. From ba4bba80a744f76ac67b8234451c259a3c5da83b Mon Sep 17 00:00:00 2001
  2. From: Michael Yang <mxyng@pm.me>
  3. Date: Mon, 16 Sep 2024 15:53:11 -0700
  4. Subject: [PATCH] 02-clip-log.diff
  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 9b890571..cb51793d 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 "log.h"
  18. #include "ggml.h"
  19. #include "ggml-alloc.h"
  20. --
  21. 2.46.0