mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-31 05:03:44 +00:00
perplexity : fix format specifier in LOG_ERR (#23788)
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
This commit is contained in:
parent
c5229087a5
commit
48e7eae41c
1 changed files with 3 additions and 3 deletions
|
|
@ -923,7 +923,7 @@ static void hellaswag_score(llama_context * ctx, const common_params & params) {
|
|||
}
|
||||
|
||||
if (i0 == i1) {
|
||||
LOG_ERR("%s : task %zu does not fit in the context window (requires %lu tokens)\n", __func__, i0, hs_data[i0].required_tokens);
|
||||
LOG_ERR("%s : task %zu does not fit in the context window (requires %zu tokens)\n", __func__, i0, hs_data[i0].required_tokens);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -1216,7 +1216,7 @@ static void winogrande_score(llama_context * ctx, const common_params & params)
|
|||
}
|
||||
|
||||
if (i0 == i1) {
|
||||
LOG_ERR("%s : task %zu does not fit in the context window (requires %lu tokens)\n", __func__, i0, data[i0].required_tokens);
|
||||
LOG_ERR("%s : task %zu does not fit in the context window (requires %zu tokens)\n", __func__, i0, data[i0].required_tokens);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -1595,7 +1595,7 @@ static void multiple_choice_score(llama_context * ctx, const common_params & par
|
|||
}
|
||||
|
||||
if (i0 == i1) {
|
||||
LOG_ERR("%s : task %zu does not fit in the context window (requires %lu tokens)\n", __func__, i0, tasks[i0].required_tokens);
|
||||
LOG_ERR("%s : task %zu does not fit in the context window (requires %zu tokens)\n", __func__, i0, tasks[i0].required_tokens);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue