We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a3b467 commit f65e8b1Copy full SHA for f65e8b1
examples/bench/bench.cpp
@@ -1,6 +1,7 @@
1
#include "whisper.h"
2
#ifdef BINDINGS_FLAT
3
#include "whisper-flat.h"
4
+#include "../ggml/src/ggml-flat.h"
5
#endif
6
7
#include <cstdio>
@@ -65,8 +66,11 @@ static int whisper_bench_full(const whisper_params & params) {
65
66
// whisper init
67
68
- whisper_flat_backend_load_all();
69
- #endif
+ // whisper_flat_backend_load_all();
70
+ ggml_backend_try_load_best("rpc", nullptr);
71
+ ggml_backend_try_load_best("blas", nullptr);
72
+ ggml_backend_try_load_best("cpu", nullptr);
73
+#endif
74
75
struct whisper_context_params cparams = whisper_context_default_params();
76
0 commit comments