mdrokz / rust-llama.cpp

LLama.cpp rust bindings
https://crates.io/crates/llama_cpp_rs/
MIT License
290 stars 42 forks source link

Update to latest llama.cpp to allow usage of LLaMAv2 and GGUF models #13

Closed kouta-kun closed 9 months ago

kouta-kun commented 9 months ago

This pull request modifies the bindings and build process to allow linking to the latest llama.cpp commit, in the process allowing the usage of LLaMAv2 and the new GGUF format. It has been tested with the following model: https://huggingface.co/TheBloke/Llama-2-7B-GGUF/blob/main/llama-2-7b.Q4_K_S.gguf