Expand description
LoRA adapters (llama_lora_adapter_*).
Mirrors llama-cpp-2’s LoRA API (crate::model::LlamaModel::lora_adapter_init
and the LlamaContext::lora_adapter_* methods), adapted for ik_llama.cpp’s
older C API: ik exposes per-adapter llama_lora_adapter_set / _remove /
_clear over an llama_lora_adapter handle, whereas modern stock llama.cpp
replaced these with llama_set_adapters_lora over an llama_adapter_lora
type.
Structs§
- Llama
Lora Adapter - A safe wrapper around
llama_lora_adapter.
Enums§
- Llama
Lora Adapter Init Error - An error that can occur when initializing a lora adapter.
- Llama
Lora Adapter Remove Error - An error that can occur when removing a lora adapter from a context.
- Llama
Lora Adapter SetError - An error that can occur when setting a lora adapter on a context.