summaryrefslogtreecommitdiff
path: root/examples/llama-bench
diff options
context:
space:
mode:
authorRickard Hallerbäck <rickard.hallerback@gmail.com>2023-09-27 17:48:33 +0200
committerGitHub <noreply@github.com>2023-09-27 18:48:33 +0300
commitdc6897404e141c74cbbf8030ecfebd74e1815411 (patch)
treec36354fd18ce45ff12fbf8b7ebfc5004834a40dc /examples/llama-bench
parent527e57cfd8a9a26bf622c0510c21c2508a24be26 (diff)
metal : reusing llama.cpp logging (#3152)
* metal : reusing llama.cpp logging * cmake : build fix * metal : logging callback * metal : logging va_args memory fix * metal : minor cleanup * metal : setting function like logging macro to capital letters * llama.cpp : trailing whitespace fix * ggml : log level enum used by llama * Makefile : cleanup ggml-metal recipe * ggml : ggml_log_callback typedef * ggml : minor --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Diffstat (limited to 'examples/llama-bench')
-rw-r--r--examples/llama-bench/llama-bench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/llama-bench/llama-bench.cpp b/examples/llama-bench/llama-bench.cpp
index 34ddfde3..2f1a1d9f 100644
--- a/examples/llama-bench/llama-bench.cpp
+++ b/examples/llama-bench/llama-bench.cpp
@@ -903,7 +903,7 @@ static void test_gen(llama_context * ctx, int n_gen, int n_past, int n_threads)
}
}
-static void llama_null_log_callback(enum llama_log_level level, const char * text, void * user_data) {
+static void llama_null_log_callback(enum ggml_log_level level, const char * text, void * user_data) {
(void) level;
(void) text;
(void) user_data;