Shortcuts

mmengine.dist.get_local_rank

mmengine.dist.get_local_rank()[source]

Return the rank of current process in the current node.

Returns

Return the rank of current process in the current node if in distributed environment, otherwise 0

Return type

int

Read the Docs v: v0.4.0
Versions
latest
stable
v0.5.0
v0.4.0
v0.3.0
v0.2.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.