Skip to content

Commit ece2399

Browse files
authored
chore: ⬆️ Update ggml-org/llama.cpp to 6bf28f0111ff9f21b3c1b1eace20c590281e7ba6 (#5127)
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 3b8bc7e commit ece2399

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BINARY_NAME=local-ai
66
DETECT_LIBS?=true
77

88
# llama.cpp versions
9-
CPPLLAMA_VERSION?=3e1d29348b5d77269f6931500dd1c1a729d429c8
9+
CPPLLAMA_VERSION?=6bf28f0111ff9f21b3c1b1eace20c590281e7ba6
1010

1111
# whisper.cpp version
1212
WHISPER_REPO?=https://github.com/ggerganov/whisper.cpp

backend/cpp/llama/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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.
44
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)
66
install(TARGETS ${TARGET} LIBRARY)
77
target_include_directories(myclip PUBLIC .)
88
target_include_directories(myclip PUBLIC ../..)

backend/cpp/llama/grpc-server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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());

backend/cpp/llama/prepare.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ fi
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.
2323
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
2425
cp -rfv llama.cpp/examples/llava/llava.cpp llama.cpp/examples/grpc-server/llava.cpp
2526
echo '#include "llama.h"' > llama.cpp/examples/grpc-server/llava.h
2627
cat llama.cpp/examples/llava/llava.h >> llama.cpp/examples/grpc-server/llava.h

0 commit comments

Comments
 (0)