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

Discussão em 'Python' iniciado por Stack, Maio 1, 2025.

  1. Stack

    Stack Membro Participativo

    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.

    Continue reading...

Compartilhe esta Página