]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
whisper : reset the "batched" timings (whisper/1721)
authorGeorgi Gerganov <redacted>
Thu, 4 Jan 2024 11:37:25 +0000 (13:37 +0200)
committerGeorgi Gerganov <redacted>
Thu, 4 Jan 2024 20:55:36 +0000 (22:55 +0200)
examples/whisper/whisper.cpp
scripts/sync-whisper.last

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;
index 082063465b4c592f27abf02c6f97ef795ae667f1..f5b37582ce29075f90a98dde284a130089f35467 100644 (file)
@@ -1 +1 @@
-14c57952f7a53a82819bbfcfcc6a91682c66ddbf
+ba5bcde874b6650cb13f8c432260cfe7a6a34b80