Skip to content

WhisperX | Memory leak over time. #972

@OPPEYRADY

Description

@OPPEYRADY

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions