File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -16,5 +16,6 @@ dependencies:
1616 - ninja
1717 - make
1818 - packaging
19+ - pocl
1920 - pip :
2021 - customtkinter
Original file line number Diff line number Diff line change 11#! /bin/bash
2- wget -qO- https://anaconda.org/conda-forge/micromamba/1.5.3/download/linux-64/micromamba-1.5.3-0.tar.bz2 | tar -xvj bin/micromamba
2+ if [ ! -f " bin/micromamba" ]; then
3+ wget -qO- https://anaconda.org/conda-forge/micromamba/1.5.3/download/linux-64/micromamba-1.5.3-0.tar.bz2 | tar -xvj bin/micromamba
4+ fi
5+
36if [[ ! -f " conda/envs/linux/bin/python" || $1 == " rebuild" ]]; then
4- bin/micromamba create --no-shortcuts -r conda -n linux -f environment.yaml -y
5- bin/micromamba create --no-shortcuts -r conda -n linux -f environment.yaml -y
6- bin/micromamba run -r conda -n linux make clean
7+ bin/micromamba create --no-shortcuts -r conda -n linux -f environment.yaml -y
8+ bin/micromamba create --no-shortcuts -r conda -n linux -f environment.yaml -y
9+ bin/micromamba run -r conda -n linux make clean
710fi
11+
812bin/micromamba run -r conda -n linux make LLAMA_OPENBLAS=1 LLAMA_CLBLAST=1 LLAMA_CUBLAS=1 LLAMA_PORTABLE=1
9- bin/micromamba run -r conda -n linux python koboldcpp.py $*
13+
14+ if [[ $1 == " rebuild" ]]; then
15+ echo Rebuild complete, you can now try to launch Koboldcpp.
16+ else
17+ bin/micromamba run -r conda -n linux python koboldcpp.py $*
18+ fi
You can’t perform that action at this time.
0 commit comments