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

Model have unused parameters in forward pass #131

Open
wiederm opened this issue May 25, 2024 · 0 comments
Open

Model have unused parameters in forward pass #131

wiederm opened this issue May 25, 2024 · 0 comments

Comments

@wiederm
Copy link
Member

wiederm commented May 25, 2024

Training with PyTorch Lightning and the distributed data parallel strategy requires that all parameters that are used in the forward pass are also involved in the backward pass. While there is a keyword to allow for unused parameters, this slows down training significantly. This is an issue with ANI2x and SAKE.

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

1 participant