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

Function llava_free

examples/llava/llava-cli.cpp:271–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271static void llava_free(struct llava_context * ctx_llava) {
272 if (ctx_llava->ctx_clip) {
273 clip_free(ctx_llava->ctx_clip);
274 ctx_llava->ctx_clip = NULL;
275 }
276
277 llama_free(ctx_llava->ctx_llama);
278 llama_free_model(ctx_llava->model);
279 llama_backend_free();
280}
281
282int main(int argc, char ** argv) {
283 ggml_time_init();

Callers 1

mainFunction · 0.85

Calls 4

clip_freeFunction · 0.70
llama_freeFunction · 0.50
llama_free_modelFunction · 0.50
llama_backend_freeFunction · 0.50

Tested by

no test coverage detected