get_local_rank#

composer.utils.dist.get_local_rank()[source]#

Returns the local rank for the current process, which is on [0; LOCAL_WORLD_SIZE - 1].

Returns

int โ€“ The local rank.