oneflow.env.get_local_rank

oneflow.env.get_local_rank()

Returns the local rank of current machine. Local rank is not globally unique. It is only unique per process on a machine.

Returns

The the local rank of process on current machine.