Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

whisper AI error : FP16 is not supported on CPU; using FP32 instead

I'm trying to use whisper AI on my computer. I have a NVIDIA GPU RTX 2060, installed CUDA and FFMPEG.

I'm running this code :

import whisper

model = whisper.load_model("medium")
result = model.transcribe("venv/files/test1.mp3")
print(result["text"])

and having issue :

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")

I don't understand why FP16 is not supported since I have a good GPU and everything installed. Any help would be appreciated. Thanks.

I installed all the requirement and I was expecting that whisper AI would use the GPU.

like image 886
athem boukhmayer Avatar asked Dec 07 '25 13:12

athem boukhmayer


1 Answers

You could try this:

result = model.transcribe("venv/files/test1.mp3", fp16=False)

That helps me!

like image 189
Marcos Santa Cruz Avatar answered Dec 09 '25 03:12

Marcos Santa Cruz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!