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

training speed #14

Open
jianpursuit opened this issue Jan 22, 2022 · 1 comment
Open

training speed #14

jianpursuit opened this issue Jan 22, 2022 · 1 comment

Comments

@jianpursuit
Copy link

Thank you for your contribution.
I found that the training is slower when using multi-gpus (e.g., 8 gpus) than single gpu. Do you know why is it and how to speed up the training process?

@KaiyangZhou
Copy link
Owner

using DistributedDataParallel can gain a significant increase in the speed but this would require big changes to the underlying Dassl package

my bad, I didn't consider DistributedDataParallel when designing Dassl

so for this CoOp code I'd highly suggest you use a single gpu

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