Skip to content

Commit b8e7a76

Browse files
authored
chore(deps): update llama.cpp (#3438)
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 72f97e6 commit b8e7a76

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ DETECT_LIBS?=true
88
# llama.cpp versions
99
GOLLAMA_REPO?=https://github.com/go-skynet/go-llama.cpp
1010
GOLLAMA_VERSION?=2b57a8ae43e4699d3dc5d1496a1ccd42922993be
11-
CPPLLAMA_VERSION?=9fe94ccac92693d4ae1bc283ff0574e8b3f4e765
11+
CPPLLAMA_VERSION?=0ab30f8d82fc7156b750c194d64a887e80cbfb82
1212

1313
# go-rwkv version
1414
RWKV_REPO?=https://github.com/donomii/go-rwkv.cpp

backend/cpp/llama/grpc-server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ struct llama_server_context
11191119
continue;
11201120
}
11211121

1122-
if (!llava_image_embed_make_with_clip_img(clp_ctx, params.n_threads, img.img_data, &img.image_embedding, &img.image_tokens)) {
1122+
if (!llava_image_embed_make_with_clip_img(clp_ctx, params.cpuparams.n_threads, img.img_data, &img.image_embedding, &img.image_tokens)) {
11231123
LOG_TEE("Error processing the given image");
11241124
return false;
11251125
}
@@ -2210,7 +2210,7 @@ static void params_parse(const backend::ModelOptions* request,
22102210
params.model_alias = request->modelfile();
22112211
params.n_ctx = request->contextsize();
22122212
//params.memory_f16 = request->f16memory();
2213-
params.n_threads = request->threads();
2213+
params.cpuparams.n_threads = request->threads();
22142214
params.n_gpu_layers = request->ngpulayers();
22152215
params.n_batch = request->nbatch();
22162216
// Set params.n_parallel by environment variable (LLAMA_PARALLEL), defaults to 1

0 commit comments

Comments
 (0)