Skip to content
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

Fix send to avoid deadlock without inputs does not reqires grad #214

Merged
merged 5 commits into from Apr 19, 2018

Conversation

levelfour
Copy link
Contributor

@levelfour levelfour commented Mar 1, 2018

The current version of chainermn.functions.send will cause deadlock since its backward cannot be called in the case where require_grad of all inputs for send are not set.
I solved simply by adding a dummy variable to inputs of send.

(This PR depends on #213)

@keisukefukuda keisukefukuda self-assigned this Mar 20, 2018
@keisukefukuda
Copy link
Member

Can one of the admins verify this patch?

@kuenishi kuenishi added this to the v1.3.0 milestone Apr 6, 2018
@keisukefukuda keisukefukuda merged commit 3510e3c into chainer:master Apr 19, 2018
@shu65 shu65 added the bug label May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants