Spaces:
Sleeping
Sleeping
zhouwg
commited on
examples : fix typo in bench.cpp (#1933)
Browse files- examples/bench/bench.cpp +1 -1
examples/bench/bench.cpp
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
// command-line parameters
|
| 9 |
struct whisper_params {
|
| 10 |
int32_t n_threads = std::min(4, (int32_t) std::thread::hardware_concurrency());
|
| 11 |
-
int32_t what = 0; // what to benchmark: 0 - whisper
|
| 12 |
|
| 13 |
std::string model = "models/ggml-base.en.bin";
|
| 14 |
|
|
|
|
| 8 |
// command-line parameters
|
| 9 |
struct whisper_params {
|
| 10 |
int32_t n_threads = std::min(4, (int32_t) std::thread::hardware_concurrency());
|
| 11 |
+
int32_t what = 0; // what to benchmark: 0 - whisper encoder, 1 - memcpy, 2 - ggml_mul_mat
|
| 12 |
|
| 13 |
std::string model = "models/ggml-base.en.bin";
|
| 14 |
|