We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecf0efa commit 6ff6478Copy full SHA for 6ff6478
scripts/compare-commits.sh
@@ -20,11 +20,13 @@ if [ -n "$GGML_CUDA" ]; then
20
cmake_opts="-DGGML_CUDA=ON"
21
fi
22
23
+dir="build-bench"
24
+
25
function run {
- rm -fr build > /dev/null
- cmake -B build -S . $cmake_opts > /dev/null
26
- cmake --build build -t llama-bench > /dev/null
27
- build/bin/llama-bench -o sql -oe md $bench_args | sqlite3 llama-bench.sqlite
+ rm -fr ${dir} > /dev/null
+ cmake -B ${dir} -S . $cmake_opts > /dev/null
28
+ cmake --build ${dir} -t llama-bench > /dev/null
29
+ ${dir}/bin/llama-bench -o sql -oe md $bench_args | sqlite3 llama-bench.sqlite
30
}
31
32
git checkout $1 > /dev/null
0 commit comments