Skip to content

Commit 5049b2f

Browse files
committed
run.vulkan.sh: allow running with GDB
1 parent 53b42a8 commit 5049b2f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

run.vulkan.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
../build.vulkan/bin/llama-run --ngl 99 --verbose ~/models/llama3.2 "say nothing"
1+
#! /bin/bash
2+
3+
if [[ ${1:-} == "gdb" ]]; then
4+
prefix="gdb --args"
5+
else
6+
prefix=""
7+
fi
8+
9+
export VN_DEBUG=init
10+
$prefix ../build.vulkan/bin/llama-run --ngl 99 --verbose ~/models/llama3.2 "say nothing"

0 commit comments

Comments
 (0)