You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently each time we convert audio to text the kakaia process grows by a few hundred kilobytes. Need to track down where the memory is leaking, and fix.
The text was updated successfully, but these errors were encountered:
The leak is because we're loading the model into memory each time we convert an audio file to text, where we should only be loading it one time. The logic in src/speech.rs needs to be reworked to only load the models into memory one time and then re-use.
Currently each time we convert audio to text the
kakaia
process grows by a few hundred kilobytes. Need to track down where the memory is leaking, and fix.The text was updated successfully, but these errors were encountered: