embedding : free the batch after execution (#7297)

This commit is contained in:
dm4 authored and GitHub committed 2024-05-15 15:01:12 +03:00
1 parent 29499bb593
commit ea3b0590ee
1 file changed
+1
+1
View File
@@ -211,6 +211,7 @@ int main(int argc, char ** argv) {
// clean up
llama_print_timings(ctx);
llama_batch_free(batch);
llama_free(ctx);
llama_free_model(model);
llama_backend_free();