mapping_networks.distributed.is_ddp_available¶
- mapping_networks.distributed.is_ddp_available() bool¶
Return True if
torch.distributedis available on this system.This checks both the compiled-in backend support and whether the runtime can be initialized (it does not call
init_process_group).- Returns:
Truewhen distributed training is supported.