fixes multiprocessing serialization for integer nn.Parameter (#18639)
authorSoumith Chintala <soumith@gmail.com>
Tue, 2 Apr 2019 00:07:27 +0000 (17:07 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 2 Apr 2019 00:15:42 +0000 (17:15 -0700)
commit2e029db2f9a70959c0ba831d9d13e344ddab3c57
tree3653e20326343ce46ddc37ed95f8c1ad24f0cb0a
parentfc6296d7775a44b65ff83ae64d9804b69e08f5d3
fixes multiprocessing serialization for integer nn.Parameter (#18639)

Summary:
Fixes https://github.com/pytorch/pytorch/issues/17345
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18639

Differential Revision: D14711565

Pulled By: soumith

fbshipit-source-id: 0063ed138a215b95d6571dcd68b18569714abe19
test/test_multiprocessing.py
torch/multiprocessing/reductions.py