megengine.distributed.backend

backend = <property object>

Get or set backend of collective communication. Available backends are [‘nccl’, ‘rccl’]

Examples

import megengine.distributed as dist
dist.backend = "nccl"