mindscience.distributed.manager.get_context_parallel_rank

mindscience.distributed.manager.get_context_parallel_rank()[source]

Get the context parallel rank of the current process.

Returns

int. The rank of the current process within the context parallel group.