From ef1b87d1af564945879741d8abfd5f824f3843a8 Mon Sep 17 00:00:00 2001 From: fmz Date: Fri, 24 May 2024 22:20:52 -0700 Subject: [PATCH] free batch threadpool in main --- examples/main/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/main/main.cpp b/examples/main/main.cpp index 747c39920..42a94a8c3 100644 --- a/examples/main/main.cpp +++ b/examples/main/main.cpp @@ -983,6 +983,7 @@ int main(int argc, char ** argv) { llama_backend_free(); ggml_release_threadpool(threadpool); + ggml_release_threadpool(threadpool_batch); #ifndef LOG_DISABLE_LOGS LOG_TEE("Log end\n");