KoljaB / RealtimeTTS

Converts text to speech in realtime
1.41k stars 120 forks source link

switched multiprocessing to torch.multiprocessing #22

Closed lendot closed 6 months ago

lendot commented 6 months ago

The coqui engine's stock python subprocessing can cause problems when used with software that makes CUDA calls elsewhere (e.g. xtts_api_server). This fix switches from the multiprocessing module over to torch.multiprocessing.

KoljaB commented 6 months ago

Thanks a lot for pointing this out, will do some tests with this approach soon. This looks very promising.