audio
audio copied to clipboard
Updates necessary to WaveRNN training script
- Get rid of
bg_iteratorhttps://github.com/pytorch/audio/blob/a6f9cf8babfb096381e914e23950371478672b3e/examples/pipeline_wavernn/main.py#L13 This is known to slow down the process, and was removed from the library. - Replace
DataParallelwithDistributedDataParallel. https://github.com/pytorch/audio/blob/a6f9cf8babfb096381e914e23950371478672b3e/examples/pipeline_wavernn/main.py#L325DataParallelis officially deprecated and slower thanDistributedDataParallel.
We can replace the training recipe by using PyTorch Lightning which provides ddp as the backend. Then the two issues will be resolved.
We can replace the training recipe by using PyTorch Lightning which provides
ddpas the backend. Then the two issues will be resolved.
That's a good idea. Let's do that.
Addressed via #2645