]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
scripts : add turbo-q8_0 to the benchmark
authorGeorgi Gerganov <redacted>
Tue, 29 Oct 2024 17:37:24 +0000 (19:37 +0200)
committerGeorgi Gerganov <redacted>
Tue, 29 Oct 2024 17:37:24 +0000 (19:37 +0200)
scripts/bench-all.sh
tests/run-tests.sh

index a722aba6b98bf1b5cf1cbdc2227a991e4f45c103..469ec04d5bf33807c886ec28eebaf909777b2e9d 100755 (executable)
@@ -30,7 +30,7 @@ models=(
      "small"    "small-q4_0"    "small-q4_1"    "small-q5_0"    "small-q5_1"    "small-q8_0"                \
     "medium"   "medium-q4_0"   "medium-q4_1"   "medium-q5_0"   "medium-q5_1"   "medium-q8_0"   "medium-dis" \
   "large-v2" "large-v2-q4_0" "large-v2-q4_1" "large-v2-q5_0" "large-v2-q5_1" "large-v2-q8_0" "large-v2-dis" \
-  "large-v3-turbo"                           "large-v3-turbo-q5_0" \
+  "large-v3-turbo"                           "large-v3-turbo-q5_0"           "large-v3-turbo-q8_0"          \
 )
 
 if [ "$encoder_only" -eq 0 ]; then
index 71f9f2d39784c03e3067518101bfc1dbd979ab13..ae76b4b7cfb3695b0431a76cb0dea3359d6461a2 100755 (executable)
@@ -120,7 +120,7 @@ function run_lang() {
 
 run_lang "en" "${urls_en[@]}"
 
-if [[ $model != *.en ]]; then
+if [[ $model != *.en* ]]; then
     run_lang "es" "${urls_es[@]}"
     run_lang "it" "${urls_it[@]}"
     run_lang "pt" "${urls_pt[@]}"