mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-10-01 10:27:30 -05:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user