-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
By default, the train code runs on only 1 GPU. How can make it run on multiple GPUs?
I tried wrapping the frame_predictor, posterior and prior modules with DataParallel. Then I got the error, No such attribute init_hidden for DataParallel. So, I changed frame_predictor.init_hidden() to frame_predictor.module.init_hidden(). Then I got the error something like, trying to do backward a second time. Graph not saved.
Is it possible to make the code run on multiple GPUs?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels