Allow selectively disabling GPU backends by passing a comma-separated list of backend names (e.g. "vulkan,opencl") via the new ggml_backend_load_all_from_path_with_disable() function and the disable_backends field in whisper_context_params. This is useful when certain backends are available but cause issues (driver bugs, unsupported hardware features, etc.) and should be skipped without recompiling. Example usage: whisper_context_params params = whisper_context_default_params(); params.disable_backends = "vulkan,opencl"; struct whisper_context * ctx = whisper_init_from_file_with_params(path, params); |
||
|---|---|---|
| .. | ||
| cmake | ||
| include | ||
| src | ||
| .gitignore | ||
| CMakeLists.txt | ||