chidiwilliams / buzz

Buzz transcribes and translates audio offline on your personal computer. Powered by OpenAI's Whisper.
https://chidiwilliams.github.io/buzz
MIT License
11.85k stars 888 forks source link

unknown error occurred in faster whisper #849

Open cyhycf opened 1 month ago

cyhycf commented 1 month ago

buzz 1.0.1 windows gpu ram 6g cuda 12.5 Systran/faster-whisper-large-v3 can work on other projects

Tested faster whisper by import file and found unknown errors in both large-v3 large-v2 and medium models

file_transcriber.run:61 ERROR -> 
Traceback (most recent call last):
  File "buzz\transcriber\file_transcriber.py", line 59, in run
  File "buzz\transcriber\whisper_file_transcriber.py", line 80, in transcribe
Exception: Unknown error

In addition, besides the large-v3 model, it will be downloaded from guillaumekln and Systran to Buzz and huggingface cache directory twice

raivisdejus commented 1 month ago

There was a defect where Buzz crashed if "Detect language" was selected. I think you may be getting this case. Try selecting what language to transcribe.

Code-1123 commented 1 month ago

The same thing happened to me

raivisdejus commented 1 month ago

@cyhycf @Code-1123 An issue with faster whisper model was fixed. Please test latest development version https://github.com/chidiwilliams/buzz/actions/runs/10211346492 You need to log into github to see the artifacts section with installation files.

raivisdejus commented 1 month ago

Faster whisper does not work on CUDA enabled Windows systems. The very latest development versions will not try to use GPU / CUDA on Windows for faster whisper, but it should work with CPU. Get the latest version from https://github.com/chidiwilliams/buzz/actions?query=branch%3Amain or wait for release 1.0.2.

Regular Whisper and Huggingface whisper should work also on Windows. See this note on enabling CUDA support on Windows https://github.com/chidiwilliams/buzz/blob/main/CONTRIBUTING.md#gpu-support