pytorch/torch/testing/_internal
Rohan Varma c3f2f3294e [RPC] Add option to make rref.get_type not block. (#50977)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/50977

Adds a `blocking` flag that can be set to False to make this API return a `Future` to the type. This is to make this function non-blocking, mostly for a future change that will allow `rref.rpc_async()` to be completely non-blocking (it currently calls and waits for this function that issues an RPC in-line).
ghstack-source-id: 121021433

Test Plan: Modified UT

Reviewed By: mrshenli

Differential Revision: D25944582

fbshipit-source-id: e3b48a52af2d4578551a30ba6838927b489b1c03
2021-02-04 20:18:50 -08:00
..
codegen Enable CUDA Fuser for ROCm (#45965) 2020-10-08 10:41:56 -07:00
data remediation of S205607 2020-07-17 17:19:47 -07:00
distributed [RPC] Add option to make rref.get_type not block. (#50977) 2021-02-04 20:18:50 -08:00
generated remediation of S205607 2020-07-17 17:19:47 -07:00
test_module Drop unused imports (#49972) 2021-01-13 12:26:17 -08:00
__init__.py remediation of S205607 2020-07-17 17:19:47 -07:00
autocast_test_lists.py [PyTorch] Enable type check for autocast_test_lists (#45107) 2020-09-22 16:54:26 -07:00
common_cuda.py Enable BFloat support for gemms on arch other than ampere (#50442) 2021-01-26 11:07:07 -08:00
common_device_type.py OpInfo: Add DecorateInfo class similar to SkipInfo for decorators (#50501) 2021-01-25 04:51:04 -08:00
common_distributed.py Let TensorPipe detect peer access (#50676) 2021-01-20 08:04:51 -08:00
common_jit.py OpInfo JIT op.output_func handling support (#50775) 2021-01-27 15:04:23 -08:00
common_methods_invocations.py Add division overload with rounding_mode selection (#51706) 2021-02-04 13:08:36 -08:00
common_nn.py Enable rocm tests in common nn (#51227) 2021-01-29 12:54:04 -08:00
common_quantization.py compare_model_stub_fx API implementation (#48951) 2021-02-01 22:16:14 -08:00
common_quantized.py [quant] Quantizable LSTM (#49671) 2020-12-30 15:21:38 -08:00
common_utils.py Add division overload with rounding_mode selection (#51706) 2021-02-04 13:08:36 -08:00
dist_utils.py [RPC profiling] Extend RPC profiling to support async function execution over RPC. (#44664) 2020-09-25 13:19:26 -07:00
expecttest.py Fix test_dispatch.py when running with TORCH_SHOW_CPP_STACKTRACES=1 (#50509) 2021-01-20 10:15:01 -08:00
hypothesis_utils.py [quant] conv_transpose1d_prepack / conv_transpose1d_unpack (#40360) 2020-09-11 04:12:28 -07:00
jit_metaprogramming_utils.py Linear autodiff revert revert (#51613) 2021-02-04 16:32:05 -08:00
jit_utils.py Workaround Python3.9 limitations in test_jit_py3 (#51088) 2021-01-26 12:49:35 -08:00
mypy_wrapper.py [reland] Refactor mypy configs list into editor-friendly wrapper (#50826) 2021-01-26 09:04:14 -08:00
te_utils.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00