llama_adapter_lora_free function

  1. @Native<Void Function(Pointer<llama_adapter_lora>)>(ffi.Pointer<llama_adapter_lora>)>()
void llama_adapter_lora_free(
  1. Pointer<llama_adapter_lora> adapter
)

Manually free a LoRA adapter NOTE: loaded adapters will be free when the associated model is deleted

Implementation

@ffi.Native<ffi.Void Function(ffi.Pointer<llama_adapter_lora>)>()
external void llama_adapter_lora_free(
  ffi.Pointer<llama_adapter_lora> adapter,
);