4 ms·
I know this isn't a tech support forum but maybe someone here knows. I'm attempting the sample python code from the github and almost get a transcription runnin
by mewse-hn 4y ago
I know this isn't a tech support forum but maybe someone here knows. I'm attempting the sample python code from the github and almost get a transcription running on my work laptop without a GPU, but I run into this error message:
>>> result = whisper.decode(model, mel, options)
Traceback (most recent call last):
[snip]
RuntimeError: "slow_conv2d_cpu" not implemented for 'Half'
It looks like a Torch error, is there some twiddling with "options" I can do to get it to run?
- ignite 4y agoI am running on work laptop not using GPU. (I'm running in docker). I just get warnings.warn("FP16 is not supported on CPU; using FP32 instead") And it works.
- mewse-hn 4y agoIt seems the cmdline script is smart enough to switch over automatically, but invoking it from python just fails if the correct option isn't set
- mewse-hn 4y agoI seem to have worked around it by tweaking the "options" line from the sample code to this: >>> options = whisper.DecodingOptions(fp16=False)