Skip to content

Commit 77fa26b

Browse files
committed
added termux instructions
1 parent f3dbe0a commit 77fa26b

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,17 @@ You can then run koboldcpp anywhere from the terminal by running `koboldcpp` to
9898
- You can attempt a CuBLAS build with using the provided CMake file with visual studio. If you use the CMake file to build, copy the `koboldcpp_cublas.dll` generated into the same directory as the `koboldcpp.py` file. If you are bundling executables, you may need to include CUDA dynamic libraries (such as `cublasLt64_11.dll` and `cublas64_11.dll`) in order for the executable to work correctly on a different PC.
9999
- Make the KoboldCPP project using the instructions above.
100100

101-
## Android (Termux) Alternative method
102-
- See https://github.com/ggerganov/llama.cpp/pull/1828/files
101+
## Compiling on Android (Termux Installation)
102+
- [Install and run Termux from F-Droid](https://f-droid.org/en/packages/com.termux/)
103+
- Enter the command `termux-change-repo` and choose `Mirror by BFSU`
104+
- Install dependencies with `pkg install wget git python` (plus any other missing packages)
105+
- Install dependencies `apt install openssl` (if needed)
106+
- Clone the repo `git clone https://github.com/LostRuins/koboldcpp.git`
107+
- Navigate to the koboldcpp folder `cd koboldcpp`
108+
- Build the project `make`
109+
- Grab a small GGUF model, such as `wget https://huggingface.co/TheBloke/phi-2-GGUF/resolve/main/phi-2.Q2_K.gguf`
110+
- Start the python server `python koboldcpp.py --model phi-2.Q2_K.gguf`
111+
- Connect to `http://localhost:5001` on your mobile browser
103112

104113
## AMD
105114
- Please check out https://github.com/YellowRoseCx/koboldcpp-rocm

klite.embd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9884,7 +9884,7 @@ Current version: 107
98849884
{
98859885
gentxtspeak = gentxt;
98869886
}
9887-
tts_speak(gentxt);
9887+
tts_speak(gentxtspeak);
98889888
}
98899889

98909890
if(gentxt!="")

0 commit comments

Comments
 (0)