export separate lora ggufs instead

This commit is contained in:
Sigbjørn Skjæret
2025-07-06 22:24:46 +02:00
committed by GitHub
parent 9a39ccb7d9
commit 966d0e0e0b
13 changed files with 85 additions and 82 deletions

View File

@@ -588,6 +588,12 @@ extern "C" {
struct llama_model * model,
const char * path_lora);
// Get the LoRA task name. Returns a blank string if not applicable
LLAMA_API const char * llama_adapter_lora_task_name(struct llama_adapter_lora * adapter);
// Get the required LoRA prompt prefix. Returns a blank string if not applicable
LLAMA_API const char * llama_adapter_lora_prompt_prefix(struct llama_adapter_lora * adapter);
// Manually free a LoRA adapter
// Note: loaded adapters will be free when the associated model is deleted
LLAMA_API void llama_adapter_lora_free(struct llama_adapter_lora * adapter);