mapping_networks.distributed.is_ddp_available

mapping_networks.distributed.is_ddp_available() bool

Return True if torch.distributed is 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:

True when distributed training is supported.