File tree 4 files changed +4
-3
lines changed 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
6
6
DETECT_LIBS? =true
7
7
8
8
# llama.cpp versions
9
- CPPLLAMA_VERSION? =3e1d29348b5d77269f6931500dd1c1a729d429c8
9
+ CPPLLAMA_VERSION? =6bf28f0111ff9f21b3c1b1eace20c590281e7ba6
10
10
11
11
# whisper.cpp version
12
12
WHISPER_REPO? =https://github.com/ggerganov/whisper.cpp
Original file line number Diff line number Diff line change 2
2
## XXX: In some versions of CMake clip wasn't being built before llama.
3
3
## This is an hack for now, but it should be fixed in the future.
4
4
set (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)
6
6
install (TARGETS ${TARGET} LIBRARY)
7
7
target_include_directories (myclip PUBLIC .)
8
8
target_include_directories (myclip PUBLIC ../..)
Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ struct llama_server_context
514
514
LOG_INFO (" Multi Modal Mode Enabled" , {});
515
515
clp_ctx = clip_init (params.mmproj .path .c_str (), clip_context_params {
516
516
/* use_gpu */ has_gpu,
517
- /* verbosity=*/ 1 ,
517
+ /* verbosity=*/ GGML_LOG_LEVEL_INFO ,
518
518
});
519
519
if (clp_ctx == nullptr ) {
520
520
LOG_ERR (" unable to load clip model: %s" , params.mmproj .path .c_str ());
Original file line number Diff line number Diff line change 21
21
# # XXX: In some versions of CMake clip wasn't being built before llama.
22
22
# # This is an hack for now, but it should be fixed in the future.
23
23
cp -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
24
25
cp -rfv llama.cpp/examples/llava/llava.cpp llama.cpp/examples/grpc-server/llava.cpp
25
26
echo ' #include "llama.h"' > llama.cpp/examples/grpc-server/llava.h
26
27
cat 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