Skip to content

[dynamo] Simplify two methods in ConstDictVariable #159361

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

Open
wants to merge 4 commits into
base: gh/rec/160/base
Choose a base branch
from

Conversation

rec
Copy link
Collaborator

@rec rec commented Jul 29, 2025

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Jul 29, 2025

🔗 Helpful Links

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

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

✅ No Failures

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

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

rec added a commit that referenced this pull request Jul 29, 2025
ghstack-source-id: d01deb7
Pull Request resolved: #159361
@rec rec added better-engineering Relatively self-contained tasks for better engineering contributors topic: not user facing topic category labels Jul 29, 2025
@rec rec marked this pull request as ready for review July 30, 2025 09:17
@rec rec requested a review from anijain2305 July 30, 2025 09:18
@rec
Copy link
Collaborator Author

rec commented Jul 30, 2025

@anijain2305: near-trivial change that simplifies and probably speeds up ConstDictVariable.len and ConstDictVariable.has_new_items.

@rec
Copy link
Collaborator Author

rec commented Aug 5, 2025

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request Aug 5, 2025
ghstack-source-id: 236597b
Pull Request resolved: #159361
@pytorchmergebot
Copy link
Collaborator

Successfully rebased gh/rec/160/orig onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via ghstack checkout https://github.com/pytorch/pytorch/pull/159361)

[ghstack-poisoned]
rec added a commit that referenced this pull request Aug 6, 2025
ghstack-source-id: f875479
Pull Request resolved: #159361
[ghstack-poisoned]
rec added a commit that referenced this pull request Aug 11, 2025
ghstack-source-id: 9deeeb3
Pull Request resolved: #159361
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
better-engineering Relatively self-contained tasks for better engineering contributors ciflow/inductor module: dynamo open source topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants