-
Notifications
You must be signed in to change notification settings - Fork 8
MPS not working #5
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
Comments
My fault, thought in the documentation is written When is it planned to be supported? |
See also: espnet/espnet#4710 Pytorch doesn't support all needed ops on the MPS device (yet). There's also couple of hard coded "cuda" / "cpu" checks in espnet that can be fixed, but I wasn't able to get correct outputs. That might also be due to faulty mps implementations somewhere in pytorch. Due to all the missing ops, inference is slower on MPS than on CPU, so I've given up on it. |
Note that speechcatcher doesn't depend on espnet anymore and uses a new distilled package https://github.com/speechcatcher-asr/espnet_streaming_decoder that only does inference for streaming models. If you want to retry my MPS experiment with a newer pytorch version, you would need to apply the fixes in https://github.com/speechcatcher-asr/espnet/tree/mac_m1_mps to https://github.com/speechcatcher-asr/espnet_streaming_decoder. |
If specify
mps
as my--device
option I get the following error:Python: 3.10.13
Torch: 2.1.2
Speechcatcher: 0.3.1
The text was updated successfully, but these errors were encountered: