4 releases
| 0.0.5 | Dec 30, 2024 |
|---|---|
| 0.0.4 | Nov 17, 2024 |
| 0.0.2 | Oct 27, 2024 |
| 0.0.1 | Oct 25, 2024 |
#555 in FFI
6MB
119K
SLoC
Bindings to the llama.cpp library.
As llama.cpp is a very fast moving target, this crate does not attempt to create a stable API with all the rust idioms. Instead it provided safe wrappers around nearly direct bindings to llama.cpp. This makes it easier to keep up with the changes in llama.cpp, but does mean that the API is not as nice as it could be.
Examples
Feature Flags
cudaenables CUDA gpu support.sampleradds thecontext::sample::samplerstruct for a more rusty way of sampling.
bitnet-cpp
Almost safe wrapper for BitNet-cpp based on llama-cpp
Thanks
Heavily inspired by llama-cpp-rs
License
Copyright
© 2024, Eugene Hauptmann
Dependencies
~0.5–3.5MB
~65K SLoC