Skip to content

Conversation

@kuttas
Copy link

@kuttas kuttas commented Jun 18, 2019

Stack:
    :black_circle:  #21914 Fix infinite loop in del_post_hook  💛

#21591 added a needed feature to clean up grad accumulator post hooks when the DistributedDataParallel model object is cleaned up. There's a minor typo that causes it to loop infinitely over the first element.

Differential Revision: D15878884

Differential Revision: D15878884
Differential Version: 85132464
@pytorchbot pytorchbot added the module: autograd Related to torch.autograd, and the autograd engine in general label Jun 18, 2019
@kuttas kuttas requested review from mrshenli and pietern June 18, 2019 17:54
@kuttas
Copy link
Author

kuttas commented Jun 18, 2019

Test failures appear to be test infra failures; diff is trivial and fixes a clear bug; going to land to fbsource

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 94c61d4.

@ezyang ezyang deleted the export-D15878884 branch July 19, 2019 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: autograd Related to torch.autograd, and the autograd engine in general

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants