]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
whisper : add check for CPU backend initialization (#2918)
authorDaniel Bevenius <redacted>
Fri, 21 Mar 2025 08:53:26 +0000 (09:53 +0100)
committerGitHub <redacted>
Fri, 21 Mar 2025 08:53:26 +0000 (09:53 +0100)
commitbe9de811717f3072ce485922a83b6ac92df96f52
tree1abf98e12000ba13f09a5d44ab767dd8a42fff9b
parent21fb513ef1694e5ac58dce705bb254e7da81d095
whisper : add check for CPU backend initialization (#2918)

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: https://github.com/ggerganov/whisper.cpp/issues/2917
src/whisper.cpp