Expand description
Manual wrapper for values in llama.cpp/common/common.h
common_sampler_params mirrors upstream’s common_params_sampling (kept in
sync with llama.cpp b10470). It is a plain Rust convenience struct, not an
FFI type: grammar and logit_bias are simplified to owned Rust values
rather than upstream’s common_grammar / llama_logit_bias, and the
server/CLI-only fields (reasoning budget, grammar triggers) are omitted.
Structs§
- common_
sampler_ params - common sampler params
Constants§
- COMMON_
SAMPLER_ TYPE_ ADAPTIVE_ P - COMMON_
SAMPLER_ TYPE_ DRY - COMMON_
SAMPLER_ TYPE_ INFILL - COMMON_
SAMPLER_ TYPE_ MIN_ P - COMMON_
SAMPLER_ TYPE_ NONE - COMMON_
SAMPLER_ TYPE_ PENALTIES - COMMON_
SAMPLER_ TYPE_ TEMPERATURE - COMMON_
SAMPLER_ TYPE_ TOP_ K - COMMON_
SAMPLER_ TYPE_ TOP_ N_ SIGMA - COMMON_
SAMPLER_ TYPE_ TOP_ P - COMMON_
SAMPLER_ TYPE_ TYPICAL_ P - COMMON_
SAMPLER_ TYPE_ XTC