Spaces:
Running
on
Zero
Running
on
Zero
NIRVANALAN
commited on
Commit
•
0492152
1
Parent(s):
14db06e
update
Browse files
guided_diffusion/dist_util.py
CHANGED
@@ -65,7 +65,7 @@ def setup_dist(args):
|
|
65 |
|
66 |
# dist.init_process_group(backend='nccl', init_method='env://', rank=args.local_rank, world_size=th.cuda.device_count(), timeout=datetime.timedelta(seconds=5400))
|
67 |
# st() no mark
|
68 |
-
dist.init_process_group(backend='
|
69 |
print(f"{args.local_rank=} init complete")
|
70 |
|
71 |
# synchronize() # extra memory on rank 0, why?
|
|
|
65 |
|
66 |
# dist.init_process_group(backend='nccl', init_method='env://', rank=args.local_rank, world_size=th.cuda.device_count(), timeout=datetime.timedelta(seconds=5400))
|
67 |
# st() no mark
|
68 |
+
dist.init_process_group(backend='gloo', init_method='env://', timeout=datetime.timedelta(seconds=54000))
|
69 |
print(f"{args.local_rank=} init complete")
|
70 |
|
71 |
# synchronize() # extra memory on rank 0, why?
|