Skip to content

Conversation

swolchok
Copy link
Contributor

@swolchok swolchok commented Aug 22, 2025

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Aug 22, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/161235

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 1451188 with merge base a85711d (image):
💚 Looks good so far! There are no failures yet. 💚

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

swolchok added a commit that referenced this pull request Aug 22, 2025
`self is other` means the same thing as `id(self) == id(other)`, but it's one operator instead of 3.


ghstack-source-id: 119f9da
Pull-Request: #161235
@pytorch-bot pytorch-bot bot added the oncall: distributed Add this issue/PR to distributed oncall triage queue label Aug 22, 2025
@swolchok swolchok added the topic: not user facing topic category label Aug 22, 2025
@swolchok swolchok requested review from fduwjj, wanchaol and wz337 and removed request for fduwjj August 22, 2025 16:14
[ghstack-poisoned]
@pytorchmergebot
Copy link
Collaborator

Starting merge as part of PR stack under #161285

pytorchmergebot pushed a commit that referenced this pull request Aug 25, 2025
…161240)

get_write_alias() call count reduction explained briefly in code comment.

We don't need to check write_aliases against None in the final outs_to_return calculation because we just did that check.
Pull Request resolved: #161240
Approved by: https://github.com/wconstab
ghstack dependencies: #161231, #161234, #161235
pytorchmergebot pushed a commit that referenced this pull request Aug 25, 2025
…ly_alias_match (#161284)

Containers are truthy iff they're non-empty.
Pull Request resolved: #161284
Approved by: https://github.com/Skylion007, https://github.com/wconstab
ghstack dependencies: #161231, #161234, #161235, #161240
pytorchmergebot pushed a commit that referenced this pull request Aug 25, 2025
Drives down the overhead of return_and_correct_storage_aliasing slightly. Hopefully you'll agree it doesn't compromise readability.
Pull Request resolved: #161285
Approved by: https://github.com/wconstab
ghstack dependencies: #161231, #161234, #161235, #161240, #161284
markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
`self is other` means the same thing as `id(self) == id(other)`, but it's one operator instead of 3.

Pull Request resolved: pytorch#161235
Approved by: https://github.com/wconstab, https://github.com/zpcore, https://github.com/fduwjj
ghstack dependencies: pytorch#161231, pytorch#161234
markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
…ytorch#161240)

get_write_alias() call count reduction explained briefly in code comment.

We don't need to check write_aliases against None in the final outs_to_return calculation because we just did that check.
Pull Request resolved: pytorch#161240
Approved by: https://github.com/wconstab
ghstack dependencies: pytorch#161231, pytorch#161234, pytorch#161235
markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
…#161285)

Drives down the overhead of return_and_correct_storage_aliasing slightly. Hopefully you'll agree it doesn't compromise readability.
Pull Request resolved: pytorch#161285
Approved by: https://github.com/wconstab
ghstack dependencies: pytorch#161231, pytorch#161234, pytorch#161235, pytorch#161240, pytorch#161284
@github-actions github-actions bot deleted the gh/swolchok/790/head branch September 25, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged oncall: distributed Add this issue/PR to distributed oncall triage queue topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants