fix(llama.cpp)

closes #6419
closes #6413
This commit is contained in:
Jacob Heider 2024-06-13 11:52:44 -04:00 committed by Jacob Heider
parent c5b6625b81
commit aad8c3bf6d

View file

@ -43,7 +43,14 @@ build:
- make --jobs {{hw.concurrency}} - make --jobs {{hw.concurrency}}
- | - |
if test -f main; then
install -D main {{prefix}}/bin/llama.cpp install -D main {{prefix}}/bin/llama.cpp
elif test -f llama-cli; then
install -D llama-cli {{prefix}}/bin/llama.cpp
else
echo "No binary found"
exit 1
fi
install -D props/entrypoint.sh {{prefix}}/entrypoint.sh install -D props/entrypoint.sh {{prefix}}/entrypoint.sh
install -D ggml-metal.metal {{prefix}}/bin/ggml-metal.metal install -D ggml-metal.metal {{prefix}}/bin/ggml-metal.metal