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

Diarization Causes High System Memory Usage #1819

Open
agorman opened this issue Dec 22, 2024 · 0 comments
Open

Diarization Causes High System Memory Usage #1819

agorman opened this issue Dec 22, 2024 · 0 comments

Comments

@agorman
Copy link

agorman commented Dec 22, 2024

Tested versions

pyannote.audio 3.1.1
pyannote.core 5.0.0
pyannote.database 5.1.0
pyannote.metrics 3.2.1
pyannote.pipeline 3.0.1

System information

Rocky Linux 9 - NVIDIA GeForce GTX 1070 - 16GB system RAM

Issue description

I'm seeing very high memory usage when performing diarization on a long audio file (4 hours). The process uses around 12GB of RAM at the end of the embeddings phase. Diarization detects around 50 speakers with this audio.

This isn't necessarily a bug but I'm looking for suggestions or solutions to mitigate the issue.

The colab MRE will run out of memory at the end of the embeddings phase but can be used to demonstrate the issue.

Minimal reproduction example (MRE)

https://colab.research.google.com/gist/agorman/38ef94e8b4ae7fd3fef474e49c5b212a/mre_template.ipynb

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