Spaces:
Sleeping
Sleeping
bench : add commit hash to bench-all.sh results
Browse files- extra/bench-all.sh +5 -3
extra/bench-all.sh
CHANGED
|
@@ -17,8 +17,8 @@ printf "Running benchmark for all models\n"
|
|
| 17 |
printf "This can take a while!\n"
|
| 18 |
printf "\n"
|
| 19 |
|
| 20 |
-
printf "| CPU | OS | Config | Model | Threads | Load [ms] | Encode [ms] |\n"
|
| 21 |
-
printf "| --- | -- | ------ | ----- | ------- | --------- | ----------- |\n"
|
| 22 |
|
| 23 |
for model in "${models[@]}"; do
|
| 24 |
# run once to heat-up the cache
|
|
@@ -48,6 +48,8 @@ for model in "${models[@]}"; do
|
|
| 48 |
config="$config BLAS"
|
| 49 |
fi
|
| 50 |
|
| 51 |
-
|
|
|
|
|
|
|
| 52 |
done
|
| 53 |
|
|
|
|
| 17 |
printf "This can take a while!\n"
|
| 18 |
printf "\n"
|
| 19 |
|
| 20 |
+
printf "| CPU | OS | Config | Model | Threads | Load [ms] | Encode [ms] | Commit |\n"
|
| 21 |
+
printf "| --- | -- | ------ | ----- | ------- | --------- | ----------- | ------ |\n"
|
| 22 |
|
| 23 |
for model in "${models[@]}"; do
|
| 24 |
# run once to heat-up the cache
|
|
|
|
| 48 |
config="$config BLAS"
|
| 49 |
fi
|
| 50 |
|
| 51 |
+
commit=$(git rev-parse --short HEAD)
|
| 52 |
+
|
| 53 |
+
printf "| <todo> | <todo> | $config | $model | $n_threads | $load_time | $encode_time | $commit |\n"
|
| 54 |
done
|
| 55 |
|