Revert "remove dead torch_pb.h library (#97323)"
This reverts commit 364d92f9b6864ce284fa13519c7ca5c87460e477.
Reverted https://github.com/pytorch/pytorch/pull/97323 on behalf of https://github.com/malfet due to Reverting as PR dependent on https://github.com/pytorch/pytorch/pull/97322 that has been reverted