mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-06 13:49:02 +00:00
embedding : free the batch after execution (#7297)
This commit is contained in:
parent
29499bb593
commit
ea3b0590ee
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue