Updated Home (markdown)

wzy 2023-07-23 06:41:49 -06:00
parent 5b0ace2771
commit 268722efe2

20
Home.md

@ -10,10 +10,26 @@ yay -S llama-cpp-cuda
yay -S llama-cpp-opencl
```
### NixOS
### Nix
```sh
nix run github#ggerganov/llama.cpp
nix run github:ggerganov/llama.cpp
nix run 'github:ggerganov/llama.cpp#opencl'
```
### NixOS
```nix
{ config, pkgs, ... }:
{
nixpkgs.config.packageOverrides = pkgs: {
llama-cpp = (
builtins.getFlake "github:ggerganov/llama.cpp"
).packages.${builtins.currentSystem}.default;
};
};
environment.systemPackages = with pkgs; [ llama-cpp ]
}
```
### Android Termux