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 training #2

Open
feriorior opened this issue Dec 8, 2023 · 1 comment
Open

Multi-GPU training #2

feriorior opened this issue Dec 8, 2023 · 1 comment

Comments

@feriorior
Copy link

Thanks to the author for this excellent benchmark!
When I try to change the GPU devices setting, I get the following error:

RuntimeError: It looks like your LightningModule has parameters that were not used in producing the loss returned by training_step. If this is intentional, you must enable the detection of unused parameters in DDP, either by setting the string valuestrategy='ddp_find_unused_parameters_true'or by setting the flag in the strategy withstrategy=DDPStrategy(find_unused_parameters=True).

It might be some parameter just used for forward but not backward, which might result in this error.

@mengdaxu
Copy link
Collaborator

mengdaxu commented Dec 9, 2023

Thank you for your feedback. We appreciate your interest in our benchmark. As of now, we haven't experimented with multi-GPU training. We will investigate this issue.

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