free batch threadpool in main

This commit is contained in:
fmz 2024-05-24 22:20:52 -07:00
parent 8bdae2192b
commit ef1b87d1af

View file

@ -983,6 +983,7 @@ int main(int argc, char ** argv) {
llama_backend_free(); llama_backend_free();
ggml_release_threadpool(threadpool); ggml_release_threadpool(threadpool);
ggml_release_threadpool(threadpool_batch);
#ifndef LOG_DISABLE_LOGS #ifndef LOG_DISABLE_LOGS
LOG_TEE("Log end\n"); LOG_TEE("Log end\n");