from local
This commit is contained in:
parent
8afcd618c6
commit
b98df53225
Binary file not shown.
@ -1350,9 +1350,9 @@ def main():
|
||||
world_size = args.world_size
|
||||
assert world_size >= 1
|
||||
if world_size > 1:
|
||||
mp.spawn(run, args=(world_size, args), nprocs=world_size, join=True)
|
||||
mp.spawn(run, args=(world_size, args, wb), nprocs=world_size, join=True)
|
||||
else:
|
||||
run(rank=0, world_size=1, args=args)
|
||||
run(rank=0, world_size=1, args=args, wb=wb)
|
||||
|
||||
|
||||
torch.set_num_threads(1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user