[TensorPipe] Use Descriptor::Tensor::sourceDevice in tensorpipe_agent. (#55821)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/55821
Test Plan: CI
Reviewed By: lw
Differential Revision: D27661608
fbshipit-source-id: fd241f073d8928528a749758c7d0f570dfeb677b