]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
whisper : remove whisper_load_backends function (#3196)
authorDaniel Bevenius <redacted>
Thu, 29 May 2025 06:03:17 +0000 (08:03 +0200)
committerGitHub <redacted>
Thu, 29 May 2025 06:03:17 +0000 (08:03 +0200)
commit73a8c5fb943241fe7d5d1d6a7c9d4720fc3d168c
tree21a8ae02c7d448775debe3bbe9a30f8562862754
parent1f5fdbecb411a61b8576242e5170c5ecef24b05a
whisper : remove whisper_load_backends function (#3196)

* whisper : remove whisper_load_backends function

This commit removes the `whisper_load_backends` function, which was used
to load all GGML backends.

The motivation for this change push the responsibility of loading
backends to user applications to give them more control over which
backends to load and when. See the references below for more context.

Resolves: https://github.com/ggml-org/whisper.cpp/issues/3182
Refs: https://github.com/ggml-org/whisper.cpp/pull/3042#issuecomment-2801778733
Refs: https://github.com/ggml-org/whisper.cpp/pull/3042#issuecomment-2801928990

* ruby : add check for rwc is NULL

This commit adds a check to ensure that the `rwc` pointer is not NULL
before attempting to mark its members in the garbage collector.

The motivation for this is an attempt to see if this fixed the CI build
as I'm not able to reproduce the issue locally.

Refs: https://github.com/ggml-org/whisper.cpp/actions/runs/15299612277/job/43036694928?pr=3196
12 files changed:
bindings/ruby/ext/ruby_whisper_params.c
examples/bench/bench.cpp
examples/cli/cli.cpp
examples/command/command.cpp
examples/lsp/lsp.cpp
examples/quantize/quantize.cpp
examples/server/server.cpp
examples/stream/stream.cpp
examples/talk-llama/talk-llama.cpp
examples/vad-speech-segments/speech.cpp
examples/wchess/wchess.cmd/wchess.cmd.cpp
src/whisper.cpp