-
Notifications
You must be signed in to change notification settings - Fork 537
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 operator 'aten::isin.Tensor_Tensor_out' is not currently implemented for the MPS device.
while running on macOS
#225
Comments
same |
Same for me, how can I solve this? @Vaibhavs10 |
+1 |
Running this:
|
Sorry for the delay in responding to this, given the current constraints of requirements, AFAIK we'll need to wait for the next stable torch version release (which should be soon). |
On pytorch nightly build 2.4.0, this bug is fixed. |
I ran
And reattempted but still encountered this error |
I got this working within miniconda ( https://docs.anaconda.com/miniconda/miniconda-install/ ) -- conda create -n insane-whisper python=3.12 -y
conda activate insane-whisper
pip3 uninstall torch torchvision torchaudio
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
pip3 install insanely-fast-whisper Now it works well within this conda env. Note that even though I also still have it installed outside of conda, within conda the correct version will be run: $ which -a insanely-fast-whisper
~/miniconda3/envs/insane-whisper/bin/insanely-fast-whisper
~/.local/bin/insanely-fast-whisper |
This error used to happen for me on macOS, but I just retried it, and it seems to work fine now. I was/am running the following command:
I'm running insanely-fast-whisper 0.0.15, but I'm not sure what version I was running when it failed. That said, while it is indeed running on the GPU, it's still slightly slower than whisper.cpp with large-v3. Not sure if that means that something's going wrong. |
and using
PYTORCH_ENABLE_MPS_FALLBACK=1
cause very slow performance:
The text was updated successfully, but these errors were encountered: