Skip to content

Conversation

bdhirsh
Copy link
Contributor

@bdhirsh bdhirsh commented Aug 1, 2023

@bdhirsh bdhirsh requested review from Chillee and ezyang as code owners August 1, 2023 20:33
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 1, 2023

🔗 Helpful Links

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

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

❌ 14 New Failures

As of commit c678f43 with merge base a514536 (image):

NEW FAILURES - The following jobs have failed:

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

…C++ functionalization"

Now that FunctionalTensor and `FunctionalTensorMode` are lower down in this stack, the changes in this PR are more mechanical: Everywhere in AOTAutograd that I used to use the C++ functionalization API, I now use the python functionalization API.

Note that this doesn't actually cause functionalization to run underneath torch_dispatch. I'm saving that re-ordering for later in the stack.




[ghstack-poisoned]
…C++ functionalization"

Now that FunctionalTensor and `FunctionalTensorMode` are lower down in this stack, the changes in this PR are more mechanical: Everywhere in AOTAutograd that I used to use the C++ functionalization API, I now use the python functionalization API.

Note that this doesn't actually cause functionalization to run underneath torch_dispatch. I'm saving that re-ordering for later in the stack.




[ghstack-poisoned]
…C++ functionalization"

Now that FunctionalTensor and `FunctionalTensorMode` are lower down in this stack, the changes in this PR are more mechanical: Everywhere in AOTAutograd that I used to use the C++ functionalization API, I now use the python functionalization API.

Note that this doesn't actually cause functionalization to run underneath torch_dispatch. I'm saving that re-ordering for later in the stack.




[ghstack-poisoned]
…C++ functionalization"

Now that FunctionalTensor and `FunctionalTensorMode` are lower down in this stack, the changes in this PR are more mechanical: Everywhere in AOTAutograd that I used to use the C++ functionalization API, I now use the python functionalization API.

Note that this doesn't actually cause functionalization to run underneath torch_dispatch. I'm saving that re-ordering for later in the stack.




[ghstack-poisoned]
…C++ functionalization"

Now that FunctionalTensor and `FunctionalTensorMode` are lower down in this stack, the changes in this PR are more mechanical: Everywhere in AOTAutograd that I used to use the C++ functionalization API, I now use the python functionalization API.

Note that this doesn't actually cause functionalization to run underneath torch_dispatch. I'm saving that re-ordering for later in the stack.




[ghstack-poisoned]
…C++ functionalization"

Now that FunctionalTensor and `FunctionalTensorMode` are lower down in this stack, the changes in this PR are more mechanical: Everywhere in AOTAutograd that I used to use the C++ functionalization API, I now use the python functionalization API.

Note that this doesn't actually cause functionalization to run underneath torch_dispatch. I'm saving that re-ordering for later in the stack.




[ghstack-poisoned]
…C++ functionalization"

Now that FunctionalTensor and `FunctionalTensorMode` are lower down in this stack, the changes in this PR are more mechanical: Everywhere in AOTAutograd that I used to use the C++ functionalization API, I now use the python functionalization API.

Note that this doesn't actually cause functionalization to run underneath torch_dispatch. I'm saving that re-ordering for later in the stack.




[ghstack-poisoned]
@bdhirsh
Copy link
Contributor Author

bdhirsh commented Sep 22, 2023

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 22, 2023
@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

@malfet
Copy link
Contributor

malfet commented Sep 22, 2023

@pytorchbot revert -m "Broke lots of tests on trunk" -c landrace

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Questions? Feedback? Please reach out to the PyTorch DevX Team

@pytorchmergebot
Copy link
Collaborator

@bdhirsh your PR has been successfully reverted.

pytorchmergebot added a commit that referenced this pull request Sep 22, 2023
… functionalization (#106406)"

This reverts commit b5d6e83.

Reverted #106406 on behalf of https://github.com/malfet due to Broke lots of tests on trunk ([comment](#106406 (comment)))
bdhirsh added a commit that referenced this pull request Sep 22, 2023
… functionalization (#106406)"

previous land broke some inductor trunk tests

This reverts commit 629a628.

[ghstack-poisoned]
bdhirsh added a commit that referenced this pull request Sep 22, 2023
… functionalization (#106406)"

previous land broke some inductor trunk tests

This reverts commit 629a628.

ghstack-source-id: 61eebc1
Pull Request resolved: #109906
@facebook-github-bot facebook-github-bot deleted the gh/bdhirsh/442/head branch September 25, 2023 14:24
pytorchmergebot pushed a commit that referenced this pull request Sep 25, 2023
… functionalization (#106406)" (#109906)

I'm pretty sure this is fixed but I'll run inductor and trunk CI. The failing test in trunk previously was that the selective activation checkpointing code that landed recently assumes that it can detect whether or not AOTAutograd is running by seeing if the inputs to SAC are C++ `FunctionalTensorWrapper`s

previous land broke some inductor trunk tests

This reverts commit 629a628.

Pull Request resolved: #109906
Approved by: https://github.com/ezyang
pytorchmergebot added a commit that referenced this pull request Sep 26, 2023
…d of C++ functionalization (#106406)" (#109906)"

This reverts commit d0fe8fa.

Reverted #109906 on behalf of https://github.com/atalman due to Breaks internal tests ([comment](#109906 (comment)))
bdhirsh added a commit that referenced this pull request Sep 26, 2023
…nstead of C++ functionalization (#106406)" (#109906)"

This reverts commit 1b90f07.

ghstack-source-id: 934adbb
Pull Request resolved: #110079
bdhirsh added a commit that referenced this pull request Sep 26, 2023
…nstead of C++ functionalization (#106406)" (#109906)"

This reverts commit 1b90f07.

[ghstack-poisoned]
bdhirsh added a commit that referenced this pull request Sep 29, 2023
…nstead of C++ functionalization (#106406)" (#109906)"

This reverts commit 1b90f07.

ghstack-source-id: 58d5745
Pull Request resolved: #110079
bdhirsh added a commit that referenced this pull request Sep 29, 2023
… use FunctionalTensorMode instead of C++ functionalization (#106406)" (#109906)""

The first reland broke internal (failing diff: D49617462).

The major error looks like it's because there's an internal-only higher order op that needs a new functionalization rule. I'm going to land an internal diff for that and confirm tests pass before relanding this PR.


This reverts commit 1b90f07.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov

[ghstack-poisoned]
bdhirsh added a commit that referenced this pull request Sep 29, 2023
…ensorMode instead of C++ functionalization (#106406)" (#109906)""

The first reland broke internal (failing diff: D49617462).

The major error looks like it's because there's an internal-only higher order op that needs a new functionalization rule. I'm going to land an internal diff for that and confirm tests pass before relanding this PR.


This reverts commit 1b90f07.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov

[ghstack-poisoned]
bdhirsh added a commit that referenced this pull request Oct 3, 2023
… use FunctionalTensorMode instead of C++ functionalization (#106406)" (#109906)""

The first reland broke internal (failing diff: D49617462).

The major error looks like it's because there's an internal-only higher order op that needs a new functionalization rule. I'm going to land an internal diff for that and confirm tests pass before relanding this PR.

Also confirmed that the issue from #110121 is fixed, and added a test.


This reverts commit 1b90f07.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov

[ghstack-poisoned]
bdhirsh added a commit that referenced this pull request Oct 3, 2023
…nstead of C++ functionalization (#106406)" (#109906)"

This reverts commit 1b90f07.

ghstack-source-id: 6fed21f
Pull Request resolved: #110079
bdhirsh added a commit that referenced this pull request Oct 3, 2023
…ensorMode instead of C++ functionalization (#106406)" (#109906)""

The first reland broke internal (failing diff: D49617462).

The major error looks like it's because there's an internal-only higher order op that needs a new functionalization rule. I'm going to land an internal diff for that and confirm tests pass before relanding this PR.

Also confirmed that the issue from #110121 is fixed, and added a test.


This reverts commit 1b90f07.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov

[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request Oct 3, 2023
…nstead of C++ functionalization (#106406)" (#109906)" (#110079)

The first reland broke internal (failing diff: D49617462).

The major error looks like it's because there's an internal-only higher order op that needs a new functionalization rule. I'm going to land an internal diff for that and confirm tests pass before relanding this PR.

Also confirmed that the issue from #110121 is fixed, and added a test.

This reverts commit 1b90f07.

Pull Request resolved: #110079
Approved by: https://github.com/ezyang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants