KEMBAR78
[inductor] Cache get_operation_names/get_buffer_names by jansel · Pull Request #135446 · pytorch/pytorch · GitHub
Skip to content

Conversation

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Sep 8, 2024

🔗 Helpful Links

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

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

✅ No Failures

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

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

jansel added a commit that referenced this pull request Sep 8, 2024
ghstack-source-id: 9ba278a
Pull Request resolved: #135446
[ghstack-poisoned]
jansel added a commit that referenced this pull request Sep 8, 2024
ghstack-source-id: 3abf721
Pull Request resolved: #135446
@jansel jansel added the topic: not user facing topic category label Sep 8, 2024
@jansel jansel requested a review from oulgen September 9, 2024 16:20
@jansel jansel marked this pull request as ready for review September 9, 2024 16:20
@jansel jansel added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 9, 2024
@cache_on_self
def get_buffer_names(self) -> OrderedSet[str]:
return OrderedSet(out.get_name() for out in self.outputs)
return OrderedSet([out.get_name() for out in self.outputs])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this optimization actually safe? can't self.outputs change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, they are immutable.

[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request Sep 12, 2024
yushangdi pushed a commit that referenced this pull request Sep 12, 2024
tolleybot pushed a commit to tolleybot/pytorch that referenced this pull request Sep 14, 2024
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Sep 20, 2024
KnAwnime pushed a commit to KnAwnime/Biblioteka that referenced this pull request Oct 16, 2024
@github-actions github-actions bot deleted the gh/jansel/395/head branch October 25, 2024 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants