Search code examples
speech-recognitiontorchopenai-apiopenai-whisper

OpenAI Whisper hangs/freezes on some audio files


I am experiencing issues with OpenAI's whisper and faster-whisper when processing audio files. Specifically, some of the files fail to fully process and the progress bar freezes, occurring randomly across durations. I suspect this issue may be related to hardware performance, as I am using a mid-range GPU and CPU. I have attempted to fix the issue by breaking the speech recognition into smaller chunks, but the problem persists. Can you suggest any debugging steps or solutions to this issue?


Solution

  • It does not seem to happen when I use CPU mode. Perhaps it's a resource constraint issue.