flowtron icon indicating copy to clipboard operation
flowtron copied to clipboard

Training on a smaller GPU?

Open brentcty-2020 opened this issue 5 years ago • 2 comments

Hi, is there anyway to train this on a smaller GPU setup for us mere mortals? On a 8G 2070 with a batch size set to 1, it still seems to run out of memory.

Thanks for any help.

brentcty-2020 avatar Apr 30 '21 16:04 brentcty-2020

I have to add this to the training loop to get it to fit on my 24G card (dataset dependant):

if txt.size(1) <= 1 or txt.size(1) > 550:
    continue

This essentially skips data with long utterances.

deepglugs avatar May 27 '21 17:05 deepglugs

It is less likely to face this issue when training from scratch, but also you can remove any utterance that is longer than 6 seconds.

Muhyzater avatar Jul 29 '21 09:07 Muhyzater