How can I switch from FP16 to FP32 in the code to avoid the warning? #301
-
Using Whisper in Python 3.7 (via PyCharm) on my Mac running Catalina (version 10.15.7), I get this warning: UserWarning: FP16 is not supported on CPU; using FP32 instead What should I adapt in the code to force FP32 and avoid this warning? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 14 replies
-
|
Beta Was this translation helpful? Give feedback.
-
So I faced both of the issues
and that's Solved both of the issues. |
Beta Was this translation helpful? Give feedback.
-
id also like a solution, windows and i'm using python |
Beta Was this translation helpful? Give feedback.
fp16=False
in Python and--fp16 False
in the command line. I realize this is a nuisance and should make fp32 the default on CPU without warning.