No apple support for multilingual?
Closed this issue · 2 comments
AydinChavez commented
When using
model = ChatterboxMultilingualTTS.from_pretrained(device="mps")
I get error:
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
Is mps not supported for multilingual module? If yes, why?
Btw, I also get this same error when using
model = ChatterboxMultilingualTTS.from_pretrained(device="cpu")
on my MacBook Pro
mschmidm commented
It is working, but you need to adapt the example_for_mac.py file which contains a patch for the bug you encountered.
AydinChavez commented
thanks @mschmidm - it works!