pytorch/torch/distributed/rpc
Nikita Shulga 5075df6fee Make torch importable if compiled without TensorPipe (#154382)
By delaying the import/hiding it behind `torch.distributed.rpc.is_tensorpipe_avaiable()` check
Fixes https://github.com/pytorch/pytorch/issues/154300

Pull Request resolved: https://github.com/pytorch/pytorch/pull/154382
Approved by: https://github.com/Skylion007
ghstack dependencies: #154325
2025-05-27 18:13:38 +00:00
..
_testing
__init__.py Make torch importable if compiled without TensorPipe (#154382) 2025-05-27 18:13:38 +00:00
_utils.py Make torch importable if compiled without TensorPipe (#154382) 2025-05-27 18:13:38 +00:00
api.py Make torch importable if compiled without TensorPipe (#154382) 2025-05-27 18:13:38 +00:00
backend_registry.py
constants.py
functions.py
internal.py
options.py Make torch importable if compiled without TensorPipe (#154382) 2025-05-27 18:13:38 +00:00
rref_proxy.py
server_process_global_profiler.py Document poison fork note for accelerator APIs (#147507) 2025-04-10 02:37:37 +00:00