shirayu / whispering

Streaming transcriber with whisper
MIT License
685 stars 53 forks source link

FP16-fp32 argument for using --device cpu #76

Closed pierre-guenoun closed 1 year ago

pierre-guenoun commented 1 year ago

Description

Got error : transcriber._set_dtype:35 WARNING -> FP16 is not supported on CPU; using FP32 instead

when running : whispering --language fr --model tiny --device cpu

Would be interesting to add argument --fp16 to make it work on cpu.

Environment is just:

  1. virtualenv -p python38 venv
  2. souce venv/bin/activate
  3. pip install -U git+https://github.com/shirayu/whispering.git@v0.6.5

Thank you very much!

shirayu commented 1 year ago

That is not an error. With --device cpu, FP32 is used.

Because the message was misleading, I updated the messages at 472a02712dab65ef8ef0ff876d6ecdfb6dd50af2 and published as v0.6.6.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 21 days with no activity.