Remove `Optional[None]` annotations (#60704)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/60704
Test Plan: Imported from OSS
Reviewed By: jamesr66a
Differential Revision: D29380281
Pulled By: ansley
fbshipit-source-id: 055c17329a35375de4ebd058ee6d127475aad373