Shortcuts

PaddleDist

class mmeval.core.dist_backends.PaddleDist[source]

A distributed communication backend for paddle.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.