]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
examples : fix typo in bench.cpp (#1933)
authorzhouwg <redacted>
Wed, 6 Mar 2024 22:21:44 +0000 (06:21 +0800)
committerGitHub <redacted>
Wed, 6 Mar 2024 22:21:44 +0000 (22:21 +0000)
examples/bench/bench.cpp

index 60d10a2cb565ef6612df688bbe35de6b882beedb..b77621ac884de50b27476630d6efede5c9abc763 100644 (file)
@@ -8,7 +8,7 @@
 // command-line parameters
 struct whisper_params {
     int32_t n_threads = std::min(4, (int32_t) std::thread::hardware_concurrency());
-    int32_t what = 0; // what to benchmark: 0 - whisper ecoder, 1 - memcpy, 2 - ggml_mul_mat
+    int32_t what = 0; // what to benchmark: 0 - whisper encoder, 1 - memcpy, 2 - ggml_mul_mat
 
     std::string model = "models/ggml-base.en.bin";