shirayu/whispering

RuntimeError: "slow_conv2d_cpu" not implemented for 'Half'

fantinuoli opened this issue · 5 comments

Installed correctly on macOS Monterey. Run as indicated in Readme, after the initial prompt "cli.transcribe_from_mic INFO -> Ready to transcribe", talking into mic causes:

RuntimeError: "slow_conv2d_cpu" not implemented for 'Half'

Whisper works correctly in offline modality with CPU.

I fixed this.
If you still have problems, please feel free to reopen this!

Thank you for your swift reply. I see the changes having an effect, however I am still not able to run it. I do not get any reaction. Mic in Terminal is allowed.

(whisper_streaming) fc@Claudios-MacBook-Pro whisper_streaming % poetry run whisper_streaming --language en --model base -n 2 --debug

[2022-09-23 15:07:18,030] transcriber._set_dtype WARNING -> FP16 is not supported on CPU; using FP32 instead
[2022-09-23 15:07:18,030] cli.transcribe_from_mic INFO -> Ready to transcribe
[2022-09-23 15:07:18,073] cli.transcribe_from_mic DEBUG -> Segment: 0
[2022-09-23 15:07:18,498] transcriber.transcribe DEBUG -> seek=0, timestamp=0.0, rest_start=None

@fantinuoli I think -n 2 is too small. How about more bigger value?

I made the issue #3.