Skip to content

Commit

Permalink
chore(deps): bump llama.cpp to 4b0c638b9 (#4532)
Browse files Browse the repository at this point in the history
deps(llama.cpp): bump to 4b0c638b9

Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler authored Jan 4, 2025
1 parent 1006e8a commit c553d73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DETECT_LIBS?=true
# llama.cpp versions
GOLLAMA_REPO?=https://github.com/go-skynet/go-llama.cpp
GOLLAMA_VERSION?=2b57a8ae43e4699d3dc5d1496a1ccd42922993be
CPPLLAMA_VERSION?=2f0ee84b9b02d2a98742308026f060ebdc2423f1
CPPLLAMA_VERSION?=4b0c638b9a68f577cb2066b638c9f622d91ee661

# whisper.cpp version
WHISPER_REPO?=https://github.com/ggerganov/whisper.cpp
Expand Down
4 changes: 2 additions & 2 deletions backend/cpp/llama/grpc-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ struct llama_server_context
}

common_init_result common_init = common_init_from_params(params);
model = common_init.model;
ctx = common_init.context;
model = common_init.model.release();
ctx = common_init.context.release();
if (model == nullptr)
{
LOG_ERR("unable to load model: %s", params.model.c_str());
Expand Down

0 comments on commit c553d73

Please sign in to comment.