]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
whisper : move progress calculation out of whisper.cpp (#1081)
authorHrishikesh Barman <redacted>
Tue, 25 Jul 2023 15:53:34 +0000 (21:23 +0530)
committerGitHub <redacted>
Tue, 25 Jul 2023 15:53:34 +0000 (18:53 +0300)
commit925915ae3749d76b347573971ad63dee633c7470
tree3ca94e53c46c7defe8bd17de572451ff5c63d177
parent97f4a7fee0ffd4f6135211ebe3d56f1fddfa8993
whisper : move progress calculation out of whisper.cpp (#1081)

Current `progress_step` was hardcoded into whisper.cpp, this resulted in
bindings having to access progress only at that step even if progress
callback was being called at every iteration.

With this change we get greater granularity progress reporting from
whisper.cpp and bindings/implementations can define their own progress step.
examples/main/main.cpp
whisper.cpp