Skip to content

Conversation

@suo
Copy link
Member

@suo suo commented Jul 3, 2019

Stack from ghstack:

This breaks the ownership cycle between modules and their functions.

gh-metadata: pytorch pytorch 22504 gh/suo/77/head

Differential Revision: D16121782

[WIP] classtypes hold weak_ptr

gh-metadata: pytorch pytorch 22504 gh/suo/77/head
suo added 2 commits July 4, 2019 10:46
[WIP] classtypes hold weak_ptr

gh-metadata: pytorch pytorch 22504 gh/suo/77/head
[WIP] classtypes hold weak_ptr

gh-metadata: pytorch pytorch 22504 gh/suo/77/head
[jit] Make classtypes hold a weak_ptr to their CU

This breaks the ownership cycle between modules and their functions.

gh-metadata: pytorch pytorch 22504 gh/suo/77/head
@suo suo changed the title [WIP] classtypes hold weak_ptr [jit] Make classtypes hold a weak_ptr to their CU Jul 10, 2019
suo added 3 commits July 10, 2019 16:41
[jit] Make classtypes hold a weak_ptr to their CU

This breaks the ownership cycle between modules and their functions.

gh-metadata: pytorch pytorch 22504 gh/suo/77/head
[jit] Make classtypes hold a weak_ptr to their CU

This breaks the ownership cycle between modules and their functions.

gh-metadata: pytorch pytorch 22504 gh/suo/77/head
[jit] Make classtypes hold a weak_ptr to their CU

This breaks the ownership cycle between modules and their functions.

gh-metadata: pytorch pytorch 22504 gh/suo/77/head
@suo suo closed this Jul 11, 2019
@facebook-github-bot facebook-github-bot deleted the gh/suo/77/head branch October 28, 2019 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: cpp Related to C++ API module: internals Related to internal abstractions in c10 and ATen module: pybind Related to our Python bindings / interactions with other Python libraries 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