Shortcuts

OneFlowDist

class mmeval.core.dist_backends.OneFlowDist[源代码]

A distributed communication backend for oneflow.

property is_initialized: bool

Returns True if the distributed environment has been initialized.

返回

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

返回类型

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.