summaryrefslogtreecommitdiff
path: root/examples/llava/CMakeLists.txt
diff options
context:
space:
mode:
authorSteward Garcia <57494570+FSSRepo@users.noreply.github.com>2023-12-29 11:52:15 -0500
committerGitHub <noreply@github.com>2023-12-29 18:52:15 +0200
commitce18d727a47f2473ca863a6f78bf3ad480008f72 (patch)
tree51708e4435c3bad6da1ad4800f908b02428e0dc7 /examples/llava/CMakeLists.txt
parent91bb39cec7e4dfb9e2293509ef60298a67f0b1b7 (diff)
clip : enable gpu backend (#4205)
* clip: enable CUDA backend * add missing kernels * add enough padding for alignment * remove ggml_repeat of clip.cpp * add metal backend * llava : fixes - avoid ggml_repeat - use GGML_USE_ instead of CLIP_USE_ macros - remove unused vars --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Diffstat (limited to 'examples/llava/CMakeLists.txt')
-rw-r--r--examples/llava/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/llava/CMakeLists.txt b/examples/llava/CMakeLists.txt
index 48dae150..2985caff 100644
--- a/examples/llava/CMakeLists.txt
+++ b/examples/llava/CMakeLists.txt
@@ -24,7 +24,8 @@ endif()
if (NOT MSVC)
target_compile_options(llava PRIVATE -Wno-cast-qual) # stb_image.h
- endif()
+endif()
+
if(TARGET BUILD_INFO)
add_dependencies(llava BUILD_INFO)
endif()