run-7b-sft-lora.sh 290 Bytes
Newer Older
qianyj's avatar
update  
qianyj committed
1
2
source env.sh

qianyj's avatar
qianyj committed
3
4
5

echo "START TIME: $(date)"
hostfile=./hostfile
qianyj's avatar
update  
qianyj committed
6

qianyj's avatar
qianyj committed
7
8
np=$(cat $hostfile|sort|uniq |wc -l)
np=$(($np*8))
qianyj's avatar
update  
qianyj committed
9

qianyj's avatar
qianyj committed
10
11
which mpirun
mpirun -np $np --allow-run-as-root --hostfile hostfile --bind-to none --mca btl_tcp_if_include enp97s0f1 `pwd`/run-7b-single-lora.sh 8
qianyj's avatar
update  
qianyj committed
12

qianyj's avatar
qianyj committed
13
echo "END TIME: $(date)"