mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-22 08:17:58 +01:00
Add installa methods
parent
ef98016946
commit
8bc022e1c5
56
Home.md
56
Home.md
@ -1 +1,57 @@
|
||||
Welcome to the llama.cpp wiki!
|
||||
|
||||
## Install
|
||||
|
||||
### ArchLinux
|
||||
|
||||
```sh
|
||||
yay -S llama-cpp
|
||||
yay -S llama-cpp-cuda
|
||||
yay -S llama-cpp-opencl
|
||||
```
|
||||
|
||||
### NixOS
|
||||
|
||||
```sh
|
||||
nix run github#ggerganov/llama.cpp
|
||||
```
|
||||
|
||||
### Android Termux
|
||||
|
||||
Wait <https://github.com/termux/termux-packages/pull/17457>.
|
||||
|
||||
```sh
|
||||
apt install llama-cpp
|
||||
```
|
||||
|
||||
### Windows Msys2
|
||||
|
||||
Wait <https://github.com/msys2/MINGW-packages/issues/17808>.
|
||||
|
||||
```sh
|
||||
pacman -S llama-cpp
|
||||
```
|
||||
|
||||
### Debian (Ubuntu)
|
||||
|
||||
```sh
|
||||
git clone --depth=1 https://github.com/ggerganov/llama.cpp
|
||||
cd llama.cpp
|
||||
cmake -Bbuild
|
||||
cmake --build build -D...
|
||||
cd build
|
||||
cpack -G DEB
|
||||
dpkg -i *.deb
|
||||
```
|
||||
|
||||
### Redhat
|
||||
|
||||
```sh
|
||||
git clone --depth=1 https://github.com/ggerganov/llama.cpp
|
||||
cd llama.cpp
|
||||
cmake -Bbuild
|
||||
cmake --build build -D...
|
||||
cd build
|
||||
cpack -G RPM
|
||||
dpkg -i *.deb
|
||||
```
|
Loading…
Reference in New Issue
Block a user