Skip to content

Commit

Permalink
Update easy_KCPP-ROCm_install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
YellowRoseCx committed Jul 26, 2023
1 parent 731cd6e commit 7863610
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions easy_KCPP-ROCm_install.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
# #!/bin/bash

# git clone https://github.com/YellowRoseCx/koboldcpp-rocm.git -b main --depth 1 && \
# cd koboldcpp-rocm && \
# make LLAMA_HIPBLAS=1 -j4 && \
# ./koboldcpp.py

#!/bin/bash

git clone https://github.com/YellowRoseCx/koboldcpp-rocm.git -b main --depth 1 && \
cd koboldcpp-rocm && \
if [ "$(basename "$PWD")" = "koboldcpp-rocm" ]; then
echo "Already inside 'koboldcpp-rocm' directory."
else
git clone https://github.com/YellowRoseCx/koboldcpp-rocm.git -b main --depth 1 && \
cd "koboldcpp-rocm" || exit 1
fi


make LLAMA_HIPBLAS=1 -j4 && \
./koboldcpp.py

0 comments on commit 7863610

Please sign in to comment.