Skip to content

Commit

Permalink
whisper : reset the "batched" timings (whisper/1721)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jan 4, 2024
1 parent 9a867f1 commit 94394be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/whisper/whisper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3821,6 +3821,7 @@ void whisper_reset_timings(struct whisper_context * ctx) {
ctx->state->t_sample_us = 0;
ctx->state->t_encode_us = 0;
ctx->state->t_decode_us = 0;
ctx->state->t_batchd_us = 0;
ctx->state->t_prompt_us = 0;
ctx->state->n_sample = 0;
ctx->state->n_encode = 0;
Expand Down
2 changes: 1 addition & 1 deletion scripts/sync-whisper.last
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14c57952f7a53a82819bbfcfcc6a91682c66ddbf
ba5bcde874b6650cb13f8c432260cfe7a6a34b80

0 comments on commit 94394be

Please sign in to comment.