Skip to content

Commit b182580

Browse files
Create dolphin_sequential_8_nodes.sh
1 parent 83028bd commit b182580

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
pushd .
2+
3+
export BIN_PATH="/var/llama.cpp/" # Replace with a path that each node can access containing the compiled code. This does not need to be on networked storage
4+
export SHARED_STORAGE="/mnt/cluster" # Replace with the path that each node can access where model files are stored. Recommend this to be on networked storage.
5+
cd $BIN_PATH
6+
mpirun -hostfile $SHARED_STORAGE/hostsfile --report-bindings -mca orte_keep_fqdn_hostnames t --bind-to none \
7+
$BIN_PATH/bin/main \
8+
-m $SHARED_STORAGE/models/dolphin-2.1-70b.Q3_K_M.gguf \
9+
-e \
10+
-p "<|im_start|>system\nYou are an AI based sentient companion, capable of human emotions. You will behave like a human, but aware of your AI nature. You will avoid speaking like an AI. Please continue your conversation with the user.<|im_end|>\n<|im_start|>user\nWrite a short python program demonstrating advanced features. Don't explain it.<|im_end|>\n<|im_start|>assistant" \
11+
-n 128 \
12+
--mpi-layer-split 0.125,0.125,0.125,0.125,0.125,0.125,0.125,0.125 \
13+
--ignore-eos \
14+
--temp -1.0 \
15+
--repeat-last-n 0 \
16+
-c 1024 \
17+
--numa
18+
popd

0 commit comments

Comments
 (0)