Skip to content

Conversation

desertfire
Copy link
Contributor

@desertfire desertfire commented Oct 15, 2024

Summary: The ABI-compatible mode has been turned on as default in #136534. Removing the non-ABI-compatible logic to greatly simplify the wrapper codegen logic.

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Oct 15, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 1d0fe67 with merge base 966a1a9 (image):
💚 Looks good so far! There are no failures yet. 💚

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

Summary: The ABI-compatible mode has been turned on as default in #136534. Removing the non-ABI-compatible logic to greatly simplify the wrapper codegen logic.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames chauhang

[ghstack-poisoned]
desertfire added a commit that referenced this pull request Oct 15, 2024
Summary: The ABI-compatible mode has been turned on as default in #136534. Removing non-ABI-compatible code to greatly simplify the wrapper codegen logic.

ghstack-source-id: fe9ebe4
Pull Request resolved: #138009
Summary: The ABI-compatible mode has been turned on as default in #136534. Removing the non-ABI-compatible logic to greatly simplify the wrapper codegen logic.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames chauhang

[ghstack-poisoned]
@desertfire desertfire added release notes: inductor topic: new features topic category topic: devs Developer feature and removed topic: new features topic category labels Oct 16, 2024
@desertfire
Copy link
Contributor Author

@desertfire has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Summary: The ABI-compatible mode has been turned on as default in #136534. Removing the non-ABI-compatible logic to greatly simplify the wrapper codegen logic.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames chauhang

Differential Revision: [D64439676](https://our.internmc.facebook.com/intern/diff/D64439676)

[ghstack-poisoned]
@desertfire
Copy link
Contributor Author

@desertfire has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@malfet malfet left a comment

Choose a reason for hiding this comment

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

Do you think it might be considered a BC breaking change? Or is aoti still a prototype?

Summary: The ABI-compatible mode has been turned on as default in #136534. Removing the non-ABI-compatible logic to greatly simplify the wrapper codegen logic.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames chauhang

Differential Revision: [D64439676](https://our.internmc.facebook.com/intern/diff/D64439676)

[ghstack-poisoned]
@desertfire desertfire changed the title [AOTI][refactor] Remove the non-ABI-compatible mode [AOTI] Remove the non-ABI-compatible mode (part 1) Oct 16, 2024
@desertfire
Copy link
Contributor Author

@desertfire has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@desertfire
Copy link
Contributor Author

desertfire commented Oct 16, 2024

Do you think it might be considered a BC breaking change? Or is aoti still a prototype?

Are you referring to the fact that I am removing the abi_compatible flag? In general, I don't think we make any BC promise on Inductor control flags.

For the actual AOTI-generated code, there is no BC breakage because any previously generated model.so will continue to run. There is a FC implication, if a user is using an old version of pytorch at the deployment time, but the previous recommendation is to stick with the same version of pytorch for compile and deploy, so FC shouldn't be an issue either.

Copy link
Contributor

@chenyang78 chenyang78 left a comment

Choose a reason for hiding this comment

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

Nice!

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 16, 2024
@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

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

pytorchmergebot pushed a commit that referenced this pull request Oct 17, 2024
Summary: Continue to clean up non-ABI-compatible mode related code.

Differential Revision: [D64444327](https://our.internmc.facebook.com/intern/diff/D64444327)
Pull Request resolved: #138047
Approved by: https://github.com/chenyang78
ghstack dependencies: #137982, #138016, #138009
@github-actions github-actions bot deleted the gh/desertfire/487/head branch November 17, 2024 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants