Revert D30745921: [DDP] Fix when buffers are reassigned in module
authorHoward Huang <howardhuang@fb.com>
Thu, 9 Sep 2021 15:20:40 +0000 (08:20 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 9 Sep 2021 15:23:16 +0000 (08:23 -0700)
commit459653a0f68098821d2ad2f3ff03759b595b4e9f
tree1021851a454f835c1b43b28fecedc97bad63e034
parent5bc53ac5ef9a14ea41dc01c78055e3382f996e57
Revert D30745921: [DDP] Fix when buffers are reassigned in module

Test Plan: revert-hammer

Differential Revision:
D30745921 (https://github.com/pytorch/pytorch/commit/d59ecc02df70bad2273858c2fad2b4993133a3d3)

Original commit changeset: 25eb1edbf445

fbshipit-source-id: 343ead86bf1e2d0b2d4124be331ea2fa437303ad
torch/nn/parallel/distributed.py
torch/testing/_internal/distributed/distributed_test.py