Revert "Fix BytesWarning in torch.load() (#74813)"
This reverts commit 6c2e8119ddcafaf9cef31675d6c49559921d8bbc.
Reverted https://github.com/pytorch/pytorch/pull/74813 on behalf of https://github.com/janeyx99 due to Broke slow tests in cuda 10.2 https://github.com/pytorch/pytorch/runs/6944238177?check_suite_focus=true