Skip to content

Buffer python warning to avoid deadlocks #26613

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

Closed
wants to merge 27 commits into from

Conversation

albanD
Copy link
Collaborator

@albanD albanD commented Sep 22, 2019

Stack from ghstack:

Differential Revision: D18249633

@pytorchbot pytorchbot added oncall: jit Add this issue/PR to JIT oncall triage queue module: internals Related to internal abstractions in c10 and ATen module: operators labels Sep 22, 2019
@albanD albanD changed the title Buffer python warning to avoid deadlocks [WIP] Buffer python warning to avoid deadlocks Sep 22, 2019
albanD added a commit to albanD/pytorch that referenced this pull request Oct 1, 2019
ghstack-source-id: 51c0e66
Pull Request resolved: pytorch#26613
@albanD albanD changed the title [WIP] Buffer python warning to avoid deadlocks Buffer python warning to avoid deadlocks Oct 1, 2019
@albanD albanD requested a review from ezyang October 1, 2019 19:22
@ezyang
Copy link
Contributor

ezyang commented Oct 2, 2019

You need to rebase to master to fix build failures

albanD added a commit to albanD/pytorch that referenced this pull request Oct 2, 2019
ghstack-source-id: 33b5bc7
Pull Request resolved: pytorch#26613
@ezyang
Copy link
Contributor

ezyang commented Oct 2, 2019

Looks good. Just some C++ bits; I also wanna know what the locking strategy is.

albanD added a commit to albanD/pytorch that referenced this pull request Oct 2, 2019
ghstack-source-id: 9d1a3d6
Pull Request resolved: pytorch#26613
@ezyang
Copy link
Contributor

ezyang commented Oct 15, 2019

Don't forget to request re-review (click the little circle arrow icon next to the reviewer) when you want rereview

@@ -70,6 +70,8 @@ RECURSIVE = YES
# Blacklist certain file patterns from the INPUT section.
EXCLUDE = ../../../torch/csrc/api/include/torch/nn/pimpl-inl.h \
../../../torch/csrc/api/include/torch/detail
# Increase the max node size for our large files
DOT_GRAPH_MAX_NODES = 100
Copy link
Contributor

Choose a reason for hiding this comment

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

don't put this in an unrelated diff, this is what stacks are for!! Cross referencing with #29041

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is actually related. the cpp docs does not build for Exception.h without this.
See build failures on the previous commit here: https://github.com/pytorch/pytorch/runs/284960182

albanD added a commit to albanD/pytorch that referenced this pull request Nov 4, 2019
ghstack-source-id: 2e5cc52
Pull Request resolved: pytorch#26613
albanD added a commit to albanD/pytorch that referenced this pull request Nov 6, 2019
ghstack-source-id: 29f87d8
Pull Request resolved: pytorch#26613
@facebook-github-bot
Copy link
Contributor

@albanD merged this pull request in 9b875e1.

@facebook-github-bot facebook-github-bot deleted the gh/albanD/1/head branch November 11, 2019 15:16
xxtEchjovs44 pushed a commit to xxtEchjovs44/pytorch that referenced this pull request Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merged module: internals Related to internal abstractions in c10 and ATen oncall: jit Add this issue/PR to JIT oncall triage queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants