Skip to content

Conversation

aorenste
Copy link
Contributor

@aorenste aorenste commented Jan 31, 2025

Adds the ability to run the selected out-of-process fx compile scheme in async mode - where we kick off the compile and then run eagerly until the compile is finished.

Added a test which runs a tiny model in a loop making sure that we execute it both eagerly and then compiled.

Stack from ghstack (oldest at bottom):

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

Differential Revision: D71135546

[ghstack-poisoned]
@aorenste aorenste mentioned this pull request Jan 31, 2025
Copy link

pytorch-bot bot commented Jan 31, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (2 Unrelated Failures)

As of commit 205f3e5 with merge base 224cd9f (image):

UNSTABLE - The following jobs are marked as unstable, possibly due to flakiness on trunk:

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

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

[ghstack-poisoned]
aorenste added a commit that referenced this pull request Jan 31, 2025
ghstack-source-id: 9e79b08
Pull Request resolved: #146135
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 amjames desertfire chauhang aakhundov

[ghstack-poisoned]
aorenste added a commit that referenced this pull request Jan 31, 2025
ghstack-source-id: 38d2b3d
Pull Request resolved: #146135
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 amjames desertfire chauhang aakhundov

[ghstack-poisoned]
aorenste added a commit that referenced this pull request Feb 4, 2025
ghstack-source-id: 172e8d0
Pull Request resolved: #146135
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 amjames desertfire chauhang aakhundov

[ghstack-poisoned]
aorenste added a commit that referenced this pull request Feb 4, 2025
ghstack-source-id: 052cb8a
Pull Request resolved: #146135
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 amjames desertfire chauhang aakhundov

[ghstack-poisoned]
aorenste added a commit that referenced this pull request Mar 7, 2025
ghstack-source-id: 275d88c
Pull Request resolved: #146135
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 amjames desertfire chauhang aakhundov

[ghstack-poisoned]
aorenste added a commit that referenced this pull request Mar 10, 2025
ghstack-source-id: 01e6823
Pull Request resolved: #146135
@aorenste aorenste added the topic: not user facing topic category label Mar 10, 2025
@aorenste aorenste changed the title WIP: async compile async fx compile Mar 11, 2025
@aorenste aorenste marked this pull request as ready for review March 12, 2025 04:09
@aorenste aorenste requested review from jamesjwu, jansel and oulgen March 13, 2025 18:45
@aorenste
Copy link
Contributor Author

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

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Mar 13, 2025
Copy link
Contributor

@jamesjwu jamesjwu left a comment

Choose a reason for hiding this comment

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

Seems fine to me

Adds the ability to run the selected out-of-process fx compile scheme in async mode - where we kick off the compile and then run eagerly until the compile is finished.

Added a test which runs a tiny model in a loop making sure that we execute it both eagerly and then compiled.




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

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

[ghstack-poisoned]
aorenste added a commit that referenced this pull request Mar 17, 2025
ghstack-source-id: 975aea7
Pull Request resolved: #146135
@aorenste
Copy link
Contributor Author

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

@aorenste
Copy link
Contributor Author

@pytorchbot merge

@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

@github-actions github-actions bot deleted the gh/aorenste/214/head branch April 22, 2025 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants