-
Notifications
You must be signed in to change notification settings - Fork 21.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
[nn] add remove_duplicate flag to named_parameters (#759) #88090
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/88090
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 259e061: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D40801899 |
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.
Sounds good. Just an extra test.
self, | ||
prefix: str = '', | ||
recurse: bool = True, | ||
remove_duplicate: bool = True |
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.
I guess we can't make these kwarg only? :(
Summary: X-link: pytorch/pytorch#88090 Pull Request resolved: pytorch#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@672d105), this adds the same flag to named_parameters Differential Revision: D40801899 fbshipit-source-id: 083fc56e1b8064faf59e2ce4695741dfc150a5d5
This pull request was exported from Phabricator. Differential Revision: D40801899 |
1b49427
to
07c6333
Compare
Summary: Pull Request resolved: pytorch#88090 X-link: pytorch/torchrec#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@c12f829), this adds the same flag to named_parameters Test Plan: python test/test_nn.py -k test_buffers_and_named_buffers OSS Tests Differential Revision: D40801899 fbshipit-source-id: 1b5eb2c4a4b51414256518f648faaff610f78e12
This pull request was exported from Phabricator. Differential Revision: D40801899 |
Summary: Pull Request resolved: pytorch#88090 X-link: pytorch/torchrec#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@c12f829), this adds the same flag to named_parameters Test Plan: python test/test_nn.py -k test_buffers_and_named_buffers OSS Tests Differential Revision: D40801899 fbshipit-source-id: ece48c40c17de93b5e0654ede4574870927fc2f1
07c6333
to
58df794
Compare
Summary: X-link: pytorch/pytorch#88090 Pull Request resolved: pytorch#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@672d105), this adds the same flag to named_parameters Differential Revision: D40801899 fbshipit-source-id: 8676b5e5074924708f85d153cff7d20096a8c7a2
Summary: Pull Request resolved: pytorch#88090 X-link: pytorch/torchrec#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@c12f829), this adds the same flag to named_parameters Test Plan: python test/test_nn.py -k test_buffers_and_named_buffers OSS Tests Differential Revision: D40801899 fbshipit-source-id: 51e8e0b00f8e6ca52f08d0752ab5b5838b74cd50
58df794
to
c00cab8
Compare
This pull request was exported from Phabricator. Differential Revision: D40801899 |
Summary: X-link: pytorch/pytorch#88090 Pull Request resolved: pytorch#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@672d105), this adds the same flag to named_parameters Reviewed By: albanD Differential Revision: D40801899 fbshipit-source-id: 4b537c942650cbcbdfac57ba54040bbd2c0e29f7
This pull request was exported from Phabricator. Differential Revision: D40801899 |
c00cab8
to
38e0475
Compare
Summary: Pull Request resolved: pytorch#88090 X-link: pytorch/torchrec#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@c12f829), this adds the same flag to named_parameters Test Plan: python test/test_nn.py -k test_buffers_and_named_buffers OSS Tests Reviewed By: albanD Differential Revision: D40801899 fbshipit-source-id: 872b28f2f0bfc667ec9065353d4db45c272a8064
Summary: X-link: pytorch/pytorch#88090 Pull Request resolved: pytorch#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@672d105), this adds the same flag to named_parameters Reviewed By: albanD Differential Revision: D40801899 fbshipit-source-id: 726ea2fd62dda164d0bd7616a85ce7eb1d473507
Summary: Pull Request resolved: pytorch#88090 X-link: pytorch/torchrec#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@c12f829), this adds the same flag to named_parameters Test Plan: python test/test_nn.py -k test_buffers_and_named_buffers OSS Tests Reviewed By: albanD Differential Revision: D40801899 fbshipit-source-id: 64b42977ccaf231c03b524d54826e35104c630c9
This pull request was exported from Phabricator. Differential Revision: D40801899 |
38e0475
to
814d756
Compare
Summary: X-link: pytorch/pytorch#88090 Pull Request resolved: pytorch#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@672d105), this adds the same flag to named_parameters Reviewed By: albanD Differential Revision: D40801899 fbshipit-source-id: 3b195a4c00c38636ccddf7313c0dc3ea976f0ad5
This pull request was exported from Phabricator. Differential Revision: D40801899 |
Summary: Pull Request resolved: pytorch#88090 X-link: pytorch/torchrec#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@c12f829), this adds the same flag to named_parameters Test Plan: python test/test_nn.py -k test_buffers_and_named_buffers OSS Tests Reviewed By: albanD Differential Revision: D40801899 fbshipit-source-id: 2553cceecae1f37c544275d9841dff0097494813
814d756
to
d514e41
Compare
Summary: X-link: pytorch/pytorch#88090 Pull Request resolved: pytorch#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@672d105), this adds the same flag to named_parameters Reviewed By: albanD Differential Revision: D40801899 fbshipit-source-id: 2adc53cebb5658c639b429bab24d69a106959ff6
This pull request was exported from Phabricator. Differential Revision: D40801899 |
Summary: Pull Request resolved: pytorch#88090 X-link: pytorch/torchrec#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@c12f829), this adds the same flag to named_parameters Test Plan: python test/test_nn.py -k test_buffers_and_named_buffers OSS Tests Reviewed By: albanD Differential Revision: D40801899 fbshipit-source-id: 99aad6bb4b4876a81a6a92785f3e40a1c006538a
d514e41
to
28ca878
Compare
Summary: Pull Request resolved: pytorch#88090 X-link: pytorch/torchrec#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@c12f829), this adds the same flag to named_parameters Test Plan: python test/test_nn.py -k test_buffers_and_named_buffers OSS Tests Reviewed By: albanD Differential Revision: D40801899 fbshipit-source-id: 163bfd5052c42b9bd87cb35931d9f7be627e3256
Summary: X-link: pytorch/pytorch#88090 Pull Request resolved: pytorch#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@672d105), this adds the same flag to named_parameters Reviewed By: albanD Differential Revision: D40801899 fbshipit-source-id: 89ab659ebdc2f916e62609f6e793d426b3a4518b
This pull request was exported from Phabricator. Differential Revision: D40801899 |
28ca878
to
259e061
Compare
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Summary: X-link: pytorch/pytorch#88090 Pull Request resolved: #759 Since the remove_duplicate flag was added to named_buffers in D39493161 (672d105), this adds the same flag to named_parameters Reviewed By: albanD Differential Revision: D40801899 fbshipit-source-id: 5318259adc6e3c487ccd95aeefecf0a02a1ce79d
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary: X-link: pytorch/pytorch#88090 Pull Request resolved: pytorch#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@672d105), this adds the same flag to named_parameters Reviewed By: albanD Differential Revision: D40801899 fbshipit-source-id: 5318259adc6e3c487ccd95aeefecf0a02a1ce79d
…orch#88090) Summary: X-link: pytorch/torchrec#759 Since the remove_duplicate flag was added to named_buffers in D39493161 (pytorch@c12f829), this adds the same flag to named_parameters Test Plan: python test/test_nn.py -k test_buffers_and_named_buffers OSS Tests Differential Revision: D40801899 Pull Request resolved: pytorch#88090 Approved by: https://github.com/albanD
Summary:
X-link: pytorch/torchrec#759
Since the remove_duplicate flag was added to named_buffers in D39493161 (c12f829), this adds the same flag to named_parameters
Test Plan:
python test/test_nn.py -k test_buffers_and_named_buffers
OSS Tests
Differential Revision: D40801899
cc @ezyang @gchanan