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

Multi GPU problem #17

Open
zsgj-Xxx opened this issue Jul 6, 2021 · 4 comments
Open

Multi GPU problem #17

zsgj-Xxx opened this issue Jul 6, 2021 · 4 comments

Comments

@zsgj-Xxx
Copy link

zsgj-Xxx commented Jul 6, 2021

Hi I think I'm having a new problem I've compared Ranger with Ranger 21 on a fine-grained dataset, but Ranger 21's results are much worse than Ranger's. I do get exciting results on my own computer, but the results on a multi-card server are poor. Do you know why?

Ranger
net_top11

Ranger21
net_top1

@zsgj-Xxx
Copy link
Author

zsgj-Xxx commented Jul 6, 2021

All the settings are the same except for the optimizer

@lessw2020
Copy link
Owner

Hi @zsgj-Xxx,
Thanks for opening the issue. We have not had a chance to test Ranger21 out on multi-gpu yet, but for sure some aspects of it need to be adjusted in order to run properly (primarily b/c Ranger21 includes an lr scheduler internally), so performance will not be good on multi-gpu vs single gpu.
Ranger (original Ranger) should operate w/o issue on multi-gpu and that's reflected in part by the better perf for multi-gpu here.
I'm finishing up some testing on a new feature for Ranger21 today and then will try to setup a multi-gpu scenario to get it optimized for handling this.
I'll leave this issue open for now to track it.
Thanks!

@ryanstout
Copy link

@lessw2020 Great project, thanks for all of the hard work on it! I'm seeing similar issues. Interestingly, when switching to multiple gpu's (even multiplying the LR by the number of GPU's), the loss doesn't drop any faster. (Steps or wall time). Any ideas on why that would be? Thanks!

@rsomani95
Copy link

Hey @lessw2020, Curious if you had a chance to work on this further? :)

@ryanstout This discussion is probably of interest to you: #4 (reply in thread)

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

4 participants