Update llama.cpp

Co-authored-by: compilade <git@compilade.net>
This commit is contained in:
Justine Tunney 2024-05-21 16:19:38 -07:00 committed by GitHub
parent 99291c04f7
commit ac6bed1e4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17301,7 +17301,7 @@ float * llama_get_logits(struct llama_context * ctx) {
return ctx->logits;
}
static float * llama_get_logits_ith_fail(int i, std::string reason) {
static float * llama_get_logits_ith_fail(int i, const std::string & reason) {
LLAMA_LOG_ERROR("%s: invalid logits id %d, reason: %s\n", __func__, i, reason.c_str());
#ifndef NDEBUG
GGML_ASSERT(false);