Skip to content

Commit

Permalink
llama : fix struct decl (ggerganov#2790)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusDunn authored Aug 25, 2023
1 parent d046dce commit 232caf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama.h
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ extern "C" {
// (e.g. beams[0]) as they will be removed (shifted) from all beams in all subsequent callbacks.
// These pointers are valid only during the synchronous callback, so should not be saved.
struct llama_beams_state {
llama_beam_view * beam_views;
struct llama_beam_view * beam_views;
size_t n_beams; // Number of elements in beam_views[].
size_t common_prefix_length; // Current max length of prefix tokens shared by all beams.
bool last_call; // True iff this is the last callback invocation.
Expand Down

0 comments on commit 232caf3

Please sign in to comment.