remove prim::profile and special-casing (#43160)
Summary:
Fixes #{issue number}
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43160
Reviewed By: ZolotukhinM
Differential Revision: D23284421
Pulled By: Krovatkin
fbshipit-source-id: 35e97aad299509a682ae7e95d7cef53301625309