From 668ffc9b23fe4e54ee8f3f2c38a65e2e2b82efc7 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Thu, 4 Jan 2024 13:37:25 +0200 Subject: [PATCH] whispser : reset the "batched" timings (#1721) --- whisper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/whisper.cpp b/whisper.cpp index 4f216a98..f6ba822a 100644 --- a/whisper.cpp +++ b/whisper.cpp @@ -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;