Replaced whitelist with allowlist (#45796)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/41752
Pull Request resolved: https://github.com/pytorch/pytorch/pull/45796
Reviewed By: dzhulgakov
Differential Revision: D24125214
Pulled By: VitalyFedyunin
fbshipit-source-id: 5b06c1fdaa90a60e8a6efc2e61f37fd647cf0ae7