[FX] Allow tracing free functions (#46268)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/46268
Test Plan: Imported from OSS
Reviewed By: dzhulgakov
Differential Revision: D24283019
Pulled By: jamesr66a
fbshipit-source-id: 938322e13a16386ac931a666f4eecfc4d9c68a5a