Skip to content

Commit bc9a2e8

Browse files
jartcompilade
andauthored
Update llama.cpp
Co-authored-by: compilade <git@compilade.net>
1 parent 5224b65 commit bc9a2e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17342,7 +17342,7 @@ float * llama_get_embeddings(struct llama_context * ctx) {
1734217342
return ctx->embd;
1734317343
}
1734417344

17345-
static float * llama_get_embeddings_ith_fail(int i, std::string reason) {
17345+
static float * llama_get_embeddings_ith_fail(int i, const std::string & reason) {
1734617346
LLAMA_LOG_ERROR("%s: invalid embeddings id %d, reason: %s\n", __func__, i, reason.c_str());
1734717347
#ifndef NDEBUG
1734817348
GGML_ASSERT(false);

0 commit comments

Comments
 (0)