You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llama.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -473,7 +473,7 @@ extern "C" {
473
473
/// @param n_past The number of tokens already evaluated.
474
474
/// @param n_predict The maximum number of tokens to predict.
475
475
/// @param n_threads The maximum number of threads as passed to llama_eval().
476
-
LLAMA_API voidllama_beam_search(structllama_context * ctx, llama_beam_search_callback_fn_t callback, void* callback_state, int beam_width, int n_past, int n_predict, int n_threads);
476
+
LLAMA_API voidllama_beam_search(structllama_context * ctx, llama_beam_search_callback_fn_t callback, void* callback_state, size_t beam_width, int n_past, int n_predict, int n_threads);
0 commit comments