Replies: 4 comments
-
Same problem here. I've tried all versions of cuda but no help. Currently using it with CPU only. |
Beta Was this translation helpful? Give feedback.
-
I had a similar problem on Windows 11 using WSL2 ubuntu on a RTX3080 10GB:
But following the error message's suggestion, I installed a newer version of PyTorch from here by selecting Stable > Windows > Pip > Python > CUDA 11.6 and running After that whisper was running on the GPU just fine. |
Beta Was this translation helpful? Give feedback.
-
Hey try this. This will use fp32 model instead of the default fp16 which I read that is not that good with GTX series. |
Beta Was this translation helpful? Give feedback.
-
i tried using with "cuda" that i got the same problem you facing with. I added "fp16=False" in this code |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
Am able to run on cpu on ipynb with this code.
However when I try to run it with cuda, I get this error:
ValueError: Expected parameter logits (Tensor of shape (1, 51865)) of distribution Categorical(logits: torch.Size([1, 51865])) to satisfy the constraint IndependentConstraint(Real(), 1), but found invalid values:
tensor([[nan, nan, nan, ..., nan, nan, nan]], device='cuda:0')
Any help? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions