Skip to content
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

WhisperX | Memory leak over time. #972

Open
OPPEYRADY opened this issue Jan 2, 2025 · 0 comments
Open

WhisperX | Memory leak over time. #972

OPPEYRADY opened this issue Jan 2, 2025 · 0 comments

Comments

@OPPEYRADY
Copy link

OPPEYRADY commented Jan 2, 2025

WSL anaconda Ubuntu | Python 3.10 (Also did the same thing on windows as well it seems)

It seems either when whisperx is ran for extended periods each inference adds a VERY slight increase to current vram, it however seems to keep building and building till eventually it reaches up to 20+ gigs and inference comes to a crawl on my 4090, I only noticed this because of how extensive my program runs in the background.

So far I've been bandaiding around it by restarting the python server over X times or over time to release the memory as other memory releasing commands don't seem to work, but it would be nice if this can be looked into on the development branch.

After around 1000ish or so generations with V3 I started to notice it.

@OPPEYRADY OPPEYRADY changed the title Noticed that over long period of times, the vram for whisperx will slowly trickle up till it slows down. Noticed that over long period of times, the vram for whisperx will slowly trickle up till it bogs down the inference. Jan 3, 2025
@OPPEYRADY OPPEYRADY changed the title Noticed that over long period of times, the vram for whisperx will slowly trickle up till it bogs down the inference. WhisperX | Memory leak over time. Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant