Skip to content
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

Fix Stream Generator on MacOS #3792

Closed
wants to merge 187 commits into from

Conversation

gravityrail
Copy link

@gravityrail gravityrail commented Jun 14, 2024

Quick fix for streaming responses on macOS. It was crashing somewhere in pytorch. Unfortunately I can't find the original post where I found this patch to give credit - too many tabs open! But it works for me.

For this to work, you must run with PYTORCH_ENABLE_MPS_FALLBACK=1 and call model.to(mps_device) on the XttsModel

akx and others added 30 commits December 13, 2023 14:46
Import sorting now handled by ruff.
There is nothing in the repo that would refer to them

[ci skip]
The repository requires Python>=3.9, so this is obsolete.
eginhard and others added 27 commits June 25, 2024 23:03
Already exist as:
TTS.tts.layers.vits.stochastic_duration_predictor.DilatedDepthSeparableConv
TTS.tts.layers.vits.stochastic_duration_predictor.ElementwiseAffine
Made automatically with:
rg "from TTS.utils.io import load_fsspec" --files-with-matches | xargs sed -i 's/from TTS.utils.io import load_fsspec/from trainer.io import load_fsspec/g'
All uses of these methods were replaced with the equivalents from coqui-tts-trainer
Update to coqui-tts-trainer 0.1.4
docs(xtts): fix typo in example
Copy link

stale bot commented Aug 30, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels.

@stale stale bot added the wontfix This will not be worked on but feel free to help. label Aug 30, 2024
@stale stale bot closed this Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on but feel free to help.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants