Use new TensorPipe functions to create channels (#51550)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/51550
ghstack-source-id: 120931213
Test Plan: Export to CircleCI
Reviewed By: beauby
Differential Revision: D26147946
fbshipit-source-id: edd44b5edf7041efcc9662cc3bfc550663976fc1