Skip to content

Commit e0dcbc2

Browse files
committed
Update llama.cpp
1 parent 3d083f3 commit e0dcbc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llama_cpp/llama_cpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ class llama_beams_state(ctypes.Structure):
10861086
# // Type of pointer to the beam_search_callback function.
10871087
# // void* callback_data is any custom data passed to llama_beam_search, that is subsequently
10881088
# // passed back to beam_search_callback. This avoids having to use global variables in the callback.
1089-
# typedef void (*llama_beam_search_callback_fn_t)(void * callback_data, llama_beams_state);
1089+
# typedef void (*llama_beam_search_callback_fn_t)(void * callback_data, struct llama_beams_state);
10901090
llama_beam_search_callback_fn_t = ctypes.CFUNCTYPE(None, c_void_p, llama_beams_state)
10911091

10921092

vendor/llama.cpp

0 commit comments

Comments
 (0)