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

about multiply GPU training #7

Closed
baojun701 opened this issue Dec 3, 2020 · 1 comment
Closed

about multiply GPU training #7

baojun701 opened this issue Dec 3, 2020 · 1 comment

Comments

@baojun701
Copy link

I modify the CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7, in the train.sh, but it always training by only one GPU, how can I train by multiply GPU?

@wenbowen123
Copy link
Owner

The current code does not support multi-gpu. It needs to be modified for that purpose. However, multi-gpu is not recommended here since currently the batchsize is already around 200. If you want to train faster you can reduce the epochs, e.g. change to 150 or 200. The performance should not hurt much.

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