Remove outdated warning about RecursiveScriptModule not being copiable (#64085)
authorgmagogsfm <gmagogsfm@gmail.com>
Wed, 1 Sep 2021 04:27:46 +0000 (21:27 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 1 Sep 2021 04:31:32 +0000 (21:31 -0700)
commit479fc4e41250a1710e34cc1dcaa6272c89832fb4
tree29285cf3bd3227e7049fa3abf78ccb347f0bb6cb
parent8337a3fb3f44a536ba40e895dad7441b2f4a59f2
Remove outdated warning about RecursiveScriptModule not being copiable (#64085)

Summary:
RecursiveScriptModule has its customized `__copy__` and `__deepcopy__` defined. The warning/error  that says it is not copiable is outdated

Pull Request resolved: https://github.com/pytorch/pytorch/pull/64085

Reviewed By: rohan-varma

Differential Revision: D30598623

Pulled By: gmagogsfm

fbshipit-source-id: 0701d8617f42d818bc7b88244caee4cd47fbe976
test/test_jit.py
torch/distributed/nn/api/remote_module.py
torch/jit/_script.py
torch/testing/_internal/distributed/nn/api/remote_module_test.py