Skip to content

Conversation

@ljk53
Copy link
Contributor

@ljk53 ljk53 commented Sep 7, 2019

Stack from ghstack:

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:

  • builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: D17247235

…ad is set

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs
@pytorchbot pytorchbot added the module: internals Related to internal abstractions in c10 and ATen label Sep 7, 2019
ljk53 added a commit that referenced this pull request Sep 7, 2019
…ad is set

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

ghstack-source-id: 521f45d
Pull Request resolved: #25817
@ljk53 ljk53 requested review from ezyang and gchanan September 7, 2019 07:14
@ezyang ezyang removed their request for review September 9, 2019 14:24
@ezyang
Copy link
Contributor

ezyang commented Sep 9, 2019

I'm going to leave this one to @gchanan, as this change is by his request.

…able_autograd is set"

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: [D17247235](https://our.internmc.facebook.com/intern/diff/D17247235)
@pytorchbot pytorchbot added caffe2 module: build Build system issues labels Sep 10, 2019
…able_autograd is set"

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: [D17247235](https://our.internmc.facebook.com/intern/diff/D17247235)
…able_autograd is set"

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: [D17247235](https://our.internmc.facebook.com/intern/diff/D17247235)
ljk53 added a commit that referenced this pull request Sep 10, 2019
…ad is set

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

ghstack-source-id: 6d125bb
Pull Request resolved: #25817
…able_autograd is set"

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: [D17247235](https://our.internmc.facebook.com/intern/diff/D17247235)
…able_autograd is set"

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: [D17247235](https://our.internmc.facebook.com/intern/diff/D17247235)
ljk53 added a commit that referenced this pull request Sep 10, 2019
…n codegen if disable_autograd is set"

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: [D17247235](https://our.internmc.facebook.com/intern/diff/D17247235)
…able_autograd is set"

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: [D17247235](https://our.internmc.facebook.com/intern/diff/D17247235)
ljk53 added a commit that referenced this pull request Sep 11, 2019
…n codegen if disable_autograd is set"

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: [D17247235](https://our.internmc.facebook.com/intern/diff/D17247235)
@ljk53
Copy link
Contributor Author

ljk53 commented Sep 11, 2019

…able_autograd is set"

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: [D17247235](https://our.internmc.facebook.com/intern/diff/D17247235)
ljk53 added a commit that referenced this pull request Sep 11, 2019
…n codegen if disable_autograd is set"

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: [D17247235](https://our.internmc.facebook.com/intern/diff/D17247235)
…able_autograd is set"

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: [D17247235](https://our.internmc.facebook.com/intern/diff/D17247235)
ljk53 added a commit that referenced this pull request Sep 11, 2019
…n codegen if disable_autograd is set"

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

Pull Request resolved: #25817

Differential Revision: [D17247235](https://our.internmc.facebook.com/intern/diff/D17247235)
@gchanan
Copy link
Contributor

gchanan commented Sep 16, 2019

so now we have access to AsStridedBackward? That seems good, but do we need to do this in codegen, instead of arranging the files in some way to achieve the same thing more obviously?

@ljk53
Copy link
Contributor Author

ljk53 commented Sep 24, 2019

This PR is mainly to shrink static library size as most code removed by this PR will be removed by linker automatically for dynamic library. As we are ok with the iOS static library build size for now so I think we can abandon this change to avoid adding complexity to the system.

@ljk53 ljk53 closed this Sep 24, 2019
@facebook-github-bot facebook-github-bot deleted the gh/ljk53/37/head branch October 28, 2019 22:16
xxtEchjovs44 pushed a commit to xxtEchjovs44/pytorch that referenced this pull request Jan 29, 2020
…ad is set

Summary:
As discussed on PR #25697 - to remove autograd/functions.* without using
intrusive #if/#else we need whitelist "AsStridedBackward" used by variable.cpp.

Test Plan:
- builds and runs with stacked diffs

ghstack-source-id: 3a1b5ee
Pull Request resolved: pytorch/pytorch#25817
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

caffe2 module: build Build system issues module: internals Related to internal abstractions in c10 and ATen

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants