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.DiarizationPipeline load long time #924

Open
smallpize opened this issue Nov 20, 2024 · 0 comments
Open

whisperx.DiarizationPipeline load long time #924

smallpize opened this issue Nov 20, 2024 · 0 comments

Comments

@smallpize
Copy link

smallpize commented Nov 20, 2024

Recently, I used whisperx.DiarizationPipeline(use_auth_token=hf_token, device='cuda') , and it took a long time to load, longer than you can imagine. At the same time, I used the speaker-diarization-3.1 example on huggingface: Pipeline.from_pretrained("pyannote/speaker-diarization-3.1",use_auth_token="TOKEN"), and found the same problem, 8 cores cpu use 800%, this is the problem I ran on the RTX4090 server, the CPU uses AuthenticAMD.
I checked related issues and didn't know if it was a CPU compatibility issue or a pyannote version issue. Finally, after upgrading pyannote.audio==3.1.1 to pyannote.audio==3.3.2, the loading time became normal, but it still felt longer than the previous test. The CPU usage was still very high, but the previous warning reports were almost gone.

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