fix out= op handling for functionalization#75818
fix out= op handling for functionalization#75818bdhirsh wants to merge 6 commits intogh/bdhirsh/205/basefrom
Conversation
[ghstack-poisoned]
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 7d744bc (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
[ghstack-poisoned]
[ghstack-poisoned]
Before, we weren't actually propagating the updates from the out= tensors back into the functional wrappers. cc @ZolotukhinM. I also added some more complicated tests for this in functorch here: https://github.com/pytorch/functorch/pull/678/files#diff-449582f4f3e1ae76a73397c4b8ca62cc9dd5235dd831187f143180b498dee332R2896 [ghstack-poisoned]
Before, we weren't actually propagating the updates from the out= tensors back into the functional wrappers. cc @ZolotukhinM. I also added some more complicated tests for this in functorch here: https://github.com/pytorch/functorch/pull/678/files#diff-449582f4f3e1ae76a73397c4b8ca62cc9dd5235dd831187f143180b498dee332R2896 [ghstack-poisoned]
Before, we weren't actually propagating the updates from the out= tensors back into the functional wrappers. cc @ZolotukhinM. I also added some more complicated tests for this in functorch here: https://github.com/pytorch/functorch/pull/678/files#diff-449582f4f3e1ae76a73397c4b8ca62cc9dd5235dd831187f143180b498dee332R2896 [ghstack-poisoned]
|
@bdhirsh has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
@pytorchbot merge this (Initiating merge automatically since Phabricator Diff has merged) |
|
Hey @bdhirsh. |
Summary: Pull Request resolved: #75818 Before, we weren't actually propagating the updates from the out= tensors back into the functional wrappers. cc ZolotukhinM. I also added some more complicated tests for this in functorch here: https://github.com/pytorch/functorch/pull/678/files#diff-449582f4f3e1ae76a73397c4b8ca62cc9dd5235dd831187f143180b498dee332R2896 Test Plan: Imported from OSS Reviewed By: zhxchen17 Differential Revision: D35705377 Pulled By: bdhirsh fbshipit-source-id: 51628dc762b62b9a045ae5bae58eeac2ff408178
Pull Request resolved: #75818 Approved by: https://github.com/ezyang (cherry picked from commit 4c7b4b5)
Before, we weren't actually propagating the updates from the out= tensors back into the functional wrappers. cc @ZolotukhinM. I also added some more complicated tests for this in functorch here: https://github.com/pytorch/functorch/pull/678/files#diff-449582f4f3e1ae76a73397c4b8ca62cc9dd5235dd831187f143180b498dee332R2896
Stack from ghstack:
Differential Revision: D35705377