add llama_lora_adapter_clear (#8653)
This commit is contained in:
parent
de280085e7
commit
b115105f05
2 changed files with 9 additions and 1 deletions
|
@ -16201,6 +16201,10 @@ int32_t llama_lora_adapter_remove(
|
|||
return -1;
|
||||
}
|
||||
|
||||
void llama_lora_adapter_clear(struct llama_context * ctx) {
|
||||
ctx->lora_adapters.clear();
|
||||
}
|
||||
|
||||
void llama_lora_adapter_free(struct llama_lora_adapter * adapter) {
|
||||
delete adapter;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue