alpaca-core / ac-local

Alpaca Core local inference SDK
MIT License
1 stars 0 forks source link

Fix whisper leaks #68

Closed iboB closed 2 months ago

iboB commented 2 months ago

Just ran the whisper basic example through a leak sanitizer and it seems that the entire ggml state is a leak (could be more, but the log was overwhelmingly ggml objects).

The llama basic example has no leaks so you can use it for reference.

It seems that you have forgotten to release some states or contexts (manual ggml management FTL 😢 )

Identify and fix