From: Josh Bleecher Snyder Date: Sun, 10 Mar 2024 14:55:22 +0000 (-0700) Subject: whisper : document whisper_batch.n_seq_id (whisper/1942) X-Git-Tag: upstream/0.0.1642~868 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=78db44b432031855f98815f6f9cc969139887e37;p=pkg%2Fggml%2Fsources%2Fggml whisper : document whisper_batch.n_seq_id (whisper/1942) To prevent other people from attempting to remove it, as I did. --- diff --git a/examples/whisper/whisper.cpp b/examples/whisper/whisper.cpp index bc195189..289d7039 100644 --- a/examples/whisper/whisper.cpp +++ b/examples/whisper/whisper.cpp @@ -413,7 +413,7 @@ struct whisper_batch { whisper_token * token; whisper_pos * pos; - int32_t * n_seq_id; + int32_t * n_seq_id; // always 1, here for consistency with llama.cpp whisper_seq_id ** seq_id; // null terminated int8_t * logits; };