get_global_rank#

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

Returns the global rank of the current process, which is on [0; WORLD_SIZE - 1].

Returns

int โ€“ The global rank.