Shortcuts

NonDist

class mmeval.core.dist_backends.NonDist[source]

A dummy distributed communication for non-distributed environment.

all_gather_object(obj: Any)List[Any][source]

Returns the list with given obj in a non-distributed environment.

broadcast_object(obj: Any, src: int = 0)Any[source]

Returns the given obj directly in a non-distributed environment.

property is_initialized: bool

Returns False directly in a non-distributed environment.

property rank: int

Returns 0 as the rank index in a non-distributed environment.

property world_size: int

Returns 1 as the world_size in a non-distributed environment.

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.