Skip to content

Move VariableHooksInterface to ATen/core#11273

Closed
ezyang wants to merge 5 commits intoexport-D9654871from
export-D9656548
Closed

Move VariableHooksInterface to ATen/core#11273
ezyang wants to merge 5 commits intoexport-D9654871from
export-D9656548

Conversation

@ezyang
Copy link
Contributor

@ezyang ezyang commented Sep 5, 2018

Stack:
    :white_circle:  #11250 Rename getMaybeVariableType back to getType.  💚
    :white_circle:  #11270 Move ATen/Registry.h to ATen/core/Registry.h  💚
    :black_circle:  #11273 Move VariableHooksInterface to ATen/core  💚
    :white_circle:  #11274 Move the type registry out of Context, into LegacyTypeDispatch.  💛
    :white_circle:  #11331 Improve LegacyTypeDispatch to handle initialization correctly.  💛

This one might strike you as a bit surprising, but it's necessary
to expose this interface in ATen/core, because we need to be
able to get a true Variable type from Variable tensors, and
to do that we need to go through the hooks interface.

Differential Revision: D9656548

Differential Revision: D9656548
Differential Version: 56952265
Copy link
Contributor

@gchanan gchanan left a comment

Choose a reason for hiding this comment

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

I'm kind of surprised this isn't in core/detail.

Differential Revision: D9656548
Differential Version: 57069503
Differential Revision: D9656548
Differential Version: 57070632
Differential Revision: D9656548
Differential Version: 57071082
Differential Revision: D9656548
Differential Version: 57150327
zdevito pushed a commit to zdevito/ATen that referenced this pull request Sep 7, 2018
Summary:
Pull Request resolved: pytorch/pytorch#11273

This one might strike you as a bit surprising, but it's necessary
to expose this interface in ATen/core, because we need to be
able to get a true Variable type from Variable tensors, and
to do that we need to go through the hooks interface.

Reviewed By: gchanan

Differential Revision: D9656548

fbshipit-source-id: 28bb5aee6ac304e8cd5fa1e4c65452c336647161
PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary:
Pull Request resolved: pytorch#11273

This one might strike you as a bit surprising, but it's necessary
to expose this interface in ATen/core, because we need to be
able to get a true Variable type from Variable tensors, and
to do that we need to go through the hooks interface.

Reviewed By: gchanan

Differential Revision: D9656548

fbshipit-source-id: 28bb5aee6ac304e8cd5fa1e4c65452c336647161
@soumith soumith deleted the export-D9656548 branch February 21, 2019 23:25
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants