forked from extern/whisper.cpp
bench : add commit hash to bench-all.sh results
This commit is contained in:
parent
78d13257be
commit
13e8eb2346
@ -17,8 +17,8 @@ printf "Running benchmark for all models\n"
|
|||||||
printf "This can take a while!\n"
|
printf "This can take a while!\n"
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
||||||
printf "| CPU | OS | Config | Model | Threads | Load [ms] | Encode [ms] |\n"
|
printf "| CPU | OS | Config | Model | Threads | Load [ms] | Encode [ms] | Commit |\n"
|
||||||
printf "| --- | -- | ------ | ----- | ------- | --------- | ----------- |\n"
|
printf "| --- | -- | ------ | ----- | ------- | --------- | ----------- | ------ |\n"
|
||||||
|
|
||||||
for model in "${models[@]}"; do
|
for model in "${models[@]}"; do
|
||||||
# run once to heat-up the cache
|
# run once to heat-up the cache
|
||||||
@ -48,6 +48,8 @@ for model in "${models[@]}"; do
|
|||||||
config="$config BLAS"
|
config="$config BLAS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "| <todo> | <todo> | $config | $model | $n_threads | $load_time | $encode_time |\n"
|
commit=$(git rev-parse --short HEAD)
|
||||||
|
|
||||||
|
printf "| <todo> | <todo> | $config | $model | $n_threads | $load_time | $encode_time | $commit |\n"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user