Пример #1
0
 def get_engine(self):
     return DistributedDataParallelEngine(port=DDP_ADDRESS +
                                          random.randint(1, 100))
Пример #2
0
 def get_engine(self):
     return DistributedDataParallelEngine(
         port=DDP_ADDRESS + random.randint(1, 100),
         process_group_kwargs={"backend": "nccl"})
Пример #3
0
def test_ddp_load_on_stage_start():
    with TemporaryDirectory() as logdir:
        runner = CustomRunner(logdir, DistributedDataParallelEngine())
        runner.run()