Skip to content

Remove python_default_init completely from ATen and Codegen#13149

Closed
wanchaol wants to merge 2 commits intopytorch:masterfrom
wanchaol:default_init
Closed

Remove python_default_init completely from ATen and Codegen#13149
wanchaol wants to merge 2 commits intopytorch:masterfrom
wanchaol:default_init

Conversation

@wanchaol
Copy link
Collaborator

@wanchaol wanchaol commented Oct 25, 2018

This PR is a follow up of #12582 , it removes python_default_init completely from ATen and the codegen, and utilize our c10::optional if possible.

@wanchaol wanchaol force-pushed the default_init branch 3 times, most recently from 89198c7 to a2cc6d3 Compare November 5, 2018 19:34
@wanchaol wanchaol changed the title [WIP] Remove python_default_init completely, refactor aten to use optional Remove python_default_init completely, refactor aten to use optional Nov 5, 2018
@wanchaol wanchaol changed the title Remove python_default_init completely, refactor aten to use optional Remove python_default_init completely from ATen and Codegen Nov 5, 2018
@wanchaol wanchaol added the oncall: jit Add this issue/PR to JIT oncall triage queue label Nov 5, 2018

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@wanchaol
Copy link
Collaborator Author

close this in favor of #15234

@wanchaol wanchaol closed this Dec 14, 2018
jspark1105 pushed a commit to jspark1105/pytorch that referenced this pull request Dec 20, 2018
Summary:
Optional clean up. This PR remove python_default_init from the yaml files, and the code-gen, and utilize optional type to do the work.

This also fix the bug in the pytorch#13149 to correctly adopt as_strided backward.

Fixes pytorch#9941
Pull Request resolved: pytorch#15234

Differential Revision: D13502044

Pulled By: wanchaol

fbshipit-source-id: 774b61fc4414482cf11d56e22bd0275aefb352a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants