Revert D32063662: [pytorch][PR] TST Adds device transfer into module info tests
Test Plan: revert-hammer
Differential Revision:
D32063662 (https://github.com/pytorch/pytorch/commit/da59bd1d131589268227ae2064ad90c43bb3b17d)
Original commit changeset: 0868235a0ae7
fbshipit-source-id: a4f775874faa88be0eb5272dedf3bbc8194ebde6