Skip to content

Conversation

@samdow
Copy link
Contributor

@samdow samdow commented Oct 31, 2022

Summary:
X-link: meta-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

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 31, 2022

🔗 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 Failures

As of commit 259e061:
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D40801899

Copy link
Collaborator

@albanD albanD left a 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
Copy link
Collaborator

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? :(

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 31, 2022
samdow added a commit to samdow/torchrec that referenced this pull request Nov 1, 2022
Summary:
X-link: pytorch/pytorch#88090

Pull Request resolved: meta-pytorch#759

Since the remove_duplicate flag was added to named_buffers in D39493161 (meta-pytorch@672d105), this adds the same flag to named_parameters

Differential Revision: D40801899

fbshipit-source-id: 083fc56e1b8064faf59e2ce4695741dfc150a5d5
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D40801899

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D40801899

samdow added a commit to samdow/pytorch that referenced this pull request Nov 1, 2022
Summary:
Pull Request resolved: pytorch#88090

X-link: meta-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
samdow added a commit to samdow/torchrec that referenced this pull request Nov 1, 2022
Summary:
X-link: pytorch/pytorch#88090

Pull Request resolved: meta-pytorch#759

Since the remove_duplicate flag was added to named_buffers in D39493161 (meta-pytorch@672d105), this adds the same flag to named_parameters

Differential Revision: D40801899

fbshipit-source-id: 8676b5e5074924708f85d153cff7d20096a8c7a2
samdow added a commit to samdow/pytorch that referenced this pull request Nov 1, 2022
Summary:
Pull Request resolved: pytorch#88090

X-link: meta-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
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D40801899

samdow added a commit to samdow/torchrec that referenced this pull request Nov 7, 2022
Summary:
X-link: pytorch/pytorch#88090

Pull Request resolved: meta-pytorch#759

Since the remove_duplicate flag was added to named_buffers in D39493161 (meta-pytorch@672d105), this adds the same flag to named_parameters

Reviewed By: albanD

Differential Revision: D40801899

fbshipit-source-id: 4b537c942650cbcbdfac57ba54040bbd2c0e29f7
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D40801899

samdow added a commit to samdow/pytorch that referenced this pull request Nov 7, 2022
Summary:
Pull Request resolved: pytorch#88090

X-link: meta-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
samdow added a commit to samdow/torchrec that referenced this pull request Nov 7, 2022
Summary:
X-link: pytorch/pytorch#88090

Pull Request resolved: meta-pytorch#759

Since the remove_duplicate flag was added to named_buffers in D39493161 (meta-pytorch@672d105), this adds the same flag to named_parameters

Reviewed By: albanD

Differential Revision: D40801899

fbshipit-source-id: 726ea2fd62dda164d0bd7616a85ce7eb1d473507
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D40801899

samdow added a commit to samdow/torchrec that referenced this pull request Nov 7, 2022
Summary:
X-link: pytorch/pytorch#88090

Pull Request resolved: meta-pytorch#759

Since the remove_duplicate flag was added to named_buffers in D39493161 (meta-pytorch@672d105), this adds the same flag to named_parameters

Reviewed By: albanD

Differential Revision: D40801899

fbshipit-source-id: 3b195a4c00c38636ccddf7313c0dc3ea976f0ad5
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D40801899

samdow added a commit to samdow/pytorch that referenced this pull request Nov 7, 2022
Summary:
Pull Request resolved: pytorch#88090

X-link: meta-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
samdow added a commit to samdow/torchrec that referenced this pull request Nov 7, 2022
Summary:
X-link: pytorch/pytorch#88090

Pull Request resolved: meta-pytorch#759

Since the remove_duplicate flag was added to named_buffers in D39493161 (meta-pytorch@672d105), this adds the same flag to named_parameters

Reviewed By: albanD

Differential Revision: D40801899

fbshipit-source-id: 2adc53cebb5658c639b429bab24d69a106959ff6
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D40801899

samdow added a commit to samdow/pytorch that referenced this pull request Nov 7, 2022
Summary:
Pull Request resolved: pytorch#88090

X-link: meta-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
Summary:
Pull Request resolved: pytorch#88090

X-link: meta-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
samdow added a commit to samdow/torchrec that referenced this pull request Nov 8, 2022
Summary:
X-link: pytorch/pytorch#88090

Pull Request resolved: meta-pytorch#759

Since the remove_duplicate flag was added to named_buffers in D39493161 (meta-pytorch@672d105), this adds the same flag to named_parameters

Reviewed By: albanD

Differential Revision: D40801899

fbshipit-source-id: 89ab659ebdc2f916e62609f6e793d426b3a4518b
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D40801899

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

facebook-github-bot pushed a commit to meta-pytorch/torchrec that referenced this pull request Nov 9, 2022
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
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

lequytra pushed a commit to lequytra/torchrec that referenced this pull request Dec 6, 2022
Summary:
X-link: pytorch/pytorch#88090

Pull Request resolved: meta-pytorch#759

Since the remove_duplicate flag was added to named_buffers in D39493161 (meta-pytorch@672d105), this adds the same flag to named_parameters

Reviewed By: albanD

Differential Revision: D40801899

fbshipit-source-id: 5318259adc6e3c487ccd95aeefecf0a02a1ce79d
kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Dec 10, 2022
…orch#88090)

Summary:
X-link: meta-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
@zou3519 zou3519 added module: bc-breaking Related to a BC-breaking change topic: bc breaking topic category labels Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request fb-exported Merged module: bc-breaking Related to a BC-breaking change release notes: nn release notes category topic: bc breaking topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants