MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / free_lora

Function free_lora

examples/export-lora/export-lora.cpp:220–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220static void free_lora(struct lora_data * lora) {
221 if (lora->ctx != NULL) {
222 ggml_free(lora->ctx);
223 }
224 delete lora;
225}
226
227static struct lora_data * load_lora(struct lora_info * info) {
228 struct lora_data * result = new struct lora_data;

Callers 2

load_loraFunction · 0.85
export_loraFunction · 0.85

Calls 1

ggml_freeFunction · 0.50

Tested by

no test coverage detected