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 594845a commit 02f6ddcCopy full SHA for 02f6ddc
scripts/compare-commits.sh
@@ -0,0 +1,23 @@
1
+#!/bin/bash
2
+
3
+set -e
4
+set -x
5
6
+if [ $# -lt 2 ]; then
7
+ echo "usage: ./scripts/compare-commits.sh <commit1> <commit2> [additional llama-bench arguments]"
8
+ exit 1
9
+fi
10
11
+bench_args="${@:3}"
12
13
+rm -f llama-bench.sqlite
14
15
+git checkout $1
16
+make clean && LLAMA_CUBLAS=1 make -j32 llama-bench
17
+./llama-bench -o sql $bench_args | tee /dev/tty | sqlite3 llama-bench.sqlite
18
19
+git checkout $2
20
21
22
23
+./scripts/compare-llama-bench.py -b $1 -c $2
0 commit comments