-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The last version of whisper (v20240930) doesn't seem to be supported ('NoneType' object has no attribute 'shape') #212
Comments
Wait, what is your version of whisper-timestamped ? |
OK my bad : your version is visible (1.15.4) and it's latest. OK indeed, if a new version of openai-whisper was released, whisper-timestamped probably need to adapt |
Facing the same issue with: https://huggingface.co/openai/whisper-large-v3
E: Apparently that appears also when using gibberish model name: E: Confused it would be the model that does not work but it was the whisper package version. Pinning to |
❤️ |
With this pinned version of openai-whisper I can use the new turbo large v3 model. Running on mac hardware. |
Here's the traceback I received when attempting to use the new turbo model and the Here's the release comparison of 20240930 vs 20240927. The issue looks to be in the decoder - where serious pruning was performed for turbo.
|
The issue is related to patch #2359 which uses A workaround is to use the import whisper_timestamped as whisperts
from whisper.model import disable_sdpa
audio = whisperts.load_audio("AUDIO.wav")
model = whisperts.load_model("turbo")
with disable_sdpa():
results = whisperts.transcribe(model, audio) |
we supposed to not face that issue when you specify your requirements versions |
Thanks a lot @jonasrenault I pushed a workaround based on that, to avoid some people being stucked (sorry for the delay, that was broken for 1 month now ... I have unfortunately much less time now to be active on this whisper-timestamped project) |
When I installed it (from git or with pip), it crashed with:
I had to downgrade whisper library to get it to work:
pip install --upgrade --no-deps --force-reinstall git+https://github.com/openai/whisper.git@v20231117
The text was updated successfully, but these errors were encountered: