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:
1 parent
2232bc8b5f
commit
7dad6db858
1 file changed
+4
-2
@@ -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