De-deprecate some warnings that hurt usability (#21999)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/21999
ghimport-source-id: a77b3aea3d3ed33f328e143203730f2655371837
Test Plan: Imported from OSS
Differential Revision: D15925892
Pulled By: bwasti
fbshipit-source-id: 2b4e0af40bc1c6d12c617ba8701d3a5f7a6d833d