File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed
Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ BINARY_NAME=local-ai
66DETECT_LIBS? =true
77
88# llama.cpp versions
9- CPPLLAMA_VERSION? =3e1d29348b5d77269f6931500dd1c1a729d429c8
9+ CPPLLAMA_VERSION? =6bf28f0111ff9f21b3c1b1eace20c590281e7ba6
1010
1111# whisper.cpp version
1212WHISPER_REPO? =https://github.com/ggerganov/whisper.cpp
Original file line number Diff line number Diff line change 22## XXX: In some versions of CMake clip wasn't being built before llama.
33## This is an hack for now, but it should be fixed in the future.
44set (TARGET myclip)
5- add_library (${TARGET} clip.cpp clip.h llava.cpp llava.h)
5+ add_library (${TARGET} clip.cpp clip.h clip-impl.h llava.cpp llava.h)
66install (TARGETS ${TARGET} LIBRARY)
77target_include_directories (myclip PUBLIC .)
88target_include_directories (myclip PUBLIC ../..)
Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ struct llama_server_context
514514 LOG_INFO (" Multi Modal Mode Enabled" , {});
515515 clp_ctx = clip_init (params.mmproj .path .c_str (), clip_context_params {
516516 /* use_gpu */ has_gpu,
517- /* verbosity=*/ 1 ,
517+ /* verbosity=*/ GGML_LOG_LEVEL_INFO ,
518518 });
519519 if (clp_ctx == nullptr ) {
520520 LOG_ERR (" unable to load clip model: %s" , params.mmproj .path .c_str ());
Original file line number Diff line number Diff line change 2121# # XXX: In some versions of CMake clip wasn't being built before llama.
2222# # This is an hack for now, but it should be fixed in the future.
2323cp -rfv llama.cpp/examples/llava/clip.h llama.cpp/examples/grpc-server/clip.h
24+ cp -rfv llama.cpp/examples/llava/clip-impl.h llama.cpp/examples/grpc-server/clip-impl.h
2425cp -rfv llama.cpp/examples/llava/llava.cpp llama.cpp/examples/grpc-server/llava.cpp
2526echo ' #include "llama.h"' > llama.cpp/examples/grpc-server/llava.h
2627cat llama.cpp/examples/llava/llava.h >> llama.cpp/examples/grpc-server/llava.h
You can’t perform that action at this time.
0 commit comments