Make rref fetch calls async. (#31086)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/31086
This change leverages the new future response framework so that server
threads don't block until setValue is called. Particulurly, we add a
getFuture() method to OwnerRRef so that we get a future that is satisfied
once setValue is called.
ghstack-source-id: 95402273
Test Plan: buck test mode/dev-nosan caffe2/test/...
Differential Revision: D18925272
fbshipit-source-id: 2caf51019e5b5fd7ec45539544780067deb28610