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

main : pass nullptr when regex is empty #2070

Merged
merged 1 commit into from
Apr 17, 2024
Merged

main : pass nullptr when regex is empty #2070

merged 1 commit into from
Apr 17, 2024

Conversation

ggerganov
Copy link
Owner

fix #2066

Pass nullptr when the regex is empty. This avoids unnecessary regex matches during decoding, which would cause CPU overhead

@ggerganov ggerganov merged commit b0c3cbf into master Apr 17, 2024
96 checks passed
@ggerganov ggerganov deleted the gg/fix-regex branch April 17, 2024 09:23
viktor-silakov pushed a commit to viktor-silakov/whisper_node_mic.cpp that referenced this pull request May 11, 2024
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.

M1 Max, Whisper CPP 1.5.5 has increased CPU usage
1 participant