whisper报错:UserWarning: FP16 is not supported on CPU; using FP32 instead

报错:

PS D:\> whisper.exe .\dz.wav --language en --model medium
C:\xxPython310\lib\site-packages\whisper\transcribe.py:114: UserWarning: FP16 is not supported on CPU; using FP32 instead
  warnings.warn("FP16 is not supported on CPU; using FP32 instead")

这个报错说的是whisper要使用cpu,而你音频是fp16的,cpu不支持。

要点在于如何解决为什么whisper没使用GPU

应该是搞别的时候把torch给搞成cpu版本的了。

解决方法

按照这个方式在装一下就好了
https://pytorch.org/

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
社会演员多的头像社会演员多普通用户
上一篇 2023年12月11日
下一篇 2023年12月11日

相关推荐