Gh/taylorrobie/import timer fbcode (#52124)
Summary:
`torch.__config__._cxx_flags` gets called on import, but this means that Timer can't be used if it fails. (Even just the wall time parts.) This is needlessly restrictive.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/52124
Reviewed By: albanD
Differential Revision: D26395917
Pulled By: robieta
fbshipit-source-id: 4336a77dba131f80d386368ef715eed63c1cbcb4