Update llama.cpp

Co-authored-by: slaren <slarengh@gmail.com>
This commit is contained in:
fraxy-v 2024-05-18 09:42:38 +03:00 committed by GitHub
parent e02d3d0c29
commit 564a650cc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1778,7 +1778,7 @@ struct llama_state {
llama_state() {
#ifdef GGML_USE_METAL
ggml_backend_metal_log_set_callback(log_callback, log_callback_user_data);
#elif GGML_USE_CUDA
#elif defined(GGML_USE_CUDA)
ggml_backend_cuda_log_set_callback(log_callback, log_callback_user_data);
#endif
}