Skip to content

Conversation

danbev
Copy link
Member

@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