Open danik9711 opened 1 month ago
Related issue :
According to the comment, it seems that your device SparseMPS
is detected by torch
as some kind of mps, but does not support mps-only API for torch and is causing this problem.
So the device should be used as a just cpu
until the problem is fixed on torch
for your device, SparseMPS
.
Just for information, does this also happen with faster-whipser (default implementation) or only with normal (openai) whisper?
Связанная проблема:
Согласно комментарию , похоже, что ваше устройство
SparseMPS
определяетсяtorch
как некая разновидность mps, но не поддерживает API mps-only для Torch и вызывает эту проблему.Таким образом, устройство следует использовать только
cpu
до тех пор, пока проблема не будетtorch
устраненаSparseMPS
.Просто для информации, происходит ли это также с faster-whipser (реализация по умолчанию) или только с обычным (openai) шепотом?
It's hapening with vanilla whisper only. Faster-whisper work without errors, I tried openai whisper because i received cropped result. For example i upload audio 1 minute length, but result end on 30 seconds
I tried to handle it in #278, but that uses cpu
not mps
.
Can you check the latest version to see if it still happens?
Use Mac OS Sonoma 14.5 I set --whisper_type=whisper and started to get this error: