]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
whispser : reset the "batched" timings (#1721)
authorGeorgi Gerganov <redacted>
Thu, 4 Jan 2024 11:37:25 +0000 (13:37 +0200)
committerGeorgi Gerganov <redacted>
Thu, 4 Jan 2024 11:38:39 +0000 (13:38 +0200)
whisper.cpp

index 4f216a984c9c145a8eff32401264b80ebcff2693..f6ba822a41efacedc938734d990c54f97008dfc3 100644 (file)
@@ -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;