Skip to content

inductor(CPU): skip weight packing when autocast is enabled#100844

Closed
XiaobingSuper wants to merge 1 commit intogh/XiaobingSuper/110/basefrom
gh/XiaobingSuper/110/head
Closed

inductor(CPU): skip weight packing when autocast is enabled#100844
XiaobingSuper wants to merge 1 commit intogh/XiaobingSuper/110/basefrom
gh/XiaobingSuper/110/head

Conversation

@XiaobingSuper
Copy link
Copy Markdown
Collaborator

@XiaobingSuper XiaobingSuper commented May 8, 2023

Stack from ghstack (oldest at bottom):

Currently, the packed op doesn't support autocast and the packing path happened before AOTAutograd, which changes the default autocast behavior. Now, we disable the packing path, and the bfloat16 packing path can work after we move this path after AOTAutograd(I will do it after #100652 is done).

cc @soumith @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @peterbell10 @desertfire

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented May 8, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit c381b07:
💚 Looks good so far! There are no failures yet. 💚

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

Copy link
Copy Markdown
Collaborator

@jgong5 jgong5 left a comment

Choose a reason for hiding this comment

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

Please elaborate the motivation and future plan in the description.

@XiaobingSuper XiaobingSuper requested review from desertfire and jansel May 8, 2023 02:11
@XiaobingSuper XiaobingSuper added the ciflow/trunk Trigger trunk jobs on your pull request label May 8, 2023
@XiaobingSuper
Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge

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

@facebook-github-bot facebook-github-bot deleted the gh/XiaobingSuper/110/head branch June 8, 2023 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants