Shortcuts

TorchCPUDist

class mmeval.core.dist_backends.TorchCPUDist[source]

A cpu distributed communication backend for torch.distributed.

property is_initialized: bool

Returns True if the distributed environment has been initialized.

Returns

Returns True if the distributed environment has been initialized, otherwise returns False.

Return type

bool

property rank: int

Returns the rank index of the current process group.

property world_size: int

Returns the world size of the current process group.

Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.