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
[PyTorch] AOTI: Emit CACHED_TORCH_TYPE only as needed #113997
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Avoids potential compatibility issues where a new dtype is supported by the DSO but not the binary loading it. Differential Revision: [D51434335](https://our.internmc.facebook.com/intern/diff/D51434335/) [ghstack-poisoned]
swolchok
added a commit
that referenced
this pull request
Nov 17, 2023
Avoids potential compatibility issues where a new dtype is supported by the DSO but not the binary loading it. Differential Revision: [D51434335](https://our.internmc.facebook.com/intern/diff/D51434335/) ghstack-source-id: 207904395 Pull Request resolved: #113997
This was referenced Nov 15, 2023
int3
approved these changes
Nov 18, 2023
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.
Thanks!
Avoids potential compatibility issues where a new dtype is supported by the DSO but not the binary loading it. Differential Revision: [D51434335](https://our.internmc.facebook.com/intern/diff/D51434335/) cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
This was referenced Nov 28, 2023
Avoids potential compatibility issues where a new dtype is supported by the DSO but not the binary loading it. Differential Revision: [D51434335](https://our.internmc.facebook.com/intern/diff/D51434335/) cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
pytorchmergebot
pushed a commit
that referenced
this pull request
Nov 29, 2023
All the other tests use self.device, so this seems like an oversight? Cost me a lot of time debugging the minimal arrayref interface, which is only intended for CPU. Differential Revision: [D50949928](https://our.internmc.facebook.com/intern/diff/D50949928/) Pull Request resolved: #112797 Approved by: https://github.com/chenyang78, https://github.com/desertfire, https://github.com/khabinov ghstack dependencies: #113997
vfdev-5
pushed a commit
to vfdev-5/pytorch
that referenced
this pull request
Nov 29, 2023
Avoids potential compatibility issues where a new dtype is supported by the DSO but not the binary loading it. Differential Revision: [D51434335](https://our.internmc.facebook.com/intern/diff/D51434335/) Pull Request resolved: pytorch#113997 Approved by: https://github.com/int3
vfdev-5
pushed a commit
to vfdev-5/pytorch
that referenced
this pull request
Nov 29, 2023
…112797) All the other tests use self.device, so this seems like an oversight? Cost me a lot of time debugging the minimal arrayref interface, which is only intended for CPU. Differential Revision: [D50949928](https://our.internmc.facebook.com/intern/diff/D50949928/) Pull Request resolved: pytorch#112797 Approved by: https://github.com/chenyang78, https://github.com/desertfire, https://github.com/khabinov ghstack dependencies: pytorch#113997
int3
added a commit
that referenced
this pull request
Dec 2, 2023
…pport)" This is a backout of #113747 which reverted the above two commits. Now that #113997 has landed, this diff can be landed safely without breaking ABI compatibility. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
pytorchmergebot
pushed a commit
that referenced
this pull request
Dec 2, 2023
…4974) This is a backout of #113747 which reverted the above two commits. Now that #113997 has landed, this diff can be landed safely without breaking ABI compatibility. Pull Request resolved: #114974 Approved by: https://github.com/chenyang78
hyperfraise
pushed a commit
to hyperfraise/pytorch
that referenced
this pull request
Dec 21, 2023
… support) (pytorch#114974) This is a backout of pytorch#113747 which reverted the above two commits. Now that pytorch#113997 has landed, this diff can be landed safely without breaking ABI compatibility. Pull Request resolved: pytorch#114974 Approved by: https://github.com/chenyang78
hyperfraise
pushed a commit
to hyperfraise/pytorch
that referenced
this pull request
Dec 21, 2023
… support) (pytorch#114974) This is a backout of pytorch#113747 which reverted the above two commits. Now that pytorch#113997 has landed, this diff can be landed safely without breaking ABI compatibility. Pull Request resolved: pytorch#114974 Approved by: https://github.com/chenyang78
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
Avoids potential compatibility issues where a new dtype is supported by the DSO but not the binary loading it.
Differential Revision: D51434335
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @aakhundov @ColinPeppler