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

problem #391

Closed
LinpengPan opened this issue Dec 24, 2019 · 2 comments
Closed

problem #391

LinpengPan opened this issue Dec 24, 2019 · 2 comments

Comments

@LinpengPan
Copy link

How to train this network with multiple GPUs?

@jaysonph
Copy link

jaysonph commented Jan 2, 2020

@LinpengPan
I think you can refer to PyTorch website.
A short example taken from there:

net = torch.nn.DataParallel(model, device_ids=[0, 1, 2])
output = net(input_var) # input_var can be on any device, including CPU

@Flova
Copy link
Collaborator

Flova commented Aug 3, 2021

Duplicate of #520

@Flova Flova marked this as a duplicate of #520 Aug 3, 2021
@Flova Flova closed this as completed Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants