- 
                Notifications
    
You must be signed in to change notification settings  - Fork 25.8k
 
Add JK to enable fx graph cache for amd #130463
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
          
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/130463
 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: ✅ No FailuresAs of commit e7ac602 with merge base 0beeac3 ( This comment was automatically generated by Dr. CI and updates every 15 minutes.  | 
    
| 
           This pull request was exported from Phabricator. Differential Revision: D59593961  | 
    
Summary: Pull Request resolved: #130463 Test Plan: ad hoc testing Differential Revision: D59593961
| 
           This pull request was exported from Phabricator. Differential Revision: D59593961  | 
    
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
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.
Can confirm that this (along with some changes in the user code) reduces torch.compile time in hot cache case on AMD from about 700s to 52s
| 
           @pytorchbot merge -f 'Landed internally' (Initiating merge automatically since Phabricator Diff has merged, using force because this PR might not pass merge_rules.json but landed internally)  | 
    
          Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes).  Please use  Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team  | 
    
Test Plan: ad hoc testing Differential Revision: D59593961 Pull Request resolved: pytorch#130463 Approved by: https://github.com/nmacchioni, https://github.com/mxz297
Test Plan: ad hoc testing
Differential Revision: D59593961
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang