]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
whisper : document whisper_batch.n_seq_id (#1942)
authorJosh Bleecher Snyder <redacted>
Sun, 10 Mar 2024 14:55:22 +0000 (07:55 -0700)
committerGitHub <redacted>
Sun, 10 Mar 2024 14:55:22 +0000 (16:55 +0200)
To prevent other people from attempting to remove it, as I did.

whisper.cpp

index bc195189f758e917e862a688ca99a12ab1207d2b..289d70398493a91602636995486297813ea0e1e4 100644 (file)
@@ -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;
 };