Update llama.cpp
Co-authored-by: slaren <slarengh@gmail.com>
This commit is contained in:
parent
e02d3d0c29
commit
564a650cc7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue