Skip to content

[dynamo][user_defined] Replace UserFunctionVariable with VariableTracker build#165706

Closed
anijain2305 wants to merge 2 commits intogh/anijain2305/912/basefrom
gh/anijain2305/912/head
Closed

[dynamo][user_defined] Replace UserFunctionVariable with VariableTracker build#165706
anijain2305 wants to merge 2 commits intogh/anijain2305/912/basefrom
gh/anijain2305/912/head

Conversation

@anijain2305
Copy link
Copy Markdown
Contributor

@anijain2305 anijain2305 commented Oct 17, 2025

…ker build

Audit: To prevent future issues with functools.partial or callable
objects.

[ghstack-poisoned]
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Oct 17, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit cf4560d with merge base af4ba78 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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

Copy link
Copy Markdown
Contributor

@Lucaskabela Lucaskabela left a comment

Choose a reason for hiding this comment

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

nit: Maybe include some comment in the code on why we need to use build as opposed to the UserFunctionVariable here for posterity

@Lucaskabela
Copy link
Copy Markdown
Contributor

Otherwise LGTM!

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Starting merge as part of PR stack under #165707

pytorchmergebot pushed a commit that referenced this pull request Oct 17, 2025
#165707)

Audit: To prevent future issues with functools.partial or callable
objects.

Pull Request resolved: #165707
Approved by: https://github.com/Lucaskabela
ghstack dependencies: #165683, #165706
@clee2000
Copy link
Copy Markdown
Contributor

@pytorchbot revert -m "breaking internal tests D84961097" -c ghfirst

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Questions? Feedback? Please reach out to the PyTorch DevX Team

pytorchmergebot added a commit that referenced this pull request Oct 20, 2025
…ker build (#165707)"

This reverts commit 630520b.

Reverted #165707 on behalf of https://github.com/clee2000 due to breaking internal tests D84961097 ([comment](#165706 (comment)))
pytorchmergebot added a commit that referenced this pull request Oct 20, 2025
…ableTracker build (#165706)"

This reverts commit 1dc9a05.

Reverted #165706 on behalf of https://github.com/clee2000 due to breaking internal tests D84961097 ([comment](#165706 (comment)))
@pytorchmergebot
Copy link
Copy Markdown
Collaborator

@anijain2305 your PR has been successfully reverted.

@pytorchmergebot pytorchmergebot added Reverted ci-no-td Do not run TD on this PR labels Oct 20, 2025
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
…ker build (pytorch#165706)

Audit: To prevent future issues with functools.partial or callable
objects.

Pull Request resolved: pytorch#165706
Approved by: https://github.com/Lucaskabela
ghstack dependencies: pytorch#165683
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
pytorch#165707)

Audit: To prevent future issues with functools.partial or callable
objects.

Pull Request resolved: pytorch#165707
Approved by: https://github.com/Lucaskabela
ghstack dependencies: pytorch#165683, pytorch#165706
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
…ker build (pytorch#165707)"

This reverts commit 630520b.

Reverted pytorch#165707 on behalf of https://github.com/clee2000 due to breaking internal tests D84961097 ([comment](pytorch#165706 (comment)))
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
…ableTracker build (pytorch#165706)"

This reverts commit 1dc9a05.

Reverted pytorch#165706 on behalf of https://github.com/clee2000 due to breaking internal tests D84961097 ([comment](pytorch#165706 (comment)))
zhudada0120 pushed a commit to zhudada0120/pytorch that referenced this pull request Oct 22, 2025
…ker build (pytorch#165706)

Audit: To prevent future issues with functools.partial or callable
objects.

Pull Request resolved: pytorch#165706
Approved by: https://github.com/Lucaskabela
ghstack dependencies: pytorch#165683
zhudada0120 pushed a commit to zhudada0120/pytorch that referenced this pull request Oct 22, 2025
pytorch#165707)

Audit: To prevent future issues with functools.partial or callable
objects.

Pull Request resolved: pytorch#165707
Approved by: https://github.com/Lucaskabela
ghstack dependencies: pytorch#165683, pytorch#165706
zhudada0120 pushed a commit to zhudada0120/pytorch that referenced this pull request Oct 22, 2025
…ker build (pytorch#165707)"

This reverts commit 630520b.

Reverted pytorch#165707 on behalf of https://github.com/clee2000 due to breaking internal tests D84961097 ([comment](pytorch#165706 (comment)))
zhudada0120 pushed a commit to zhudada0120/pytorch that referenced this pull request Oct 22, 2025
…ableTracker build (pytorch#165706)"

This reverts commit 1dc9a05.

Reverted pytorch#165706 on behalf of https://github.com/clee2000 due to breaking internal tests D84961097 ([comment](pytorch#165706 (comment)))
…ariableTracker build"

Audit: To prevent future issues with functools.partial or callable
objects.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 22, 2025
…ker build

Audit: To prevent future issues with functools.partial or callable
objects.

ghstack-source-id: 00f2498
Pull Request resolved: #165706
@anijain2305
Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@pytorchmergebot
Copy link
Copy Markdown
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

@github-actions github-actions Bot deleted the gh/anijain2305/912/head branch November 22, 2025 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td Do not run TD on this PR ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged module: dynamo Reverted topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants