Free vk context

This commit is contained in:
niansa 2023-06-23 20:02:46 +02:00
parent 55815b67f4
commit e0814f86a2

View file

@ -2817,6 +2817,9 @@ struct llama_context * llama_init_from_file(
}
void llama_free(struct llama_context * ctx) {
#ifdef GGML_USE_KOMPUTE
ggml_vk_free(ctx->ctx_kompute);
#endif
delete ctx;
}