From e0dcbc28a15b4591fd5787e25e14ebd731c654a1 Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Mon, 28 Aug 2023 10:33:45 -0400 Subject: [PATCH] Update llama.cpp --- llama_cpp/llama_cpp.py | 2 +- vendor/llama.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llama_cpp/llama_cpp.py b/llama_cpp/llama_cpp.py index 8cb442d..5708e7b 100644 --- a/llama_cpp/llama_cpp.py +++ b/llama_cpp/llama_cpp.py @@ -1086,7 +1086,7 @@ class llama_beams_state(ctypes.Structure): # // Type of pointer to the beam_search_callback function. # // void* callback_data is any custom data passed to llama_beam_search, that is subsequently # // passed back to beam_search_callback. This avoids having to use global variables in the callback. -# typedef void (*llama_beam_search_callback_fn_t)(void * callback_data, llama_beams_state); +# typedef void (*llama_beam_search_callback_fn_t)(void * callback_data, struct llama_beams_state); llama_beam_search_callback_fn_t = ctypes.CFUNCTYPE(None, c_void_p, llama_beams_state) diff --git a/vendor/llama.cpp b/vendor/llama.cpp index c10704d..3af6b86 160000 --- a/vendor/llama.cpp +++ b/vendor/llama.cpp @@ -1 +1 @@ -Subproject commit c10704d01e21e3dbe4d6ca1026ebff85349dd239 +Subproject commit 3af6b86301ddfb11bb68e91dfc030b611b0d8426