Skip to content

Commit

Permalink
fix: init_process_group_dummy() on machines without gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
sehoffmann committed Mar 13, 2024
1 parent f0ed11a commit 3e69580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmlcloud/util/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def init_process_group_dummy():
only run on a single gpu.
"""
store = dist.HashStore()
dist.init_process_group(store=store, rank=0, world_size=1)
dist.init_process_group(store=store, rank=0, world_size=1, backend='gloo')


def init_process_group_MPI(ip_idx=0, port=None, **kwargs):
Expand Down

0 comments on commit 3e69580

Please sign in to comment.