llama-cpp-bindings 0.11.0

llama.cpp bindings for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, thiserror::Error, Clone, PartialEq, Eq)]
pub enum SamplerApplyError {
    #[error("the sampler pointer was null when applying to the token data array")]
    NullSampler,
    #[error("the sampler ran out of memory while applying to the token data array")]
    NotEnoughMemory,
    #[error(
        "the vendored sampler threw a C++ exception while applying to the token data array: {message}"
    )]
    Reported { message: String },
}