Guard TensorPipe agent by USE_TENSORPIPE (#42682)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/42682
ghstack-source-id: 109834351
Test Plan: CI
Reviewed By: malfet
Differential Revision: D22978717
fbshipit-source-id: 18b7cbdb532e78ff9259e82f0f92ad279124419d