-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Assert that output could only be the last node of the FX graph #114973
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
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/114973
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 2344170 with merge base 6f32eb7 ( 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. |
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.
LGTM!
|
Apparently we don't call |
|
@suo let me do that as follow up on this PR. If I were to add lint compile_fx in inductor, @Chillee you mentioned the perf problems. So what would be a good way to add this? One option is to add it under an inductor config flag and only enable this flag by default on tests (is there a way to do this?) Any alternatives? |
|
We currently call it here most often I think: https://github.com/pytorch/pytorch/blob/main/torch/_functorch/partitioners.py#L104 |
Are you suggesting that is enough? |
|
Yeah I think so. |
|
@pytorchbot merge |
Merge startedYour 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 |
|
@pytorchbot revert -m="Diff broke internal tests" -c="ghfirst" |
|
@pytorchbot successfully started a revert job. Check the current status here. |
|
@oulgen your PR has been successfully reverted. |
#114973)" This reverts commit a85df9e. Reverted #114973 on behalf of https://github.com/atalman due to Diff broke internal tests ([comment](#114973 (comment)))
|
Merged again as #115179 |
…ch#114973) Pull Request resolved: pytorch#114973 Approved by: https://github.com/Chillee
pytorch#114973)" This reverts commit a85df9e. Reverted pytorch#114973 on behalf of https://github.com/atalman due to Diff broke internal tests ([comment](pytorch#114973 (comment)))
Stack from ghstack (oldest at bottom):