Skip to content

Conversation

@eellison
Copy link
Contributor

@eellison eellison commented Dec 2, 2024

Stack from ghstack (oldest at bottom):

Should fix compile time regression, it was doing fairly expensive meta programming in init and being instantiated multiple times.

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

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 2, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit bdb68c6 with merge base 43afaa4 (image):
💚 Looks good so far! There are no failures yet. 💚

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

[ghstack-poisoned]
[ghstack-poisoned]
@eellison eellison requested review from ezyang and laithsakka and removed request for ezyang and laithsakka December 2, 2024 16:37
[ghstack-poisoned]
eellison added a commit that referenced this pull request Dec 2, 2024
ghstack-source-id: 2abc2a6
Pull Request resolved: #141882
@eellison eellison changed the title Do class metaprogramming once instead of in __init__ Make Dtypepropagation singleton Dec 2, 2024
@eellison eellison requested review from ezyang and laithsakka December 2, 2024 17:46
@eellison
Copy link
Contributor Author

eellison commented Dec 2, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Dec 2, 2024
@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 Dec 4, 2024
- Set the dtype of "acc" appropriately so that epilogue fusion will have args with dtype
- Update dtype propagation to use `type_to_dtype` instead of instantiating tensor
- Throw if we have a string arg where we should have a proper CSEVariable, unless we're doing the Modification Subgraph thing which is nyi. everything else is appropriately typed (cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov @drisspg ).

Pull Request resolved: #141991
Approved by: https://github.com/drisspg
ghstack dependencies: #139945, #140057, #141495, #141882
pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
Should fix compile time regression, it was doing fairly expensive meta programming in init and being instantiated multiple times.

Pull Request resolved: pytorch#141882
Approved by: https://github.com/ezyang
ghstack dependencies: pytorch#139945, pytorch#140057, pytorch#141495
pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
- Set the dtype of "acc" appropriately so that epilogue fusion will have args with dtype
- Update dtype propagation to use `type_to_dtype` instead of instantiating tensor
- Throw if we have a string arg where we should have a proper CSEVariable, unless we're doing the Modification Subgraph thing which is nyi. everything else is appropriately typed (cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov @drisspg ).

Pull Request resolved: pytorch#141991
Approved by: https://github.com/drisspg
ghstack dependencies: pytorch#139945, pytorch#140057, pytorch#141495, pytorch#141882
AmdSampsa pushed a commit to AmdSampsa/pytorch that referenced this pull request Dec 9, 2024
- Set the dtype of "acc" appropriately so that epilogue fusion will have args with dtype
- Update dtype propagation to use `type_to_dtype` instead of instantiating tensor
- Throw if we have a string arg where we should have a proper CSEVariable, unless we're doing the Modification Subgraph thing which is nyi. everything else is appropriately typed (cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov @drisspg ).

Pull Request resolved: pytorch#141991
Approved by: https://github.com/drisspg
ghstack dependencies: pytorch#139945, pytorch#140057, pytorch#141495, pytorch#141882
@github-actions github-actions bot deleted the gh/eellison/732/head branch January 3, 2025 02:06
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