Replace whitelist with allowlist (#42067)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/41757
I've replaced all the whitelist with allowlist for this issue.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/42067
Reviewed By: pbelevich
Differential Revision: D22791690
Pulled By: malfet
fbshipit-source-id: 638c13cf49915f5c83bd79c7f4a39b8390cc15b4