Get clblast.nix
from nix-unstable
Get a model: https://huggingface.co/TheBloke/WizardLM-13B-V1.2-GGML/blob/main/wizardlm-13b-v1.2.ggmlv3.q4_1.bin
Build: nix-build
Example prompt:
./result/bin/main -m ~/Downloads/wizardlm-13b-v1.2.ggmlv3.q4_1.bin -n 128 --prompt "Unce upon a time"