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 infinite loop in del_post_hook #21914

Closed
wants to merge 1 commit into from
Closed

Fix infinite loop in del_post_hook #21914

wants to merge 1 commit into from

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.

None yet

5 participants