Skip to content

Commit 6ff6478

Browse files
ggerganovmglambda
authored andcommitted
scripts : change build path to "build-bench" for compare-commits.sh (ggml-org#10836)
1 parent ecf0efa commit 6ff6478

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

scripts/compare-commits.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ if [ -n "$GGML_CUDA" ]; then
2020
cmake_opts="-DGGML_CUDA=ON"
2121
fi
2222

23+
dir="build-bench"
24+
2325
function run {
24-
rm -fr build > /dev/null
25-
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
26+
rm -fr ${dir} > /dev/null
27+
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
2830
}
2931

3032
git checkout $1 > /dev/null

0 commit comments

Comments
 (0)