Closed killianeletellier closed 4 months ago
Hey, Yes.
It needs to add PYTORCH_ENABLE_MPS_FALLBACK=1
as an environment variable, but the diarization is more than 100 times faster.
then you have to set that environment variable in python script
import os
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
commit this change and i will merge.
Oh, yes ! You're right !
I added it locally, but it seems like it committed too soon !
seems all good. Thank you for contributing!!
This pull request adds MPS support to the diarization process. It makes this step of the execution much faster on Apple Silicon Macs.