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

question about config under large net like Resnet152 #4

Closed
math-yyj opened this issue Mar 8, 2019 · 2 comments
Closed

question about config under large net like Resnet152 #4

math-yyj opened this issue Mar 8, 2019 · 2 comments

Comments

@math-yyj
Copy link

math-yyj commented Mar 8, 2019

For case like using Resnet-152, one single GPU can not have big batch
I am interseted in

(1)How many P40 GPUs are used when training with Res152,
(2)what is the total batch, and the batch on each GPU
(3)Did you use SyncBN across GPUs?

Many Thanks !

@lijiannuist
Copy link
Contributor

Hi @mathyyj
(1) 2 P40 GPUs when training Res152.
(2) We set Batch size 16, and each GPU has 8 batch.
(3) We did not use SyncBN because we think 8 batch per device is usually large enough to obtain good BN statistics.
However, when we use 32 Batchsize and 4 P40 GPUs, we get better performance. SyncBn maybe work.

@math-yyj
Copy link
Author

math-yyj commented Mar 8, 2019

I see that, Thank you very 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

3 participants