Skip to content

fix: Add map_location to torch.load for Mac M1/MPS support#407

Open
devbyteai wants to merge 1 commit intoresemble-ai:masterfrom
devbyteai:fix/mac-m1-torch-load
Open

fix: Add map_location to torch.load for Mac M1/MPS support#407
devbyteai wants to merge 1 commit intoresemble-ai:masterfrom
devbyteai:fix/mac-m1-torch-load

Conversation

@devbyteai
Copy link

torch.load() calls in mtl_tts.py were missing map_location parameter, causing RuntimeError when loading CUDA-saved models on Mac M1/MPS devices.

Fixes #85

torch.load() calls in mtl_tts.py were missing map_location parameter,
causing RuntimeError when loading CUDA-saved models on Mac M1/MPS devices.

Fixes resemble-ai#85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

torch.load() Issue on Mac | M1 Pro

1 participant