-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Fix passing _ddp_params_and_buffers_to_ignore #11949
Fix passing _ddp_params_and_buffers_to_ignore #11949
Conversation
b366f2c
to
00ab80b
Compare
I guess I should update the CHANGELOG -> should I add the comment under the version |
@Honzys nice You can add the changelog under the 1.6.0 "Fixed" section. Your branch should target master, no further action required :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solid fix!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! Once the changelog gets updated, LGTM!
00ab80b
to
6044a02
Compare
I've just updated the |
When wrapping the LightningModule with some wrapper classes, names of the params and buffers to ignore should be prefixed with the name of the variable to which is the LightningModule assigned.
6044a02
to
e1bef09
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
Summary: ### New commit log messages - [c877d54c0 Fix passing _ddp_params_and_buffers_to_ignore (#11949)](Lightning-AI/pytorch-lightning#11949) Reviewed By: daniellepintz Differential Revision: D34576812 fbshipit-source-id: 33f3677329d333acd049f673da67d6d9a509d152
What does this PR do?
When wrapping the LightningModule with some wrapper
classes, names of the params and buffers to ignore
should be prefixed with the name of the variable to which
is the LightningModule assigned.
Fixes #11844
Does your PR introduce any breaking changes? If yes, please list them.
I hope not.
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃