llama-bench : fix verbosity filter to show GGML_LOG_ERROR (#28229)

* bench : fix verbosity filter to show GGML_LOG_ERROR (#28107)

* bench: remove dead variables
This commit is contained in:
Kushal Garg
2026-10-01 08:20:00 +03:00
committed by GitHub
parent 2232bc8b5f
commit 7dad6db858
+4 -2
View File
@@ -2222,8 +2222,10 @@ static bool test_gen(llama_context * ctx, int n_gen, int n_threads) {
}
static void llama_null_log_callback(enum ggml_log_level level, const char * text, void * user_data) {
(void) level;
(void) text;
if (level == GGML_LOG_LEVEL_ERROR) {
fprintf(stderr, "%s", text);
return;
}
(void) user_data;
}