add fmt to libtorch_python.so (#37560)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/37560
Test Plan: Imported from OSS
Differential Revision: D21320059
Pulled By: suo
fbshipit-source-id: 95cfe7cf26c515fdfcb4621cc58266d838a38a3e