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