U
    Jºc×  ã                   @   sN   d dl Z dd„ Zeƒ r(e j ¡ s(edƒ‚eƒ rJddlmZ d dlmZm	Z	 dS )é    Nc                   C   s   t tjdƒS )NÚ_faulty_agent_init)ÚhasattrÚtorchÚ_C© r   r   úK/tmp/pip-unpacked-wheel-gikjz4vx/torch/distributed/rpc/_testing/__init__.pyÚis_available   s    r   z3Failed to initialize torch.distributed.rpc._testingé   )Úfaulty_agent_backend_registry)Ú!FaultyTensorPipeRpcBackendOptionsÚFaultyTensorPipeAgent)
r   r   r   r   ÚRuntimeErrorÚ r
   Z!torch._C._distributed_rpc_testingr   r   r   r   r   r   Ú<module>   s   