Revert "Reland 3rd try [finishing colesbury's PR 100642] Guard on nn.Module dicts and type (#109323)" + Forward fixes + test (#110964)
Summary:
This reverts commit f786fbdebdd24d3a6807e3b9fbf055836db4ad60.
Forward fixes
X-link: https://github.com/pytorch/pytorch/pull/110964
Approved by: https://github.com/ezyang, https://github.com/anijain2305
Reviewed By: kit1980
Differential Revision: D50214065
Pulled By: voznesenskym
fbshipit-source-id: f617730597a05c9de11b8bcbfb68c1766ff7bafe