whisper : remove comment

This commit is contained in:
Georgi Gerganov 2023-09-10 13:27:06 +03:00
parent 37de5dcf2b
commit 3c50be2217
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 0 additions and 3 deletions

View File

@ -4996,9 +4996,6 @@ int whisper_full_with_state(
auto & cur = beam_candidates[cur_c++];
// TODO: test if this is better:
//while (beam_candidates.size() > cur_c && i > 0) {
while (beam_candidates.size() > cur_c && beam_candidates[cur_c].sequence.sum_logprobs_all == cur.sequence.sum_logprobs_all && i > 0) {
++cur_c;
}