Skip to content

whisper : add check for CPU backend initialization #2918

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

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

danbev
Copy link
Collaborator

@danbev danbev commented Mar 21, 2025

This commit adds a check for the CPU backend initialization in the whisper library. If the initialization fails, an exception is thrown.

The motivation for this change is to make the library more robust and handle the case when the CPU backend initialization fails.

Resolves: #2917

This commit adds a check for the CPU backend initialization in the
whisper library. If the initialization fails, an exception is thrown.

The motivation for this change is to make the library more robust and
handle the case when the CPU backend initialization fails.

Resolves: ggml-org#2917
@danbev danbev merged commit be9de81 into ggml-org:master Mar 21, 2025
48 checks passed
buxuku pushed a commit to buxuku/whisper.cpp that referenced this pull request Mar 26, 2025
This commit adds a check for the CPU backend initialization in the
whisper library. If the initialization fails, an exception is thrown.

The motivation for this change is to make the library more robust and
handle the case when the CPU backend initialization fails.

Resolves: ggml-org#2917
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.

Null pointer deref with no cpu backend loaded.
2 participants