is_initialized (original) (raw)

Toggle site navigation sidebar

Composer

Toggle table of contents sidebar

Back to top

Edit this page

Toggle table of contents sidebar

composer.utils.dist.is_initialized()[source]#

Returns whether PyTorch distributed is initialized.

See also

torch.distributed.is_initialized()

Returns

bool – Whether PyTorch distributed is initialized.