Skip to content

Commit 6d98572

Browse files
committed
run.remoting.sh: more flexible
1 parent 7ef077e commit 6d98572

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

run.remoting.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#! /bin/bash
22
#clear
3-
if [[ ${1:-} == "gdb" ]]; then
3+
if [[ ${1:-} == "strace" ]]; then
4+
prefix="strace"
5+
elif [[ ${1:-} == "gdb" ]]; then
46
prefix="gdb --args"
57
else
68
prefix=""
@@ -41,7 +43,7 @@ if [[ "$bench" == yes ]]; then
4143
--n-gpu-layers 99
4244
else
4345
PROMPT="say nothing"
44-
PROMPT="tell what's Apple metal API"
46+
#PROMPT="tell what's Apple metal API"
4547
$prefix \
4648
$LLAMA_BUILD_DIR/bin/llama-run \
4749
--ngl 99 \

0 commit comments

Comments
 (0)