Skip to content

Commit 7253a69

Browse files
MarcusDunnakawrykow
authored andcommitted
llama : fix struct decl (ggml-org#2790)
1 parent 8d03a54 commit 7253a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ extern "C" {
485485
// (e.g. beams[0]) as they will be removed (shifted) from all beams in all subsequent callbacks.
486486
// These pointers are valid only during the synchronous callback, so should not be saved.
487487
struct llama_beams_state {
488-
llama_beam_view * beam_views;
488+
struct llama_beam_view * beam_views;
489489
size_t n_beams; // Number of elements in beam_views[].
490490
size_t common_prefix_length; // Current max length of prefix tokens shared by all beams.
491491
bool last_call; // True iff this is the last callback invocation.

0 commit comments

Comments
 (0)