chore(deps): update llama.cpp (#3497)

* Apply llava patch

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-09-12 20:55:27 +02:00 committed by GitHub
parent e35d8169b1
commit d51444d606
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 70 additions and 86 deletions

View file

@ -1,5 +1,12 @@
#!/bin/bash
## Patches
## Apply patches from the `patches` directory
for patch in $(ls patches); do
echo "Applying patch $patch"
patch -d llama.cpp/ -p1 < patches/$patch
done
cp -r CMakeLists.txt llama.cpp/examples/grpc-server/
cp -r grpc-server.cpp llama.cpp/examples/grpc-server/
cp -rfv json.hpp llama.cpp/examples/grpc-server/