mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-24 13:28:50 +01:00
embedding : free the batch after execution (#7297)
This commit is contained in:
parent
29499bb593
commit
ea3b0590ee
@ -211,6 +211,7 @@ int main(int argc, char ** argv) {
|
|||||||
|
|
||||||
// clean up
|
// clean up
|
||||||
llama_print_timings(ctx);
|
llama_print_timings(ctx);
|
||||||
|
llama_batch_free(batch);
|
||||||
llama_free(ctx);
|
llama_free(ctx);
|
||||||
llama_free_model(model);
|
llama_free_model(model);
|
||||||
llama_backend_free();
|
llama_backend_free();
|
||||||
|
Loading…
Reference in New Issue
Block a user