Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return with error from whisper_encode_internal and whisper_decode_int… #1456

Merged
merged 1 commit into from Nov 10, 2023

Conversation

bjnortier
Copy link
Contributor

When adding an abort callback the main transcribe function whisper_full_with_state aborts the GGML but still continues the main transcription workflow.

This pull request will return false from whisper_encode_internal and whisper_decode_internal so an abort will return from the main workflow with an error value.

@ggerganov ggerganov merged commit ec7a6f0 into ggerganov:master Nov 10, 2023
35 checks passed
felrock pushed a commit to felrock/whisper.cpp that referenced this pull request Nov 18, 2023
…decode_internal when abort callback is true (ggerganov#1456)

Co-authored-by: Ben Nortier <ben@bjnortier.com>
landtanin pushed a commit to landtanin/whisper.cpp that referenced this pull request Dec 16, 2023
…decode_internal when abort callback is true (ggerganov#1456)

Co-authored-by: Ben Nortier <ben@bjnortier.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants