Skip to content
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

RFC-0013: View/Inplace handling on opaque tensors #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented May 7, 2021

With @ailzhang

Rendered

Signed-off-by: Edward Z. Yang ezyang@fb.com

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Comment on lines +1 to +8
## Summary

In the ideal end state, dispatcher should be able to provide an opt-in
kernel to functionalize view & inplace ops. Currently we have a similar
infrastructure in pytorch/xla, but that’s only available on the lazy
traced graph. To make this elimination pass available to FX and Mobile
GPU like other backends that only support opaque tensor storage, this
pass should be lifted up to dispatcher level.
Copy link

Choose a reason for hiding this comment

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

@ailzhang Ed tells me you have a prototype somewhere. Do you have a link to it and is it usable? I'm interested in trying it out on some functorch-related things. Thanks!

Copy link

Choose a reason for hiding this comment

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

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.

None yet

3 participants