在train文件中加入: import torch.distributed as dist dist.init_process_group('gloo', init_method='file:///tmp/somefile', rank=0, world_size=1)
AssertionError: Default process group is not initialized
最新推荐文章于 2024-08-22 11:00:23 发布
在train文件中加入: import torch.distributed as dist dist.init_process_group('gloo', init_method='file:///tmp/somefile', rank=0, world_size=1)