in workload_generator/AIOB_simAI_workload_generator.py [0:0]
def _simAI_microtest_convert(self, comm_type):
if comm_type == "all_reduce" or comm_type == "allreduce":
return "ALLREDUCE"
elif comm_type == "all_gather" or comm_type == "allgather":
return "ALLGATHER"
elif comm_type == "reduce_scatter" or comm_type == "reducescatter":
return "REDUCESCATTER"
elif comm_type == "all_to_all" or comm_type == "alltoall":
return "ALLTOALL"
else:
return