-
Notifications
You must be signed in to change notification settings - Fork 24.9k
allow check_input_alias_and_mutation_return_outputs to take FunctionalTensor input #154648
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
Conversation
…lTensor input [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/154648
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 38 New Failures, 1 Unrelated FailureAs of commit 24d2700 with merge base 1258aac ( NEW FAILURES - The following jobs have failed:
UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…e FunctionalTensor input" [ghstack-poisoned]
…e FunctionalTensor input" [ghstack-poisoned]
( | ||
_, | ||
_, | ||
_, | ||
mutated_inputs, | ||
outputs, | ||
) = check_input_alias_and_mutation_return_outputs(gm, operands) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have some explanation about why this is better? I don't have a good sense of what we're doing here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is required by cond tests that does make_fx(torch.func.functionalize(cond)), where we want to gen_schema for cond. Yeah, the PR lacks some context. I'll merge it with the auto_functionalize cond pr.
…e FunctionalTensor input" [ghstack-poisoned]
Not needed anymore |
Stack from ghstack (oldest at bottom):