-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak #410
Comments
Including a minimal example to reproduce here:
|
jianfch
added a commit
that referenced
this issue
Oct 23, 2024
-disabled gradients for VAD to prevent memory leak (#410)
The leak seems to be caused by the VAD gradients. import torch
torch.set_grad_enabled(False) Or update to 4711a01. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
First off, thank you for this great implementation, really good stuff!
When using the newest stable-ts version on Windows to run the
large-v3-turbo
model I think there might be a memory leak of some sort when transcribing longer (1h+) audio, the RAM (not VRAM) usage goes way up:RAM usage seems to be steadily increasing until we eventually get an OOM error:
I uploaded the audio file (runtime 02:27:47) which caused the error above here
We also have a very long audio file uploaded here (10h+ long, mostly silence), which you could perhaps use if the file above does not reproduce the issue.
We have been using your library for a while, and didn't observe any of these issues prior to switching over to the
large-v3-turbo
model and using the latest version of the library. Any ideas?Thanks again for all your fantastic work here!
The text was updated successfully, but these errors were encountered: