sandrohanea / whisper.net

Whisper.net. Speech to text made simple using Whisper Models
MIT License
512 stars 78 forks source link

How do you do it faster? #91

Closed yakovw closed 10 months ago

yakovw commented 1 year ago

I'm looking for ways to make the transcription faster? This library is excellent and I really enjoy it, but the transcription takes me a long time. I have a powerful CPU And a powerful GPU And still it's very slow, it doesn't use at all the CPU it could use, certainly not the GPU Is there a way I can make it work faster?

Van-Dame commented 1 year ago

I found that using .WithSpeedUp2x() and .WithThreads(16) speeds up transcribing by ~3x. YMMV though.

sandrohanea commented 10 months ago

Closing as a duplicate of https://github.com/sandrohanea/whisper.net/issues/89