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
Whisper-live taking same time on CPU and GPU to transcribe an audio #791
Comments
@prem1303 , hello. FW 0.10.0 is broken tag, could you update FW and Ctranslate2 to latest version (FW 1.0.1 + Ctranslate2 4.2.0 + CUDA 12) ? |
Thanks @trungkienbkhn , |
@prem1303 Could you show your code and attach example audio ? I will try testing them to evaluate throughput. I think you could try using smaller models or distil models to reduce time execution. |
I am using (https://github.com/collabora/WhisperLive) I have set up a client-side application locally and deployed a server.py (server side) on a GPU remote host. connecting the client and server using WebSockets and passing audio files using a Flask API. |
I solved the issues. |
@prem1303 do you use docker to deploy the model? |
I am using whisper-live==0.2.1 , faster-whisper==0.10.0 and Ctranslate2==4.0.0
Transcribing a 30-second audio file currently requires the same amount of time whether processed on a CPU or GPU, approximately 2 minutes. Any guidance on enhancing GPU performance to expedite this task would be greatly valued.
The text was updated successfully, but these errors were encountered: