File tree 1 file changed +13
-8
lines changed
1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
- # #!/bin/bash
2
-
3
- # git clone https://github.com/YellowRoseCx/koboldcpp-rocm.git -b main --depth 1 && \
4
- # cd koboldcpp-rocm && \
5
- # make LLAMA_HIPBLAS=1 -j4 && \
6
- # ./koboldcpp.py
7
-
8
1
#! /bin/bash
2
+ function countdown {
3
+ local num=$1
4
+ while [ $num -gt 0 ]; do
5
+ printf " \rAbout to build KoboldCPP-ROCm in %s seconds..." $num
6
+ sleep 1
7
+ num=$(( num - 1 ))
8
+ done
9
+ printf " \Building KoboldCPP... \n"
10
+ }
9
11
10
12
if [ " $( basename " $PWD " ) " = " koboldcpp-rocm" ]; then
11
13
echo " Already inside 'koboldcpp-rocm' directory."
14
16
cd " koboldcpp-rocm" || exit 1
15
17
fi
16
18
19
+ echo " Build will start shortly."
20
+ countdown 5
17
21
18
- make LLAMA_HIPBLAS=1 -j4 && \
22
+ make clean && \
23
+ make LLAMA_HIPBLAS=1 LLAMA_OPENBLAS=1 LLAMA_CLBLAST=1 -j4 && \
19
24
./koboldcpp.py
You can’t perform that action at this time.
0 commit comments