Fix in ivalue::Future (#22114)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/22114
ghimport-source-id: 249b76c078e7af8ebb6cab113dd48dbd3e31e8dc
Test Plan:
ran intra_inter_benchmark with PARALLEL_BACKEND=NATIVE build
Imported from OSS
Differential Revision: D15958901
Pulled By: ilia-cher
fbshipit-source-id: 1c3dedc4cf1ff8166aeb26899a06c7287a499562