Skip to content

Commit 5cc49e6

Browse files
committed
fix logging
1 parent e1f3837 commit 5cc49e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8917,7 +8917,7 @@ struct llama_context * llama_new_context_with_model(
89178917

89188918
#ifdef GGML_USE_METAL
89198919
if (model->n_gpu_layers > 0) {
8920-
ggml_metal_log_set_callback(llama_log_callback_default, g_state.log_callback_user_data);
8920+
ggml_metal_log_set_callback(g_state.log_callback, g_state.log_callback_user_data);
89218921

89228922
ctx->ctx_metal = ggml_metal_init(1);
89238923
if (!ctx->ctx_metal) {

0 commit comments

Comments
 (0)