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
Prevent pattern matches across mutation ops in inductor pre-grad FX passes #101144
Conversation
…asses [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/101144
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 4a5b76f: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…asses ghstack-source-id: 0a6dc2ee0cfb242e13ee46192b758134f332c476 Pull Request resolved: #101144
Running |
That is weird. You could disable this for joint_graph and post_grad, and only turn it on for the pre-grad graph. |
Is there an existing method to do this, or do I just add the mutation check directly to the existing passes in pre_grad.py? |
You would need to add a flag (or a mode). |
…tor pre-grad FX passes" Per #101124 cc soumith voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 desertfire [ghstack-poisoned]
…asses ghstack-source-id: 89b9ae69399b94c1fe6997d69b74ca1ac77a0977 Pull Request resolved: #101144
…tor pre-grad FX passes" Per #101124 cc soumith voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 desertfire [ghstack-poisoned]
…asses ghstack-source-id: fa14b4dbba1739326ba0502f438c93632ab00d00 Pull Request resolved: #101144
Inductor unittests don't seem to be taking substantially longer anymore. |
@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 |
Stack from ghstack (oldest at bottom):
Per #101124
cc @soumith @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @peterbell10 @desertfire