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

How can I call multiple GPUs during training #4

Open
miaowang525 opened this issue Dec 29, 2021 · 1 comment
Open

How can I call multiple GPUs during training #4

miaowang525 opened this issue Dec 29, 2021 · 1 comment

Comments

@miaowang525
Copy link

Hello @tangjiapeng Your work is great and i am very interested in your article, and I have some questions to ask you.
I have five GPUs, how to call multiple GPUs to run code during training?

@tangjiapeng
Copy link
Owner

Hi, thanks a lot for your interest.

The way to call the multiple GPUs to run the test-time optimization is similar to what we usually do in the multi-GPUs training (i.e. using the torch.nn.DataParallel module).

And if you use multi-GPUs, you can increase the batch size, then you can accelerate the test-time optimization.

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

2 participants