Unify assignment of OwnerRRef result (#57856)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57856
Thanks to Futures providing a "common language" between various steps, we can now deduplicate the creation of OwnerRRef, by having two different ways of creating the result (JIT and Python) but then connecting them to a single method that wraps and stores that result in an OwnerRRef.
ghstack-source-id: 129567072
Test Plan: CI
Reviewed By: mrshenli
Differential Revision: D28253845
fbshipit-source-id: a156e56cac60eb22f557c072b61ebac421cfad43