返回当前进程在MPI通信中的序号。
def get_rank_id()
from mx_rec.util.communication.hccl_ops import get_rank_id rank_id = get_rank_id()