-
Notifications
You must be signed in to change notification settings - Fork 37
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
Multi-GPU doesn't seem to make much of a difference #11
Comments
hm.. are you looking at the ema checkpoint? at 0.9999 ema it can take more than 10000 steps to see a change this code implements data parallel training. Each gpu should be doing the same thing just with different data. Larger batch sizes allows for larger learning rates, so you should increase the learning rate to see a change. When training using fp16 the multiplier should be about 20 after warmup. If it's lower than that the learning rate is likely too high, if it's higher it's likely too low. |
Thank you for the reply, this clarifies things, I'll increase my dataset size and give this another go. |
Confirmed that everything works as expected and issue was with the size of my dataset. |
How large was it, just wondering |
Not sure if I'm doing something wrong but training on single A100 vs 8xA100 mpiexec -N 8 doesn't seem to change the training speed even though nvidia-smi is showing all of the gpus in use.
When I compare trained models by both of these setups (identical step size) they don't seem to differ.
Is there some configuration option that I missed?
The text was updated successfully, but these errors were encountered: