You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've built whisper.cpp from commit 9e3c534 as a dll with Vulkan support and using the base.en model.
This is on windows with MSVC (VS version 17.11.0).
My code loads this dll at runtime, so essentially looks like this:
auto ggml = LoadLibrary("ggml.dll");
auto whisper = LoadLibrary("whisper.dll");
// load necessary functions, e.g.auto whisper_context_default_params = reinterpret_cast<decltype(&::whisper_context_default_params)>(GetProcAddress(whisper, "whisper_context_default_params");
...
auto ctxParams = whisper_context_default_params();
ctxParams.use_gpu = false;
auto wparams = whisper_full_default_params(whisper_sampling_strategy::WHISPER_SAMPLING_BEAM_SEARCH);
// other code follows the example at the top of whisper.h to successfully transcribe a fileFreeLibrary(ggml); // crash hereFreeLibrary(whisper);
If I set ctxParams.use_gpu to true so that it successfully uses Vulkan I don't get the crash. As I only force the CPU for debugging, this isn't too important.
I'm unsure if this is a bug in GGML or Whisper.cpp, but as it is triggered via the Whisper.cpp API I've logged it here.
The text was updated successfully, but these errors were encountered:
I've built whisper.cpp from commit 9e3c534 as a dll with Vulkan support and using the base.en model.
This is on windows with MSVC (VS version 17.11.0).
My code loads this dll at runtime, so essentially looks like this:
If I set
ctxParams.use_gpu
totrue
so that it successfully uses Vulkan I don't get the crash. As I only force the CPU for debugging, this isn't too important.I'm unsure if this is a bug in GGML or Whisper.cpp, but as it is triggered via the Whisper.cpp API I've logged it here.
The text was updated successfully, but these errors were encountered: